note 118131 deleted from migration54.incompatible by cmb
| From: | cmb@php.net | Date: | Wed, 16 Dec 2015 14:56:57 +0000 |
| Subject: | note 118131 deleted from migration54.incompatible by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-204394@lists.php.net to get a copy of this message | ||
Note Submitter: karl at kandrsoftware dot com
----
Using the '<?' tag to open PHP blocks is no longer allowed.
This worked in PHP 5.3:
<?
// some code here
?>
But in PHP 5.4 you'll get an 'Unexpected end of file' error ...with the error
indicating the last line of the file, which is not very useful in finding this kind of thing.
What you need to do is use '<?php' to open your PHP blocks, like this:
<?php
// some code here
?>