--TEST-- Class constant declarations --FILE-- --EXPECTF-- Notice: Undefined variable: undef in %s on line 5 Attempt to access various kinds of class constants: Warning: Use of undefined constant UNDEFINED - assumed 'UNDEFINED' (this will throw an Error in a future version of PHP) in %s on line %d string(9) "UNDEFINED" int(1) float(1.5) int(1) float(1.5) int(-1) float(-1.5) int(15) string(%d) "%s" string(1) "C" string(1) "C" string(0) "" int(1234) int(456) NULL string(6) "hello1" string(6) "hello2" string(6) "hello2" string(6) "hello2" Expecting fatal error: Fatal error: Uncaught Error: Undefined class constant 'c19' in %s:53 Stack trace: #0 {main} thrown in %s on line 53