老師我測試的時候為什么textView里面顯示的是一串代碼呀?
<br />
<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined offset: 0 in D:\wamp\wamp\www\php\staff.php on line <i>20</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<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>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0006</td><td bgcolor='#eeeeec' align='right'>144200</td><td bgcolor='#eeeeec'>{main}(? )</td><td title='D:\wamp\wamp\www\php\staff.php' bgcolor='#eeeeec'>..\staff.php<b>:</b>0</td></tr>
</table></font>
這個代碼是使用fiddler測試出來顯示在textView上面的信息,沒有顯示“參數(shù)錯誤”的信息。
2017-09-09
我的也是這樣顯示的不知道怎么怎么回事