Re: '<?=' with PHP5.3.10
| From: | Lester Caine | Date: | Mon, 05 Mar 2012 23:08:20 +0000 |
| Subject: | Re: '<?=' with PHP5.3.10 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58629@lists.php.net to get a copy of this message | ||
Galen Wright-Watson wrote:
If you read the other posts you will see the answers ;) 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. It's a little annoying that I've had to rework these sites when I WILL put it back again once I can move them to a site where it does not matter. I prefer the shorthand as the longhand makes the code a lot more difficult to read.OK what changed in the automatic updates from PHP5.3.9 to 5.3.10 thatstops '<?=' working when it was working previously? I do not recall the state of short_open_tag changing but was that 'defaulted' to off when previously it was on? I had thought that'<?=' was discussed and had been left alone, but now I'm told that is only on PHP5.4.0 What's the value of short_open_tag? If disabled, does the host's setup allow you to set its value?
Something broke sites without any warning and it would have been nice to be told by that ISP that they were updating PHP anyway:( This is the sort of insidious little change that gets annoying when people don't understand the consequences of changing it. I wonder how many more people have been affected just on this ISP ...-- 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