Arquivos
hhvm/hphp/test/quick/__call.php
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

15 linhas
291 B
PHP

<?
class HasCall {
public function __call($name, $args) {
echo "__call: name ".print_r($name, true)." args ".
print_r($args, true)."\n";
}
}
$hc = new HasCall();
$hc->CasePreserving(array(1=>2, 3=>15));
$methName = "SnooZZZ";
$hc->$methName("llberries");