3v4l.org

run code in 300+ PHP versions simultaneously
<?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.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected '$out2' (T_VARIABLE) in /in/VCIHO on line 4
Process exited with code 255.

preferences:
162.63 ms | 1395 KiB | 26 Q