xref: /PHP-8.1/Zend/tests/bug68162.phpt (revision e24c24c1)
1--TEST--
2Bug #68162: isset($$varname) always true
3--FILE--
4<?php
5
6$name = 'var';
7var_dump(isset($$name));
8$var = 42;
9var_dump(isset($$name));
10
11?>
12--EXPECT--
13bool(false)
14bool(true)
15