Test: /Zend/tests/bug63217.phpt - Version 7.3.13        

Bug #63217 Constant numeric strings become integers when used as ArrayAccess offset
Submitted: 2012-10-04 10:14:49 Modified: 2017-07-03 02:18:12
From: kmsheng Assigned:
Status: Closed Package: Arrays related
PHP Version: 5.4Git-2012-10-04 (Git) OS: freebsd

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Fri Jan 17 08:05:08 2020 (139935041734912): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: unknown: Inappropriate ioctl for device (25)
001- offsetExists given string(1) "0"
002- offsetExists given string(3) "123"
003- offsetUnset given string(1) "0"
004- offsetUnset given string(3) "123"
005- offsetSet given string(1) "0"
006- offsetSet given string(3) "123"
007- offsetGet given string(1) "0"
008- offsetGet given string(3) "123"
009- offsetExists given string(1) "0"
010- offsetExists given string(3) "123"
011- offsetUnset given string(1) "0"
012- offsetUnset given string(3) "123"
013- offsetSet given string(1) "0"
014- offsetSet given string(3) "123"
015- offsetGet given string(1) "0"
016- offsetGet given string(3) "123"
017- string(2) "10"
018- array(3) {
019- [123]=>
020- int(1)
021- [321]=>
022- int(2)
023- ["abc"]=>
024- int(3)
025- }
026- array(3) {
027- [123]=>
028- int(1)
029- [321]=>
030- int(2)
031- ["abc"]=>
032- int(3)
033- }