#28299 [Bgs]: system() unexpect behaviour
ID: 28299
Updated by: derick@php.net
Reported By: jon at moozaad dot co dot uk
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: BSD Apache 1.3.29
PHP Version: 4.3.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Turn up your error reporting level to E_ALL and you'll see the notice.
Previous Comments:
------------------------------------------------------------------------
[2004-05-06 14:41:06] wez@php.net
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
.
------------------------------------------------------------------------
[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
Thread (3 messages)