Date: 08/13/00
- Next message: Danny Heijl: "[PHP-DEV] Re: PHP 4.0 Bug #6033 Updated: Can't open more than one non-persistent connections to the same database"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] PHP 4.0 Bug #6011 Updated: switch() dont go in default: if the switch is empty except default:"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #6039 Updated: PHP Crashed if class contain reference by other class"
- Next in thread: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #6039 Updated: PHP Crashed if class contain reference by other class"
- Reply: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #6039 Updated: PHP Crashed if class contain reference by other class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 02:18 PM 8/13/00 +0300, Stanislav Malyshev wrote:
>BD>> what exactly creates that crash here, following the exact
>BD>> way PHP should go through the code I cannot reveal any
>BD>> paradox or complicated situations...
>
>There's a circular reference there ($this->something = &$this). PHP
>doesn't like circular references (as does almost any other
>reference-counting system - that's the downside of it). If you removed
>that circular ref and still see the crash - please publish more details.
Circular references should cause a leak (which will be cleaned up at the
end of the request) and not a crash. There is some bug there but as the
reproducing code is very strange I don't think we will have time to fix
this for 4.0.2.
Andi
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- 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>
- Next message: Danny Heijl: "[PHP-DEV] Re: PHP 4.0 Bug #6033 Updated: Can't open more than one non-persistent connections to the same database"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] PHP 4.0 Bug #6011 Updated: switch() dont go in default: if the switch is empty except default:"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #6039 Updated: PHP Crashed if class contain reference by other class"
- Next in thread: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #6039 Updated: PHP Crashed if class contain reference by other class"
- Reply: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #6039 Updated: PHP Crashed if class contain reference by other class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

