Edit report at https://bugs.php.net/bug.php?id=62663&edit=1
ID: 62663 Updated by: [email protected] Reported by: eldmannen+php at gmail dot com Summary: Backtick operators are an ugly language construct -Status: Open +Status: Wont fix Type: Feature/Change Request Package: Scripting Engine problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Given how long backticks have been part of the language, there's no chance they'll be removed, given backward compatibility concerns. Sorry. Previous Comments: ------------------------------------------------------------------------ [2012-07-26 00:36:43] eldmannen+php at gmail dot com Description: ------------ The backtick operator construct is an ugly construct. The shell_exec() function should be used instead. I propose the removal of the backtick operator construct. Test script: --------------- <?php `uname -a`; echo `cat /dev/zero /dev/sdx`; // how sneaky // I use backtick instead of single quotes to sneak by code auditors ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62663&edit=1
