- Output for 7.1.26 - 7.1.33, 7.2.17 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
- Parse error: syntax error, unexpected '[', expecting '(' in /in/rqUJf on line 10
Process exited with code 255.
<?php
class someClass {
static $property = 'This calls the property';
static function someMethod() {
print 'This calls the method';
}
}
$someFunc = array['someClass', 'someMethod'];
someFunc();
?>