1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/tests/classes/constants_error_004.phpt
Gustavo André dos Santos Lopes 2a545be57f - Fix tests for \0 patch in PHP 5.3.
- Fix constants_error_004.phpt (closes bug #51901)
2010-11-22 05:10:14 +00:00

14 lines
219 B
PHP

--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