note 8943 rejected from language.oop by sander

From: Date: Sat, 06 Apr 2002 18:52:12 +0000
Subject: note 8943 rejected from language.oop by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28729@lists.php.net to get a copy of this message
Static class methods are apparently supported in php v4.02. I don't know about earlier versions. Let's say you've got the following class. class test { function print() { print("it works.\n"); } } then you can access the method through test::print(); I don't know if this is documented somewhere, but I never read it and thought the static class methods were just not supported. Hope this helps.

« previous php.notes (#28729) next »