Re: [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters

From: Date: Fri, 09 Mar 2012 06:39:31 +0000
Subject: Re: [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-58805@lists.php.net to get a copy of this message
On Fri, Mar 9, 2012 at 10:58 AM, Ilia Alshanetsky <ilia@prohost.org> wrote: > Anthony, > > My concern with this type of patch is that what you are proposing are > not really hints, they are forced casts. As such they modify the data > potentially leading to data loss. > But at least it's consistent with "array" and class name qualifiers that php already has, regardless of what you want to call it, be it hints, casts, typing, etc.

« previous php.internals (#58805) next »