Hi: On Thu, Jun 24, 2004 at 11:33:54AM +1000, Aidan Lister wrote: > > But since there's no BC need to allow resources in array initialization, > > then sure, leave it to the scripter to cast it to an int if that's REALLY > > what they want. (Again "why?" comes to mind). > > PEAR::DB uses this method - I'm seeing a million errors on sites that have > updated to latest CVS version.
I've just updated PEAR DB in CVS to cast resources to int before use as array indexes. The change will be available in the 1.6.5 release, which should be out in the near future. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php