xref: /PHP-5.4/Zend/tests/bug47572.phpt (revision c43b935b)
1--TEST--
2Bug #47572 (zval_update_constant_ex: Segmentation fault)
3--FILE--
4<?php
5
6class Foo {
7  public static $bar = array(
8    FOO => "bar"
9    );
10
11}
12
13$foo = new Foo();
14
15?>
16--EXPECTF--
17Notice: Use of undefined constant FOO - assumed 'FOO' in %s on line %d
18