php错误收集

1.Notice: Undefined offset: 1 in F:\www\my\test.php on line 39,原因offset:接下去的数字是出错的数组下标,一般是超出了数组的取值范围。

2.如下文的报错原因是语法有误,没有加引号而导致的,如:define(nihao, wenwen);

Notice: Use of undefined constant nihao - assumed 'nihao' in F:\www\test\index.php on line 4

Notice: Use of undefined constant wenwen - assumed 'wenwen' in F:\www\test\index.php on line 4
wenwen

posted @ 2013-10-15 16:28  ann_glx  阅读(209)  评论(0编辑  收藏  举报