xref: /PHP-7.1/Zend/tests/bug29883.phpt (revision 370b7039)
1--TEST--
2Bug #29883 (isset gives invalid values on strings)
3--FILE--
4<?php
5$x = "bug";
6var_dump(isset($x[-10]));
7var_dump(isset($x["1"]));
8echo $x["1"]."\n";
9?>
10--EXPECT--
11bool(false)
12bool(true)
13u
14