- Output for 5.4.0 - 5.4.7
- Parse error: syntax error, unexpected 'var' (T_VAR) in uWrM3 on line 6
Process exited with code 255. - Output for 5.3.0 - 5.3.17
- Parse error: syntax error, unexpected T_VAR in uWrM3 on line 6
Process exited with code 255.
<?php
class Test{
public static $types= array('admin', 'customer');
}
var $key = 'Test';
var_dump({$key}::$types);