Return to constants_error_004.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / classes |
1.1 misho 1: --TEST-- 2: Class constant whose initial value refereces a non-existent class 3: --FILE-- 4: <?php 5: class C 6: { 7: const c1 = D::hello; 8: } 9: 10: $a = new C(); 11: ?> 12: --EXPECTF-- 13: Fatal error: Class 'D' not found in %s on line %d