Re: [RFC] Safe Casting Functions

From: Date: Wed, 22 Oct 2014 21:31:34 +0000
Subject: Re: [RFC] Safe Casting Functions
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-78250@lists.php.net to get a copy of this message
Hi! > Are you opposed to the existence of ext/filter given it has > FILTER_VALIDATE_INT, a “primitive for handling type conversions”? FILTER_VALIDATE_INT is an option for a filter_var function, and it is not introducing any new rules for handling types in the engine. What you are proposing is not like FILTER_VALIDATE_INT, it's like (int). -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/

« previous php.internals (#78250) next »