How to run / print / execute php command from / in / using ssh console / cli console?

Just use this example if you want to know How to run / print / execute php command from / in / using ssh console / cli console?

 

php -r "echo ini_get('memory_limit').PHP_EOL;"