|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-03-19 08:35 UTC] jack at mobil dot cz
we have some long computer generated scripts on our system. when we run such a long script, php suddenly ends without producing any output and reports exit status 1. I think php exits while parsing the script. (I can provide an example of such script on demand) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 23:00:01 2025 UTC |
okay. I think I described the problem well enough but I don't want this bug closed just for 'lack of user feedback'. So do this: create any long script. an easy (though somewhat slow) way to do this is: #!/bin/zsh echo 'see this' >| test.php for i in {1..100000}; do echo '<? echo "...and this\\n"; ?>' >>| test.php done now you put 'memory_limit = 50000000' to your php.ini run $ php test.php you'll get a lot of output now change memory limit to smaller value, let's say 8000000. $ php test.php (failed with error code 1) no warning given although 'error_reporting=E_ALL' in php.ini