Re: [PHP-DEV] $obj = new foo() patch From: André Langhorst (A.Langhorst <email protected>)
Date: 11/09/00

> Please check it out. If there are any problems/concerns with this bug it
> is best to leave it out for 4.0.4 but it should not harm anyone's scripts.
> The following bugs are probably solved now: 6529, 6896, 7454, 7455, 7482
> Anyway, please grab a fresh CVS tree and check that your OOP code still
> works :)

1) It´s broken.

<?php
class foo {
        
        function foo() {
                $this->why_not($this->ret1()); }
        
        function ret1() {
                $obj1->a='test';
                return $obj1; }
        
        function why_not(&$obj) { }
         }
        
$x = new foo();
?>
2) current CVS does not work as apache module, I´m getting a popup
"php_unregister_ini_entries" not found in php4dll

andré

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>