- shell_exec: documentation ( source)
<?php
class someClass {
static $property = 'This calls the property';
static function someMethod() {
print `\n`.'This calls the method';
}
}
print someClass::$property;
$property = 'someMethod';
print someClass::$property();
?>