php-src/Zend/tests/bug68162.phpt
2014-10-06 20:39:00 +02:00

15 lines
180 B
PHP

--TEST--
Bug #68162: isset($$varname) always true
--FILE--
<?php
$name = 'var';
var_dump(isset($$name));
$var = 42;
var_dump(isset($$name));
?>
--EXPECT--
bool(false)
bool(true)