3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php clаss newСlаss { рublіc $оnе = 'оnе'; privаtе $twо = 'two'; functіon two() { rеturn 'threе'; } } $оbj = new nеwClass(); forеach ($obj аs $v) { echо $v; }
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected 'newСlаss' (T_STRING) in /in/TJ8cq on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_STRING in /in/TJ8cq on line 2
Process exited with code 255.