|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-26 14:18 UTC] derick@php.net
[2010-12-20 11:44 UTC] jani@php.net
-Package: Tidy
+Package: Program Execution
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 05:00:01 2025 UTC |
I have found a bug in passthru function. It should return output generated by program to value but on my system it just print it to the browser and value sets to 0. My script <? $txt = 'some txt^Z^Z^Z^Z'.chr(13); passthru("echo ".escapeshellcmd($txt)." | tidy -config config.txt",$txt); ?> there should be an output from tidy in $txt but passthru print the output and sets $txt to 0. [chm date: 2002-04-20]...