Browse Source

- Fixed tests

experimental/first_unicode_implementation
Jani Taskinen 17 years ago
parent
commit
52f160cae9
  1. 2
      tests/classes/constants_error_004.phpt
  2. 6
      tests/lang/bug44827.phpt

2
tests/classes/constants_error_004.phpt

@ -10,4 +10,4 @@ Class constant whose initial value refereces a non-existent class
$a = new C();
?>
--EXPECTF--
Fatal error: Class 'D' not found in %s on line %d
Fatal error: Undefined class constant 'D::hello' in %s on line %d

6
tests/lang/bug44827.phpt

@ -9,6 +9,8 @@ Testfest Munich 2009
define('::', true);
var_dump(constant('::'));
?>
--EXPECTREGEX--
.*Fatal.*
--EXPECTF--
Warning: Class constants cannot be defined or redefined in %s on line %d
Warning: constant(): Couldn't find constant :: in %s on line %d
NULL
Loading…
Cancel
Save