|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-01-28 14:53 UTC] sniper@php.net
[2004-01-28 15:03 UTC] kennyt@php.net
[2004-02-09 09:47 UTC] didou@php.net
[2004-02-17 21:31 UTC] irchtml@php.net
[2004-02-18 04:36 UTC] didou@php.net
[2004-02-19 12:52 UTC] didou@php.net
[2020-02-07 06:12 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 09:00:01 2025 UTC |
Description: ------------ safe_mode cause exec command to parse all arguments after the command as one argument (in quote?) Is this a bug? is it documented somewhere? Reproduce code: --------------- <?php exec("echo x | echo y",$output); $output=implode(',',$output); echo "output is: $output" ?> Expected result: ---------------- safe_mode off output is: y safe_mode on output is: y Actual result: -------------- safe_mode off output is: y safe_mode on output is: x | echo y