summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48693.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-01-30 22:09:32 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-02-03 18:52:57 +0100
commiteaeecc523b665cfa856a376b9c55ca7fc9b7b596 (patch)
tree522b68f72aed5205fcb899501a4ca2b3acf7e08f /Zend/tests/bug48693.phpt
parentfbeb900be4948d9a1bdc3e139937777534cc27e4 (diff)
downloadphp-git-eaeecc523b665cfa856a376b9c55ca7fc9b7b596.tar.gz
Deprecate create_function()
Diffstat (limited to 'Zend/tests/bug48693.phpt')
-rw-r--r--Zend/tests/bug48693.phpt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Zend/tests/bug48693.phpt b/Zend/tests/bug48693.phpt
index 41e0d82274..f916b6407b 100644
--- a/Zend/tests/bug48693.phpt
+++ b/Zend/tests/bug48693.phpt
@@ -31,15 +31,22 @@ var_dump(
?>
--EXPECTF--
+Deprecated: Function create_function() is deprecated in %s on line %d
ParseError: syntax error, unexpected '}', expecting end of file in %sbug48693.php(4) : runtime-created function:1
Stack trace:
#0 %sbug48693.php(4): create_function('', 'return 1; }')
#1 {main}
+
+Deprecated: Function create_function() is deprecated in %s on line %d
+
+Deprecated: Function create_function() is deprecated in %s on line %d
ParseError: syntax error, unexpected end of file in %sbug48693.php(14) : runtime-created function:1
Stack trace:
#0 %sbug48693.php(14): create_function('', '{')
#1 {main}
+
+Deprecated: Function create_function() is deprecated in %s on line %d
int(2)
int(3)