- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0 - 7.0.1
- Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ',' or ';' in /in/nU5jY on line 7
Process exited with code 255.
<?php
Class Obj {
static public $p = 'Beauty beyond comare ...';
static function showP(){
echo self->p;
}
}
$z[0] = "showP";
Obj::$z[0]();