Return to constants_error_004.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / classes |
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