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