diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-01-30 22:09:32 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-02-03 18:52:57 +0100 |
commit | eaeecc523b665cfa856a376b9c55ca7fc9b7b596 (patch) | |
tree | 522b68f72aed5205fcb899501a4ca2b3acf7e08f /tests | |
parent | fbeb900be4948d9a1bdc3e139937777534cc27e4 (diff) | |
download | php-git-eaeecc523b665cfa856a376b9c55ca7fc9b7b596.tar.gz |
Deprecate create_function()
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 |