mirror of
https://github.com/php/php-src.git
synced 2024-12-24 01:09:58 +08:00
18 lines
257 B
PHP
18 lines
257 B
PHP
--TEST--
|
|
Bug #47572 (zval_update_constant_ex: Segmentation fault)
|
|
--FILE--
|
|
<?php
|
|
|
|
class Foo {
|
|
public static $bar = array(
|
|
FOO => "bar"
|
|
);
|
|
|
|
}
|
|
|
|
$foo = new Foo();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Notice: Use of undefined constant FOO - assumed 'FOO' in %s on line %d
|