3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match( "preg_match('/(Clients=)([0-9]{1,}),/', 'RunUO, Name=Pure Blood, Age=1, Clients=4, Items=110859, Chars=37967, Mem=270972K, Ver=2', $playersOnline ); echo $playersOnline[2]; // 1234
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected end of file in /in/TGEk1 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/TGEk1 on line 3
Process exited with code 255.