Stas Malyshev wrote:
Helping to solve the problem would also help everybody else upgrade TO PHP5.4?
OK, so what help do you require?
PEAR and PECL that work with PHP5.4 out of the box?
At least the core of PEAR that does not throw strict warnings from a stock install of PHP5.4 as E_STRICT is on.

>Add to this the fun getting Apache 2.4 configured with PHP and my old 
framework,
>it is no wonder I grumpy ... I would much rather be adding functionality and
>working on NEW stuff than fixing the problems other people leave behind. And I
>don't need any of the new PHP5.3/44 features to write my own new code.
While I can sympathize with your problems fixing bad code left by other
people, I am not sure how it is relevant on this list - is there
something that people present on this list can help you with? What is it?

I think that this is the problem here. "fixing bad code" is simply not a statement that I recognise! I am not fixing bad code, I am re-writing much of it simply because the style is no longer acceptable, or somebody changed a default setting without considering the consequences ( <?= not working in PHP5.3 is STILL biting as ISP are only upgrading to PHP5.3! )

I still have not had a proper answer to a question I repeatedly ask. "Please can we have some tutorials on how 'strict' styling should be used?" I'm fixing the warnings created but I still do not fully understand what I am fixing. The main rework area has been not being able to use '$this' in static functions, even if the function checks $this and defaults to the static code internally. Adding 'public/private/protected/static/self ...' and using them in the right places is well documented in bits and pieces, but there is no general 'how to' put the whole together? I suppose someone will want to add traits and the rest to that, but just a simple style guide for the basics would be nice ...

--
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

Reply via email to