Bug #80070 [NEW]: mb_http_input("UTF-8"); does crash php8.0.0beta3
| From: | call dot user dot func at gmail dot com | Date: | Mon, 07 Sep 2020 05:27:37 +0000 |
| Subject: | Bug #80070 [NEW]: mb_http_input("UTF-8"); does crash php8.0.0beta3 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-228912@lists.php.net to get a copy of this message | ||
From: call dot user dot func at gmail dot com
Operating system: Windows 10
PHP version: 8.0.0beta3
Package: Reproducible crash
Bug Type: Bug
Bug description:mb_http_input("UTF-8"); does crash php8.0.0beta3
Description:
------------
Starting with php8.0.0beta3 on windows (all prev. versions work as
expected), php does crash on line mb_http_input() with enabled mbstring
extension:
error_reporting(E_ALL);
mb_http_input("UTF-8");
echo mb_substr("foo", 0, 1);
This is in command line and apache module. Apache does crash the thread
with no clear error log. PHP CLI just crash without error, at least i
can't find any.
Are there any dependency that we must update with beta3? As i can read
here: https://github.com/php/php-src/blob/php-8.0.0beta3/NEWS
- I see
there is a Fixed bug #55847 (DOTNET .NET 4.0 GAC new location). (cmb)
Maybe something happened here?
Test script:
---------------
<?php
error_reporting(E_ALL);
mb_http_input("UTF-8");
echo mb_substr("foo", 0, 1);
--
Edit bug report at https://bugs.php.net/bug.php?id=80070&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80070&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80070&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80070&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80070&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80070&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80070&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80070&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80070&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80070&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80070&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80070&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80070&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80070&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80070&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80070&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80070&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80070&r=mysqlcfg