#28299 [Opn->Bgs]: system() unexpect behaviour
| From: | wez@php.net | Date: | Thu, 06 May 2004 12:41:07 +0000 |
| Subject: | #28299 [Opn->Bgs]: system() unexpect behaviour | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59298@lists.php.net to get a copy of this message | ||
ID: 28299
Updated by: wez@php.net
Reported By: jon at moozaad dot co dot uk
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: BSD Apache 1.3.29
PHP Version: 4.3.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2004-05-06 14:07:12] jon at moozaad dot co dot uk
Description:
------------
Non-string passed in system() call. I was expecting it to spit out an
error. I didn't notice until I went to add switches to the command.
Same behaviour with exec().
I expect it to be a language syntax problem.
Just incase you're missed it, theres no "" '' `` or $ on the front or
around the first argument.
Reproduce code:
---------------
<? echo "<br>::".system(quota)."::<br>"; ?>
Expected result:
----------------
a warning/error, argument is invalid
Actual result:
--------------
Disk quotas for user wargames (uid 1009): Filesystem usage quota limit
grace files quota limit grace /usr 55580 102400 102400 1167 0 0
:: /usr 55580 102400 102400 1167 0 0::
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28299&edit=1