Fatal error: Non-static method Conn::__construct() cannot be called statically in /file.phpphp
Fatal error: operator not supported for strings in /file.phpmysql
//这里为字符串类型 $err = $e->getMessage(); //当执行到这里的时候会报错 $err[] = array ( 'gid' => $this->_get['id'], 'url' => $new, 'log' => $err, 'time' => time() ); 正则表达式
Fatal error: Declaration of Listing::content() must be compatible with that of InewsList::content() in file\List_1.phpon line 7sql
Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in file\List_1.php on line 42数据库
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6144 bytes) in file\List_1.php on line 8express
Notice: Undefined property: News::$_matches in file\List_1.php on line 57 数组
Warning: preg_match_all() [function.preg-match-all]: Empty regular expression in file\List_1.php on line 57函数
Warning: preg_match_all() [function.preg-match-all]: Delimiter must not be alphanumeric or backslash infile\List_1.php on line 57fetch
Warning: mysqli::query() [mysqli.query]: Couldn't fetch Insert in /file.phpthis
Warning: 1064_You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near...
Warning: array_shift() expects parameter 1 to be array, integer given
Fatal error: Unsupported operand types in file\List_1.php on line 60
Fatal error: Only variables can be passed by reference in ......
意思是“只有变量能经过‘引用’”。function eee(&$t) { $w = 'hello '.$t; return $w; } echo eee('World');
Warning: Illegal offset type in
Warning: Illegal offset type in isset or empty in
就会出现上面的错误提示,由于不能使用实例化的对象来做为数组的索引,或者在使用isset empty检测这样的数据的时候也会出现第二种状况。$arr = array(); class a {} $o = new a; echo $arr[$o];
#1366 - Incorrect integer value: '' for column 'ID' at row 1
#1136:Column count doesn't match value count at row 1
#1062_Duplicate entry '...' for key 'map'