Re: Stop Breaking Our Apps For the Sake of OO

From: Date: Thu, 11 May 2006 18:38:22 +0000
Subject: Re: Stop Breaking Our Apps For the Sake of OO
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hello guys,

  sorry but i worked >12 hours on patch that brought half of the todo list
for 5.2 because all that stuff is unluckily interlinked.....and guess i can
make changes in a dev tree as well as there might be errors in head and i
even more might copy errors from head to the dev tree....too bad but why not
write a simple test case which i can care for?

Thursday, May 11, 2006, 4:07:01 PM, you wrote:

> On Thu, 11 May 2006, Derick Rethans wrote:

>> While I welcome new developments in either procedural or OO interfaces 
>> in PHP I do not agree with breaking BC (between 5.1 and 5.2 in this 
>> case) just for the sake of OO purity. In this example there is the 
>> following class:

> <snip>

> I've one more of those things. How to test if you're using PHP 5.1 or 
> PHP 5.2:

> <?php

> class Bla
> {
> }

> $b = new Bla;

> if( $b != null )
> {
>         echo "PHP 5.1";
> }
> else
> {
>         echo "PHP 5.2";
> }
?>>

> regards,
> Derick

> -- 
> Derick Rethans
> http://derickrethans.nl | http://ez.no | http://xdebug.org




Best regards,
 Marcus


Thread (33 messages)

« previous php.internals (#23261) next »