fork download
  1. class Caller
  2. {
  3. private $x = array(1, 2, 3);
  4. function _call($m, $a)
  5. {
  6. print "Modelo $m chamado:\n";
  7. var_dump($a);
  8. return this->$x;
  9. }
  10. }
Success #stdin #stdout 0s 82880KB
stdin
Standard input is empty
stdout
class Caller
{
  private $x = array(1, 2, 3);
  function _call($m, $a)
  {
    print "Modelo $m chamado:\n";
    var_dump($a);
    return this->$x;
  }
}