Re: '<?=' with PHP5.3.10

From: Date: Tue, 06 Mar 2012 09:47:29 +0000
Subject: Re: '<?=' with PHP5.3.10
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Markus Fischer wrote:
On 06.03.2012 00:08, Lester Caine wrote:
The ISP hosting these sites has not got back to me yet, but it would seem that when they updated from 5.3.9 to 5.3.10 they also switched off short_open_tag when previously it had been on.
I've learned it also the hard way the ISPs or Hosters did change INI settings. I've started to document their INIs for every new version and compare them immediately once they upgraded to spot the differences. Worked well for me (as long as I had to be dependent on such companies), YMMV.
I'd only taken over managing these sites in the last month which is why I was panicking a bit. I've only just finished cloning all the site data to one of my own systems and cloning the config would have been the next step :) Not having had time to review the code I did not even know where the problems were ... Kris - this is just about '<?=' and while I don't normally embed php in html templates, it is much better to see <?=$data?> than <?php echo $data ?> and this seems to be used by a number of frameworks - hence fixing the problem in 5.4 ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php

Thread (28 messages)

« previous php.internals (#58647) next »