Thursday, 7 June 2018

syntax error - PHP expects T_PAAMAYIM_NEKUDOTAYIM?



Does anyone have a T_PAAMAYIM_NEKUDOTAYIM?


Answer



It’s the double colon operator :: (see list of parser tokens).


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 ...