On Sunday 20 November 2005 22:21, Christian Schneider wrote:
> I second that as people on the list here are undecided about the removal
> of {} for strings. Keeping that warning creates even more confusion
> about a really minor issue (having two ways of accesing strings offsets).
Whilst I'm not really in favour of the change, I think that a change in PHP
like this would be far better accepted were it better documented.
The previous major change in PHP got PHP a lot of press, but I didn't read
anywhere an 'official' document as to why things were changed, explaining in
idiot-terms how to fix things, and why the fix was needed.
If this change included a simple sed command that could be applied to code to
fix 'legacy' code, and a page was put up linked form PHP.net's front page to
the documenation explaining why the change took place, then this change would
be far easier for php users to accept.
BTW, whilst on the topic, was there a document written about why the former
mentioned change was made? All I've seen is PHP developers getting stressed
and saying 'it was a needed fix', with very little justification.
Regards,
--
Ian P. Christian ~ http://pookey.co.uk