diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lang/bug17115.phpt | 3 | ||||
| -rw-r--r-- | tests/lang/bug22690.phpt | 4 | ||||
| -rw-r--r-- | tests/lang/bug24926.phpt | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/tests/lang/bug17115.phpt b/tests/lang/bug17115.phpt index 0cb3bf44d2..9500352799 100644 --- a/tests/lang/bug17115.phpt +++ b/tests/lang/bug17115.phpt @@ -10,7 +10,8 @@ var_dump($func()); var_dump($func()); var_dump($func()); ?> ---EXPECT-- +--EXPECTF-- +Deprecated: Function create_function() is deprecated in %s on line %d int(0) int(1) int(2) diff --git a/tests/lang/bug22690.phpt b/tests/lang/bug22690.phpt index 6aed5be6e9..9d5444051b 100644 --- a/tests/lang/bug22690.phpt +++ b/tests/lang/bug22690.phpt @@ -7,6 +7,8 @@ Bug #22690 (ob_start() is broken with create_function() callbacks) echo $foo("bar\n"); ?> bar ---EXPECT-- +--EXPECTF-- + +Deprecated: Function create_function() is deprecated in %s on line %d BAR BAR diff --git a/tests/lang/bug24926.phpt b/tests/lang/bug24926.phpt index 8f853dba47..e7fd86ce76 100644 --- a/tests/lang/bug24926.phpt +++ b/tests/lang/bug24926.phpt @@ -23,6 +23,7 @@ class foo { $a = new foo (); ?> ---EXPECT-- +--EXPECTF-- +Deprecated: Function create_function() is deprecated in %s on line %d FOO FOO |
