Re: [RFC] Safe Casting Functions

From: Date: Wed, 22 Oct 2014 08:17:47 +0000
Subject: Re: [RFC] Safe Casting Functions
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-78220@lists.php.net to get a copy of this message
Hi! >>> - it's probably make sense to implement these function as a new >> opcode(s) in VM >> >> That could be an optimisation later, yes. I note that you’ve added >> function replacement with opcodes for certain commonly-used functions. We >> could make these functions use that. Then they’d still be usable as >> callbacks. If those are opcodes, those rules will require 2/3 majority for acceptance, since those will be the engine rules for type conversion, not just a set of functions. And, of course, the rules not matching the other engine rules for type conversion, sorry for sounding like broken record. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/

« previous php.internals (#78220) next »