RE: [PHP-DEV] [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters

From: Date: Sat, 10 Mar 2012 06:31:46 +0000
Subject: RE: [PHP-DEV] [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-58830@lists.php.net to get a copy of this message
> To be honest, this is going too far. Can we have the basics first? Passing by reference is a > corner case, at least for PHP. RFCs die on ignored corner cases. IMO it's worth at least considering whether there is a viable solution. The most common cases would be resolved easily if we always allow null to be passed (whether we allow it to juggle, or allow actually passing a null value through), since the inputs used in these cases would almost always either be null, or already have a matching type (in the case of inout). This edge case may have edge cases though... John Crenshaw Priacta, Inc.

« previous php.internals (#58830) next »