]> granicus.if.org Git - php/commitdiff
master doesn't been affected since we are not passing errcontext now
authorXinchen Hui <laruence@gmail.com>
Fri, 15 May 2020 07:40:53 +0000 (15:40 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 15 May 2020 07:40:53 +0000 (15:40 +0800)
Zend/tests/bug79599.phpt [deleted file]

diff --git a/Zend/tests/bug79599.phpt b/Zend/tests/bug79599.phpt
deleted file mode 100644 (file)
index b333f15..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
---TEST--
-Bug #79599 (coredump in set_error_handler)
---FILE--
-<?php
-set_error_handler(function($code, $message){
-       throw new \Exception($message);
-});
-function test1(){
-       $a[] = $b;
-}
-function test2(){
-       $a[$c] = $b;
-}
-try{
-       test1();
-}catch(\Exception $e){
-       var_dump($e->getMessage());
-}
-try{
-       test2();
-}catch(\Exception $e){
-       var_dump($e->getMessage());
-}
-?>
---EXPECT--
-string(21) "Undefined variable $b"
-string(21) "Undefined variable $c"