How to execute PHP code from the command line?

By | March 30, 2018
Questions:

I would like to execute a single php statement like if(function_exists("my_func")) echo 'function exists'; directly with the command line without having to use a seperate php file.

How is it possible ?

Answers:

Leave a Reply

Your email address will not be published. Required fields are marked *