- Output for 7.1.17
- Parse error: syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) in /in/h9PWp on line 6
Process exited with code 255.
<?php
class Test
{
public $a = 'a',
protected $b = 'b';
private $c = 'c';
}
var_export((array) new \Test());