Req #62663 [NEW]: Backtick operators are an ugly language construct
| From: | eldmannen+php at gmail dot com | Date: | Thu, 26 Jul 2012 00:36:43 +0000 |
| Subject: | Req #62663 [NEW]: Backtick operators are an ugly language construct | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-172239@lists.php.net to get a copy of this message | ||
From: eldmannen+php at gmail dot com
Operating system:
PHP version: Irrelevant
Package: Scripting Engine problem
Bug Type: Feature/Change Request
Bug description:Backtick operators are an ugly language construct
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 bug report at https://bugs.php.net/bug.php?id=62663&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62663&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62663&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62663&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62663&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62663&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62663&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62663&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62663&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62663&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62663&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62663&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62663&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62663&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62663&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62663&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62663&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62663&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62663&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62663&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62663&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62663&r=mysqlcfg