Re: 5.4 regression: non-existent sub-sub keys now have values

From: Date: Fri, 25 Nov 2011 02:37:03 +0000
Subject: Re: 5.4 regression: non-existent sub-sub keys now have values
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-56609@lists.php.net to get a copy of this message
Hi Stas: > I have no idea why Drupal would use side effects > of string offset bugs to distinguish between arrays and strings They're not trying to distinguish between strings and arrays. People using this syntax are trying to see if a particular array element is populated. In the past, it happened to also weed out strings. Now it won't. Thanks, --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

« previous php.internals (#56609) next »