Back-tick Operator Is Deprecated
The back tick operator is deprecated, and will be removed in PHP 9.0. It should be replaced with a call to shell_exec(), which is the function equivalent. It may also be replaced with any other dedicated feature: for example, listing files in a directory may be replaced with a call to scandir().
PHP code
<?php
print `echo 'Hello'`;
?>
Before
Hello
After
PHP Deprecated: The backtick (`) operator is deprecated, use shell_exec() instead
Deprecated: The backtick (`) operator is deprecated, use shell_exec() instead
Hello
PHP version change
This behavior was deprecated in 8.5.
This behavior changed in .