Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (28 sloc) 1.947 kB
0740521 @derickr Added extra information to error printouts to tell that the error sup…
authored
1 --TEST--
2 Test for scream support (HTML)
3 --INI--
4 xdebug.default_enable=1
5 xdebug.auto_trace=0
6 xdebug.scream=0
7 error_reporting(E_ALL);
8 html_errors=1
9 xdebug.file_link_format=xdebug://%f@%l
10 --FILE--
11 <?php
12 echo @strstr(), "\n";
13 ini_set('xdebug.scream', 1);
14 echo @strstr(), "\n";
15 ini_set('xdebug.scream', 0);
16 echo @strstr(), "\n";
17 ?>
18 --EXPECTF--
19 <br />
20 <font size='1'><table class='xdebug-error xe-warning xe-scream' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
21 <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> SCREAM: Error suppression ignored for</th></tr>
22 <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Warning: %s in <a style='color: black' href='xdebug://%sscream_html.php@4'>%sscream_html.php</a> on line <i>4</i></th></tr>
23 <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
24 <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
25 <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>%f</td><td bgcolor='#eeeeec' align='right'>%d</td><td bgcolor='#eeeeec'>{main}( )</td><td title='%sscream_html.php' bgcolor='#eeeeec'><a style='color: black' href='xdebug://%sscream_html.php@0'>../scream_html.php<b>:</b>0</a></td></tr>
591f593 @derickr Fixed issue #811: PHP Documentation Link.
authored
26 <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>%f</td><td bgcolor='#eeeeec' align='right'>%d</td><td bgcolor='#eeeeec'><a href='http://www.php.net/strstr.html' target='_new'>strstr</a>
0740521 @derickr Added extra information to error printouts to tell that the error sup…
authored
27 ( )</td><td title='%sscream_html.php' bgcolor='#eeeeec'><a style='color: black' href='xdebug://%sscream_html.php@4'>../scream_html.php<b>:</b>4</a></td></tr>
28 </table></font>
Something went wrong with that request. Please try again.