3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $in2 = 'Last 5 seconds input rate 1304159.37 bytes/sec, 10433275 bits/sec, 942.59 packets/sec'; preg_match('~bytes/sec, (.*?) bits/sec~', $in2 $out2); echo $out2;
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected '$out2' (T_VARIABLE), expecting ',' or ')' in /in/VCIHO on line 4
Process exited with code 255.
Output for 5.4.11 - 5.6.16
Parse error: syntax error, unexpected '$out2' (T_VARIABLE) in /in/VCIHO on line 4
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE in /in/VCIHO on line 4
Process exited with code 255.