Page 1 of 1

php case sensitivity sample

Posted: Sat Apr 27, 2019 8:17 pm
by admin
Yeah it is true that PHP is a case sensitive language. Try out the following example:
<html> <body> <? $capital = 67; print("Variable capital is $capital<br>"); print("Variable CaPiTaL is $CaPiTaL<br>"); ?> </body> </html>
This will produce the following result:
Variable capital is 67 Variable CaPiTaL is