On Thu, Nov 18, 2021 at 08:19:36AM +0000, Kamil Tekiela wrote: > Hi Luca, > > How will this change be reflected in its alias, the backtick operator? If > the plan is to change the signature of shell_exec() then the backtick > operator will not behave identically anymore. Am I correct? > > Regards, > Kamil Hi, PHP code that use the backtick operator or shell_exec() will behave identically. The reason is that when omitting the optional parameter $return_code, the function call shell_exec("command", null) is executed, which will execute the "command" and return its output just like it does right now.
Thanks, Luca -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php