0

Sting data type qustion

Plese see below qustion and tell true or falls 1).. $x = ' This is text ' ; (TRUE or FALSE) 2).. $x = " This is text " ; (TRUE or FALSE) 3)... $x = " 1.2.3.4.5 6 7 " ; (TRUE or FALSE) 4)... $x = '-1. -2.-3.-4' ; (TRUE or FALSE) 5)... $x = '12345678' ; (TRUE or FALSE) plese say which is true or false

29th Aug 2016, 3:48 PM
vinay
vinay - avatar
3 Réponses
0
if you mean all are string, all are true
29th Aug 2016, 6:10 PM
francis
0
i think 2 is right. because quotes for strings.
31st Aug 2016, 10:11 PM
HawkEye
HawkEye - avatar
0
all are strings. hence all are true
5th Sep 2016, 2:40 AM
Ayaz Muttaqui
Ayaz Muttaqui - avatar