Date: 06/26/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5200 Updated: Session Support for Objects"
- Previous message: Andrei Zmievski: "[PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] "::" meaning and documentation"
- Next in thread: Ulf Wendel: "Re: [PHP-DEV] "::" meaning and documentation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
So, it is like perl's :: method for packages?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Theodore Baschak - Gecko Internet Services
http://www.gecko-internet.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-----Original Message-----
From: Stanislav Malyshev [mailto:stas <email protected>]
Sent: June 26, 2000 10:59 AM
To: Ulf Wendel
Cc: php-dev <email protected>
Subject: Re: [PHP-DEV] "::" meaning and documentation
UW>> what's the meaning of "::"? I was surprised to see that this code
works:
UW>> foo::do();
Exactly for this is "::".
UW>> Does it officially introduce static method calls or is this a side
UW>> effect? If so, I would like to see some documentation on it and how can
UW>> a static class use the pseudo object $this to access it's properties
UW>> (but not it's methods)?
It can't. $this is empty if called via this method.
-- Stanislav Malyshev stas <email protected> +972-3-6139665-- 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>
-- 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: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5200 Updated: Session Support for Objects"
- Previous message: Andrei Zmievski: "[PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] "::" meaning and documentation"
- Next in thread: Ulf Wendel: "Re: [PHP-DEV] "::" meaning and documentation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

