Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1d13614882
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (25 sloc) 0.709 kB
--TEST--
Debug_ErrorHook_Catcher: notices and warnings
--FILE--
<?php
require dirname(__FILE__) . '/init.php';
echo $non_existed;
fopen("non-existed", "r");
?>
--EXPECT--
Notification: array (
'errno' => 'E_NOTICE',
'errstr' => 'Undefined variable: non_existed',
'errfile' => '020_notice.php',
'errline' => '*',
'tracecount' => 0,
)
Error [8]: Undefined variable: non_existed in * on line *
Notification: array (
'errno' => 'E_WARNING',
'errstr' => 'fopen(non-existed): failed to open stream: No such file or directory',
'errfile' => '020_notice.php',
'errline' => '*',
'tracecount' => 1,
)
Error [2]: fopen(non-existed): failed to open stream: No such file or directory in * on line *
Jump to Line
Something went wrong with that request. Please try again.