I keep forgetting this so many times that I need to make a note of this. This is how you use it:
$ php -a
Interactive shell
php > $a='hello world';
php > echo $a;
hello world
Don’t forget the semicolons and remember PHP variables start with a $
I keep forgetting this so many times that I need to make a note of this. This is how you use it:
$ php -a
Interactive shell
php > $a='hello world';
php > echo $a;
hello world
Don’t forget the semicolons and remember PHP variables start with a $