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

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 are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Sat Jul 23 21:23:47 2022 (31478): 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- }
1 (50%)
001+ Fri Jul 30 04:31:23 2021 (3973): Message Cached script %s/bug63217.php'