/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/exception_020.phpt
--TEST-- Test that the original class name is present in the error out when extending ErrorException --FILE-- <?php class MyErrorException extends ErrorException{} throw new MyErrorException(new stdClass); ?> --EXPECTF-- Fatal error: Uncaught TypeError: ErrorException::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d Stack trace: #0 %sexception_020.php(%d): ErrorException->__construct(Object(stdClass)) #1 {main} thrown in %sexception_020.php on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure