summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2017-06-21 15:04:34 +1000
committerChristopher Jones <sixd@php.net>2017-06-21 15:04:34 +1000
commitd561aa7cb1567657a34b8dbae75619f816b07352 (patch)
tree75599ce3d8c774c8c48f151a10a57912ac1103ef
parent78e5811c1a49e6073fd7f280dc96f2d1f5f7c045 (diff)
parent13347e8a7da89c0e03b159cdfff89cea297d7242 (diff)
downloadphp-git-d561aa7cb1567657a34b8dbae75619f816b07352.tar.gz
Merge branch 'PHP-7.1'
-rw-r--r--ext/oci8/tests/connect_scope_try1.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try2.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try3.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try4.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try5.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try6.phpt2
6 files changed, 6 insertions, 6 deletions
diff --git a/ext/oci8/tests/connect_scope_try1.phpt b/ext/oci8/tests/connect_scope_try1.phpt
index 7f26d4334d..2832b863ea 100644
--- a/ext/oci8/tests/connect_scope_try1.phpt
+++ b/ext/oci8/tests/connect_scope_try1.phpt
@@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions
-set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
+set_error_handler(function($x, $y) { throw new Exception($y, $x); });
try
{
diff --git a/ext/oci8/tests/connect_scope_try2.phpt b/ext/oci8/tests/connect_scope_try2.phpt
index 94adb85e93..29daa9d403 100644
--- a/ext/oci8/tests/connect_scope_try2.phpt
+++ b/ext/oci8/tests/connect_scope_try2.phpt
@@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions
-set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
+set_error_handler(function($x, $y) { throw new Exception($y, $x); });
try
{
diff --git a/ext/oci8/tests/connect_scope_try3.phpt b/ext/oci8/tests/connect_scope_try3.phpt
index e7891a1073..1af0813727 100644
--- a/ext/oci8/tests/connect_scope_try3.phpt
+++ b/ext/oci8/tests/connect_scope_try3.phpt
@@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions
-set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
+set_error_handler(function($x, $y) { throw new Exception($y, $x); });
try
{
diff --git a/ext/oci8/tests/connect_scope_try4.phpt b/ext/oci8/tests/connect_scope_try4.phpt
index 40369c67ba..5a2c9f0727 100644
--- a/ext/oci8/tests/connect_scope_try4.phpt
+++ b/ext/oci8/tests/connect_scope_try4.phpt
@@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions
-set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
+set_error_handler(function($x, $y) { throw new Exception($y, $x); });
try
{
diff --git a/ext/oci8/tests/connect_scope_try5.phpt b/ext/oci8/tests/connect_scope_try5.phpt
index 3afc87b915..112ec6ce97 100644
--- a/ext/oci8/tests/connect_scope_try5.phpt
+++ b/ext/oci8/tests/connect_scope_try5.phpt
@@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions
-set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
+set_error_handler(function($x, $y) { throw new Exception($y, $x); });
try
{
diff --git a/ext/oci8/tests/connect_scope_try6.phpt b/ext/oci8/tests/connect_scope_try6.phpt
index d7b4edfdbe..96bd556092 100644
--- a/ext/oci8/tests/connect_scope_try6.phpt
+++ b/ext/oci8/tests/connect_scope_try6.phpt
@@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions
-set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'));
+set_error_handler(function($x, $y) { throw new Exception($y, $x); });
try
{