Marc Weber wrote:
>
> Why can't I use static functions in array_map?
>
> Example:
>
> class Dummy
> {
> static public function T($a)
> {
> echo "T called with $a\n";
> return $a+2;
> }
> }
>
> function t($a)
> {
> echo "t called with $a\n";
> return $a*2;
> }
>
> echo 'invok
On Fri, 2005-12-09 at 14:48, Michael B Allen wrote:
> Is there any way to have static functions and members of an Object w/ PHP
> 4.3? Like:
>
> class Auth {
> static var error;
>
> static function authenticate() {
> ...
> }
> }
>
> Auth::authenticate();
>
> ?
At 22:18 9-2-2003, you wrote:
Hi, I'm a bit of a newbie to PHP, I've done some stuff in Java/VB/C++
but I'm having a few problems finding info on this issue.
Does PHP support something like static functions in Java?
afaik the answer is no, but please do not rely on my pitiful opinion. I
only us
3 matches
Mail list logo