A really simple, still useful tip for php developers.
It is possible to execute a php command directly from the command line by doing the following:
php -r 'COMMAND'
For example:
php -r 'echo substr("hello world", 6);'
Enjoy!
A really simple, still useful tip for php developers.
It is possible to execute a php command directly from the command line by doing the following:
php -r 'COMMAND'
For example:
php -r 'echo substr("hello world", 6);'
Enjoy!
Discussion
No comments yet.