note 118131 added to migration54.incompatible

From: Date: Sun, 11 Oct 2015 22:29:01 +0000
Subject: note 118131 added to migration54.incompatible
Groups: php.notes 
Request: Send a blank email to php-notes+get-203935@lists.php.net to get a copy of this message
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 ?> ---- Server IP: 72.52.91.14 Probable Submitter: 216.68.140.90 ---- Manual Page -- http://php.net/manual/en/migration54.incompatible.php Edit -- https://master.php.net/note/edit/118131 Del: integrated -- https://master.php.net/note/delete/118131/integrated Del: useless -- https://master.php.net/note/delete/118131/useless Del: bad code -- https://master.php.net/note/delete/118131/bad+code Del: spam -- https://master.php.net/note/delete/118131/spam Del: non-english -- https://master.php.net/note/delete/118131/non-english Del: in docs -- https://master.php.net/note/delete/118131/in+docs Del: other reasons-- https://master.php.net/note/delete/118131 Reject -- https://master.php.net/note/reject/118131 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203935) next »