Re: towards the next 5.3 release

From: Date: Thu, 05 Feb 2009 19:53:18 +0000
Subject: Re: towards the next 5.3 release
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-42947@lists.php.net to get a copy of this message
On Thu, 2009-02-05 at 11:06 -0800, Sebastian Bergmann wrote: > Johannes Schlüter wrote: > > Of course we could, we'd "just" have to change a structure and > > zend_verify_arg_class_kind() and of course the language syntax to allow > > something like "function foo(A|B $bar) {}" but this still would mean to > > This should, of course, only be for built-in functions and methods. But > yeah, it probably does more harm than good. Doing this for built-in stuff won't help the issue here is about overloading an internal method. So we'd have to give it to userland. > It just sucks, IMHO, that some functions and methods will not have > Reflection API metadata because the same arginfo structure is used for > two things. But I will shut up now. So reflection should use other data than the engine thus leading to inconsistencies? Reflection's purpose is to give the engine's information to userland ... johannes

« previous php.internals (#42947) next »