状態:-
     閲覧数:4,724
		 投稿日:2013-02-11
		 更新日:2013-03-05
     
  
	
 				
	
 			
			 			エラーメッセージ
エラー原因
・構文エラー
・関数を書くべき箇所に、予期しないrequireがある
エラー対策
・正しい構文へ直す
    
   
    
Parse error: syntax error, unexpected T_REQUIRE, expecting T_FUNCTION
エラー原因
・構文エラー
・関数を書くべき箇所に、予期しないrequireがある
エラー対策
・正しい構文へ直す
エラーと対策 … 例1
		
		
		・下記参照
※「include」を「require」に読み替え
・Parse error: syntax error, unexpected T_INCLUDE, expecting T_FUNCTION
    
    
     ※「include」を「require」に読み替え
・Parse error: syntax error, unexpected T_INCLUDE, expecting T_FUNCTION
Parse error: syntax error, unexpected T_INCLUDE_ONCE, expecting T_FUNCTION
Parse error: syntax error, unexpected T_REQUIRE_ONCE, expecting T_FUNCTION