Bug #79064 [NEW]: When under certain conditions, returncode = 1
| From: | qiqizjlq at gmail dot com | Date: | Sat, 04 Jan 2020 18:05:01 +0000 |
| Subject: | Bug #79064 [NEW]: When under certain conditions, returncode = 1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-224703@lists.php.net to get a copy of this message | ||
From: qiqizjlq at gmail dot com
Operating system: Linux 3c491427cc78 4.9.184-linux
PHP version: 7.4.1
Package: Semaphore related
Bug Type: Bug
Bug description:When under certain conditions, returncode = 1
Description:
------------
When the extension uses zend_hash_str_del to delete functions, and there
are more than 875 functions defined in the PHP file (this number has
system differences. Some have encountered more than 600, and some
encountered more than 1,000). Executing the shell will return returncode
= 1
This problem currently occurs after confirming this commit:
https://github.com/php/php-src/commit/3b6e1ee4ee05678b5d717cd926a35ffdc1335929
Test script:
---------------
https://github.com/qiqizjl/php73-return-code-1
Expected result:
----------------
/work/git # php test.php
/work/git # echo $?
0
Actual result:
--------------
/work/git # php test.php
/work/git # echo $?
1
--
Edit bug report at https://bugs.php.net/bug.php?id=79064&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79064&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79064&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79064&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79064&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79064&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79064&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79064&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79064&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79064&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79064&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79064&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79064&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79064&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79064&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79064&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79064&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79064&r=mysqlcfg