php case sensitivity sample

PHP programming
admin
Site Admin
Posts:7390
Joined:Wed Mar 13, 2019 6:42 am
Contact:
php case sensitivity sample

Post by admin » Sat Apr 27, 2019 8:17 pm

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

Post Reply