Thursday, 7 June 2018

php - What does



whats the meaning of this line




 

Answer



are PHP short open tags, which can be enabled (or disabled) via the short_open_tag directive in php.ini (quoting) :





This directive also affects the
shorthand , which is identical
to . Use of this shortcut
requires short_open_tag to be on.




And:





Also if disabled, you must use the
long form of the PHP open tag ( ?> ).




This means your portion of code :




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