You can use backticks (``) to execute a shell command in PHP

You can use backticks (``) to execute a shell command in PHP

🐘 Can you believe I didn’t know that PHP has a backtick operator?

Anything between `` will be executed like shell_exec and returned 🤯

Docs: https://www.php.net/manual/en/language.operators.execution.php

We're writing a book, you can get it for free here.