3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $string = ' * Time Stamp: 2012-12-03 16:36:04 * Speed: 7 km/h * Heading: 356 deg (N) * Event ID: -48 * Event Desc: .Arrived at Inbound Receiving * Event Value: -56 * Event Value Type: 0'; preg_match_all("/ ([a-z ]+):([a-z0-9:\- ]+)/i", $string,$match); $values = array_combine($match[1], $match[2]) ; echo $values['Time Stamp'] ,PHP_EOL ; echo $values['Speed'] ,PHP_EOL ; echo $values['Heading'] ,PHP_EOL ; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.90.0220.04511.98
5.4.80.0270.06611.98
5.4.70.0190.04711.98
5.4.60.0190.04411.98
5.4.50.0270.06711.98
5.4.40.0170.04611.97
5.4.30.0220.04311.97
5.4.20.0250.06711.96
5.4.10.0220.05511.96
5.4.00.0140.04711.46
5.3.190.0370.07812.67
5.3.180.0220.04312.67
5.3.170.0330.06812.67
5.3.160.0180.04912.67
5.3.150.0200.04912.67
5.3.140.0320.08012.66
5.3.130.0180.04512.66
5.3.120.0320.06712.65
5.3.110.0240.05812.66
5.3.100.0250.05912.12
5.3.90.0260.06712.08
5.3.80.0190.04412.07
5.3.70.0210.04512.08
5.3.60.0300.06812.06
5.3.50.0200.05912.00
5.3.40.0260.06812.00
5.3.30.0220.04411.94
5.3.20.0160.04711.73
5.3.10.0180.04511.69
5.3.00.0280.05311.67

preferences:
138.89 ms | 1394 KiB | 7 Q