- Output for 5.4.0 - 5.4.29
- Parse error: syntax error, unexpected ';' in /in/mYh1B on line 8
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected '[' in /in/mYh1B on line 8
Process exited with code 255.
<?php
Class plo{
public function p(){
return array(1,2);
}
}
$plo = new plo;
var_dump($plo->p()[1];