Thursday, 7 March 2019

PHP Parse error: syntax error, unexpected end of file in PHP 5.5.9





I've the following code:



user_coordinator($template['issue']['id']) || isset($nparams['tid']))): ?>







It works well on most of my servers but on one of them I receive an error:




PHP Parse error: syntax error, unexpected end of file in
/var/www/dokuwiki/lib/plugins/bez/tpl/issue_causes.php on line 19,





What is wrong with this code?



The entire file issue_cause.php:






()








user_coordinator($template['issue']['id']) || isset($nparams['tid']))): ?>









Answer



Could you replace  with 

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print ...