<?php class Pituh { public function __callStatic($method, $args) { } } $f = ["Pituh", "kud-kudah"]; $f("koko", "kukareku");
Standard input is empty
Called kud-kudah with: koko, kukareku
PHP Warning: The magic method __callStatic() must have public visibility and be static in /home/WTYQVO/prog.php on line 4