xref: /PHP-5.6/ext/opcache/tests/bug69125.phpt (revision 3e82816b)
1--TEST--
2Bug #69125 (Array numeric string as key)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10
11const SZERO = '0';
12const SONE = '1';
13
14$array[SZERO] = "okey";
15$array[1] = "okey";
16
17var_dump($array[SZERO]);
18var_dump($array[SONE]);
19?>
20--EXPECT--
21string(4) "okey"
22string(4) "okey"
23