Hi!

That would help a lot ... this is not a problem of "so the developer can fix his
code" but rather so we can fix legacy code which other non-developers are
currently using happily ... If *I* had written the code I would not have done it
the way it is currently structured, but I'm not about to spend time
re-engineering it ... I just want to plug the holes quickly so it continues to 
work.

OK, notice is probably technically feasible, though I still not like the idea too much. When you want to produce this notice? Producing it on any string would probably break code like $a['1'] which has it's legitimate uses and I'm sure can be seen around. Should be produce notice if the string has non-numeric chars? That's slow down this operation a little, though probably not critically as conversion is going to scan the string anyway.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to