3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = array('text1', 'text-fixed-font3', 'text2'); foreach($text as $str) { preg_match_all('#\d+#', $str, $matches); var_dump($matches[0][0]); }

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.310.0200.04719.22
5.4.300.0200.05018.87
5.4.290.0170.03719.21
5.4.280.0200.04019.09
5.4.270.0200.06718.84
5.4.260.0170.06719.19
5.4.250.0200.03719.05
5.4.240.0300.06019.16
5.4.230.0330.06319.14
5.4.220.0230.06319.23
5.4.210.0230.07319.14
5.4.200.0230.07319.07
5.4.190.0230.07719.23
5.4.180.0230.07319.23
5.4.170.0230.04019.30
5.4.160.0370.05319.22
5.4.150.0230.05019.05
5.4.140.0270.04316.39
5.4.130.0270.05316.50
5.4.120.0330.03316.34
5.4.110.0230.03016.50
5.4.100.0230.05316.57
5.4.90.0200.05716.50
5.4.80.0270.03716.52
5.4.70.0170.03716.57
5.4.60.0100.04716.25
5.4.50.0170.04716.16
5.4.40.0130.06316.42
5.4.30.0200.04016.52
5.4.20.0230.06316.53
5.4.10.0270.03016.48
5.4.00.0230.05015.89
5.3.280.0130.04314.47
5.3.270.0200.03314.44
5.3.260.0270.07014.45
5.3.250.0200.06314.60
5.3.240.0200.04314.66
5.3.230.0170.04014.50
5.3.220.0200.04014.43
5.3.210.0270.03714.51
5.3.200.0270.06714.52
5.3.190.0230.04314.62
5.3.180.0200.04014.61
5.3.170.0230.03314.47
5.3.160.0170.04014.47
5.3.150.0330.04314.46
5.3.140.0230.07314.65
5.3.130.0230.06314.49
5.3.120.0330.06714.56
5.3.110.0270.04714.50
5.3.100.0230.07014.09
5.3.90.0270.03714.05
5.3.80.0330.06713.86
5.3.70.0370.04013.89
5.3.60.0270.06714.05
5.3.50.0270.04013.82
5.3.40.0270.07013.89
5.3.30.0330.06013.68
5.3.20.0300.04013.60
5.3.10.0300.05713.70
5.3.00.0330.06713.68
5.2.170.0230.04011.10
5.2.160.0230.04310.98
5.2.150.0200.05011.00
5.2.140.0200.06011.31
5.2.130.0200.03711.18
5.2.120.0200.05310.99
5.2.110.0200.06310.94
5.2.100.0200.06011.26
5.2.90.0200.03011.14
5.2.80.0200.02711.04
5.2.70.0200.02710.93
5.2.60.0100.03310.94
5.2.50.0130.03010.95
5.2.40.0270.04010.93
5.2.30.0100.04311.01
5.2.20.0200.03010.80
5.2.10.0130.06710.91
5.2.00.0170.04710.82
5.1.60.0230.04710.00
5.1.50.0230.0439.89
5.1.40.0170.03310.02
5.1.30.0130.03310.20
5.1.20.0170.06010.21
5.1.10.0170.05310.04
5.1.00.0130.03310.12
5.0.50.0100.0408.49
5.0.40.0100.0438.49
5.0.30.0130.0338.34
5.0.20.0070.0208.10
5.0.10.0100.0378.21
5.0.00.0100.0478.38
4.4.90.0070.0177.88
4.4.80.0130.0107.88
4.4.70.0100.0137.88
4.4.60.0070.0277.88
4.4.50.0070.0137.88
4.4.40.0100.0577.88
4.4.30.0070.0137.88
4.4.20.0030.0207.88
4.4.10.0030.0177.88
4.4.00.0130.0207.88
4.3.110.0030.0177.88
4.3.100.0030.0177.88
4.3.90.0030.0207.88
4.3.80.0070.0237.88
4.3.70.0070.0237.88
4.3.60.0070.0137.88
4.3.50.0030.0177.88
4.3.40.0070.0237.88
4.3.30.0030.0237.88
4.3.20.0030.0177.88
4.3.10.0000.0177.88
4.3.00.0000.0177.88

preferences:
138.49 ms | 1394 KiB | 7 Q