On Mon, Oct 24, 2011 at 2:53 PM, Pierre Joye <[email protected]> wrote:
> hi,
>
> Referring to:
>
> https://bugs.php.net/bug.php?id=55300
> and in some extend to https://bugs.php.net/bug.php?id=55175
>
> I tend to think that it could have a very bad impact on existing and
> will prevent many users to migrate easily to 5.4, or smoothly. I think
> we have to figure a fix for this problem while making it 100% BC with
> 5.3. I'd to discuss this problem before we go with the 1st RC.

Pierre,

Is it too much deviation to auto-call the DirectoryIterator
constructor if the dev made a __construct() in the child class but
didn't call the parent construct(), ONLY when the DirectoryIterator's
functionality is referenced. Aka a lazy-load check.

It's a silent call, and i'm not in favour of silent stuff but maybe
this has sparked a few ideas for people reading this discussion to
come up with a less magic solution.

Regards,
Paul Dragoonis.

>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to