static crashes

From: Date: Fri, 05 Mar 2004 16:37:16 +0000
Subject: static crashes
Groups: php.internals 
Request: Send a blank email to internals+get-8383@lists.php.net to get a copy of this message
Hi The following segfaults on my linux server... <?php class bla {
    static $instance = null;
    static function getInstance() {}
} $n = bla::getInstance(); ?> if you comment out the "static $instance" line, it works... fresh HEAD checkout 15 minutes ago.. strangely enough, this works on OSX... backtrace can be found here -> http://trash.chregu.tv/bt.txt chregu -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.internals (#8383) next »