- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'doFoo' (T_STRING), expecting variable (T_VARIABLE) in /in/Ni8EE on line 7
Process exited with code 255.
<?php
class Foo
{
public doFoo($file, $args)
{
extract($args);
return $file;
}
}
$f = new Foo;
var_dump($f->doFoo('test', array('file' => $f)));