|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-11-09 10:59 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2016-11-09 10:59 UTC] ab@php.net
[2016-11-09 11:50 UTC] odigiman at gmail dot com
-Status: Feedback
+Status: Closed
-Package: Reproducible crash
+Package: pthreads
[2016-11-09 11:50 UTC] odigiman at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 18:00:01 2025 UTC |
Description: ------------ Uncontrolled recursive function call triggers exit 127 on Windows instead of the expected out of memory fatal error. This does not occur on any Linux distributions I have tested. Loaded extensions: Core bcmath calendar ctype date filter hash iconv json mcrypt SPL pcre Reflection session standard mysqlnd tokenizer zip zlib libxml dom PDO openssl SimpleXML xml wddx xmlreader xmlwriter Weakref curl mysqli sqlite3 sockets mbstring yaml pthreads Phar com_dotnet Zend OPcache Test script: --------------- <?php function recursive(){ recursive(); } recursive(); Expected result: ---------------- Fatal error: Allowed memory size of xxxxx bytes exhausted (tried to allocate xxx bytes) in C:\Users\User\Desktop\recursive.php Actual result: -------------- php.exe: Exit 127