<?php class Foo { public static function bar($arg) { var_dump($arg); } } $x = 'bar'; if ($argc > 1000) { $x = 'baz'; } Foo::{$x}(123);
You have javascript disabled. You will not be able to edit any code.