mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Merge branch 'PHP-7.1'
This commit is contained in:
commit
d561aa7cb1
6 changed files with 6 additions and 6 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue