On 10/08/16 20:36, Peter Lind wrote: >>From what i can tell, Lester has an infrastructure problem. Not a PHP > problem. But he still wants to halt language development so the community > doesn't pick up new features that might make problems in his code. That > does not seem reasonable to me.
Yes I do have an infrastructure problem ... I can't see an easy way to switch from a traditional PHP model to one based on composer and PSR rules. Even processing legacy code much of which still uses little things like 'short tags' into a format that runs cleanly on later versions of PHP takes time. The scripts I have do a good job, but almost every site has had several hours bug checking to clear the remaining missed <?XXX elements and other errors just to make it run clean. With no changes to what the site actually does ... which is why there is no urgency to do that work ... and no 'pay' for doing it. The problem much of the time is that using third party libraries creates a minefield when those libraries decide now is the time to switch programming style and re-factor the whole code base. Does one stick with an older version and maintain that. Which is what I was doing with ADOdb, or do you re-factor the whole code base to work with the new style version ... to pick up the changes needed to work with other developments. Smarty is another key element of my infrastructure and I have at least four versions running across the system. The improvement in speed in PHP7 is now working in my code base, but I don't need any of the overheads of 'strict' mode simply because it's the wrong solution to the problem of data validation. Exceptions re-factoring is needed, but the piecemeal way exceptions are being hacked in is now showing the mistakes made so far, but 'traditional' code flow does not need exceptions so making them the only error return in new cases cases problems when they are not catered for in legacy code moved forward. -- 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 Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php