Re: cleaning up the functions - any volunteers?

From: Date: Sun, 22 Jun 2008 21:51:45 +0000
Subject: Re: cleaning up the functions - any volunteers?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-38523@lists.php.net to get a copy of this message
Hi!
Since 5.0 this would lead to $bar being false and not $array. While it could be argued that the user should do an explicit cast himself, it was still a clear BC issue that caused a lot of issues for developers.
Generally I think it would be nice if all functions behaved uniformly (i.e. zend_parse_parameters has a standard, all use it). But we could create special cases by accepting things as "z" and doing whatever we want, I guess. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#38523) next »