Hi:
On 09 Jan 2011, at 17:23, Stefan Marr wrote:
>> This is the same with interfaces. What does class_exists('some_trait')
>> do? - I assume that returns true too.
> It does return false for interfaces, that should be consistent and return
> false for traits, too.
Ok, that is fixed and I added a
On Sat Jan 8 06:33 AM, Ben Schmidt wrote:
>
> > Creating a patch will help getting feedback about what you're
> > proposing http://ca3.php.net/reST/php-src/README.MAILINGLIST_RULES
>
> I hope I haven't broken any of the mailing list rules, but my
> apologies if I have, and please point out spec
On 06 Jan 2011, at 15:33, Johannes Schlüter wrote:
> On Thu, 2011-01-06 at 14:38 +0100, Stefan Marr wrote:
>>
>> On of those things is that you actually use ReflectionClass to reflect
>> on a trait.
>> That is really an implementation detail, and should be changed to not
>> confuse anyone on a c
I think adding a magic constant or method for getting the class name would
be usefull in many scenarios, when referencing a specific class (e.g.
factories, configurations). It would also work well with namespaces and
refactoring tools e.g.:
$mock = $this->getMock('\\My\\Custom\\Namespace\\MyClass'
hi,
Please provide patches first, via the internals mailing and the bugs
tracker. After some time (and some patches), this request can be (re)
considered.
Cheers,
On Sun, Jan 9, 2011 at 10:40 AM, Hannes Magnusson
wrote:
> On Sat, Jan 8, 2011 at 22:11, Nandor Sivok wrote:
>> Maintaining the doc
On Sat, Jan 8, 2011 at 22:11, Nandor Sivok wrote:
> Maintaining the documentation
> Maintaining an official, bundled PHP extension
>
Which one?
-Hannes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php