[PHP-WIN] static

2005-03-02 Thread Joakim Ling
hi class foo { static public $a = 1; public function __construct() { echo $this->a; /* does not work */ echo foo::$a; /* work */ } } Can someone please explain to me why I have to call $a outside the class to get the value?

RE: [PHP-WIN] static

2005-03-02 Thread N . A . Morgan
Check out the Zend website http://www.zend.com/manual/language.oop5.static.php Neil Morgan -Original Message- From: Joakim Ling [mailto:[EMAIL PROTECTED] Sent: 02 March 2005 08:53 To: php-windows@lists.php.net Subject: [PHP-WIN] static hi class foo { static public $a = 1; public

[PHP-WIN] Re: [Request] ISAPI and Keep-Alives

2005-03-02 Thread Jason Barnett
Louis Solomon wrote: > Any chance of fixing the ISAPI to allow HTTP Keep-Alives? > > and no, it's not just me :-) I checked the source code. it returns > HSE_STATUS_SUCCESS for all success cases. It needs to return > HSE_STATUS_SUCCESS_AND_KEEP_CONN to allow Keep-Alives to work. (and of > cours

[PHP-WIN] Re: Error 500 in IIS weblog

2005-03-02 Thread Jason Barnett
Louis Solomon wrote: > not happening here. > 500 errors mean that you have an internal server error. Often times this is because you misconfigured IIS and/or PHP. Try checking the archives, you should find the answer to this one there. (Of course if none of those answers work, then you can com

Re: [PHP-WIN] static

2005-03-02 Thread Jason Barnett
> > class foo { > > static public $a = 1; > > public function __construct() { > > echo $this->a; /* does not work */ > > echo foo::$a; /* work */ echo self::$a; /* work */ > > } > > } > > > > Can someone please explain to me why I have to call $a outside the class to > get the v

[PHP-WIN] Gd2 dll library version higher than 2.0.28.

2005-03-02 Thread Xtlan
Hello. I am an user of PHP ver. 5.x distributed for windows under IIS server. Recently, I have read about gd 2.0.29 and the newest one - ver. 2.0.33 (http://www.boutell.com/gd/ site) - but unfortunately they haven't supported GD version for PHP released for windows. I wonder if there is any possib