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

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

Count Diff
1 (7%)
001+ Wed Apr 5 13:36:00 2023 (192796): 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 (7%)
001+ Tue Jul 18 17:59:58 2023 (465560): 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 (7%)
001+ Tue Jul 11 17:12:44 2023 (209534): 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 (7%)
001+ Thu Apr 6 18:29:38 2023 (424724): 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 (7%)
001+ Sun Jun 12 02:40:51 2022 (9029): Message Cached script %s/bug63217.php'
1 (7%)
001+ Sat Apr 15 11:12:21 2023 (175551): 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 (7%)
001+ Sat Apr 8 12:09:57 2023 (216013): 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 (7%)
001+ Mon Aug 1 20:57:59 2022 (21785): 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 (7%)
001+ Mon Apr 17 11:36:46 2023 (257253): 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 (7%)
001+ Fri Jun 24 15:11:33 2022 (25171): 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 (7%)
001+ Fri Jun 9 18:21:23 2023 (11702): 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 (7%)
001+ Fri Jul 15 14:48:12 2022 (15036): 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 (7%)
001+ Fri Apr 7 11:59:15 2023 (175541): 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 (7%)
001+ Fri Apr 7 10:22:04 2023 (218754): 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- }