mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
14 lines
219 B
Plaintext
14 lines
219 B
Plaintext
|
--TEST--
|
||
|
Class constant whose initial value refereces a non-existent class
|
||
|
--FILE--
|
||
|
<?php
|
||
|
class C
|
||
|
{
|
||
|
const c1 = D::hello;
|
||
|
}
|
||
|
|
||
|
$a = new C();
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Class 'D' not found in %s on line %d
|