Merge branch 'PHP-7.1'

This commit is contained in:
Christopher Jones 2017-06-21 15:04:34 +10:00
commit d561aa7cb1
6 changed files with 6 additions and 6 deletions

View file

@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions // 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 try
{ {

View file

@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions // 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 try
{ {

View file

@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions // 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 try
{ {

View file

@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions // 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 try
{ {

View file

@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions // 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 try
{ {

View file

@ -29,7 +29,7 @@ echo "Test 1\n";
// Make errors throw exceptions // 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 try
{ {