summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2017-06-21 15:04:03 +1000
committerChristopher Jones <sixd@php.net>2017-06-21 15:04:03 +1000
commit13347e8a7da89c0e03b159cdfff89cea297d7242 (patch)
tree853122342908845c5faa429f28a1de573dcfd1f8
parentd9feb3c2d0205a0f1941fc7a47c01f4495fa9bd2 (diff)
parent3fbbcf7f939d9b33364b1301b9d47871bd2d3842 (diff)
downloadphp-git-13347e8a7da89c0e03b159cdfff89cea297d7242.tar.gz
Merge branch 'PHP-7.0' into 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
{