mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
14 lines
134 B
PHP
14 lines
134 B
PHP
--TEST--
|
|
Variable with boolean name
|
|
--FILE--
|
|
<?php
|
|
|
|
${true} = 42;
|
|
var_dump(${true});
|
|
var_dump(${'1'});
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(42)
|
|
int(42)
|