Bug #80128 [NEW]: trigger_error produces 255 exit code
| From: | php at shyim dot de | Date: | Mon, 21 Sep 2020 08:34:15 +0000 |
| Subject: | Bug #80128 [NEW]: trigger_error produces 255 exit code | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-229104@lists.php.net to get a copy of this message | ||
From: php at shyim dot de
Operating system: NixOs
PHP version: 8.0.0beta4
Package: Reproducible crash
Bug Type: Bug
Bug description:trigger_error produces 255 exit code
Description:
------------
I am currently testing our Software on PHP 8. Anything seems to work,
but the CLI Installer fails. I did some debugging using var_dump and
searching which line produces the 255 exit code without message. It was
always the trigger_error calls.
When I remove from the entire project all trigger_error calls, the
installation step works.
Test script:
---------------
Unfortunately I don't know what causes it. But when you run our
Installer (MySQL Database needed) it crashes always. See install.sh to
how to execute the installer.
Github Repository: https://github.com/shyim/php8-bug-trigger-error
Expected result:
----------------
The Installer works runs with exit code 0. And a
recovery/install/data/install.lock file exists
Actual result:
--------------
The trigger_error triggers 255 exit code without message.
Example:
https://github.com/symfony/form/blob/v4.4.13/DependencyInjection/FormPass.php#L100
--
Edit bug report at https://bugs.php.net/bug.php?id=80128&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80128&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80128&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80128&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80128&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80128&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80128&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80128&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80128&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80128&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80128&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80128&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80128&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80128&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80128&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80128&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80128&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80128&r=mysqlcfg