Markus Fischer wrote:
> can't tell if ZE2 has static class properties, anyone else?
Yes, just have a look at ZendEngine2/ZEND_CHANGES.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastia
<[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 10:58 AM
Subject: Re: [PHP-DEV] static not working as expected
> 'statis' is ONLY used inside functions. You need the 'var'
> keyword to define class property. This is true for ZE1, I
> can't tell i
'statis' is ONLY used inside functions. You need the 'var'
keyword to define class property. This is true for ZE1, I
can't tell if ZE2 has static class properties, anyone else?
- Markus
On Tue, Jun 18, 2002 at 10:42:43AM -0700, Purushotham Komaravolu wrote :
>
> class Coun
counter;
print "\n";
}
}
class SingletonCounter {
static $m_instance = NULL; // throwing error here
function Instance()
{
if (self::$m_instance == NULL) {
self::$m_instance = new Cou