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'