3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Singleton { privaate $data; }
Output for 5.4.0 - 5.4.14
Parse error: syntax error, unexpected 'privaate' (T_STRING), expecting function (T_FUNCTION) in /in/EqTOW on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.24
Parse error: syntax error, unexpected T_STRING in /in/EqTOW on line 3
Process exited with code 255.

preferences:
174.57 ms | 1386 KiB | 47 Q