Bug #75433 [NEW]: Possible array indicies regression
From: bourigaultfabien at gmail dot com
Operating system: Linux
PHP version: 7.2.0RC4
Package: *General Issues
Bug Type: Bug
Bug description:Possible array indicies regression
Description:
------------
It looks like there are some weird behavior with array indices. If you
look at https://3v4l.org/IOvBR the output is is different for
PHP 7.2+
(and also for HHVM 3.21+). After looking deeper at what may be wrong I
ended to write https://3v4l.org/gG7BG which gives the same
output for
any PHP version. It looks like calling unset() on one array element and
then appending an item to this array produce a different result in PHP
7.2+.
--
Edit bug report at https://bugs.php.net/bug.php?id=75433&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75433&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75433&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75433&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75433&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75433&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75433&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75433&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75433&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75433&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75433&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75433&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75433&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75433&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75433&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75433&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75433&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75433&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75433&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75433&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75433&r=mysqlcfg
Thread (6 messages)
- bourigaultfabien at gmail dot com