- Output for 5.5.24 - 5.5.31, 5.6.8 - 5.6.17, 7.0.0 - 7.0.2
- Parse error: syntax error, unexpected 'createMeasurement' (T_STRING), expecting variable (T_VARIABLE) in /in/07eTq on line 7
Process exited with code 255.
<?php
class Performance
{
private static $measurements = [];
public static createMeasurement()
{
// ...
}
}
class yoMama extends Performance{
public static function getThatTestShit(){
return self::$measurements;
}
}
echo yoMama::getThatTestShit();