3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tracking = '1Z0ER5190360727519'; if(preg_match("/\b(1Z ?[0-9A-Z]{3} ?[0-9A-Z]{3} ?[0-9A-Z]{2} ?[0-9A-Z]{4} ?[0-9A-Z]{3} ?[0-9A-Z]|[\dT]\d\d\d ?\d\d\d\d ?\d\d\d)\b/i", $tracking)==1){print "http://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=".$tracking;} if(preg_match("/\b((96\d\d\d\d\d ?\d\d\d\d|96\d\d) ?\d\d\d\d ?d\d\d\d( ?\d\d\d)?)\b/i", $tracking)==1){print "FedEx";} if(preg_match("/\b(91\d\d ?\d\d\d\d ?\d\d\d\d ?\d\d\d\d ?\d\d\d\d ?\d\d|91\d\d ?\d\d\d\d ?\d\d\d\d ?\d\d\d\d ?\d\d\d\d)\b/i", $tracking)==1){print "USPS";}

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.0rc40.0160.00698.97
7.3.0rc30.0630.00716.85
7.3.0beta10.0180.00312.60
7.3.0alpha10.0000.01112.83
7.2.60.0060.00617.04
7.2.00.0060.00919.68
7.1.200.0060.00916.01
7.1.100.0090.00617.76
7.1.70.0040.00417.07
7.1.60.0070.01019.33
7.1.50.0070.01117.13
7.1.00.0000.08022.50
7.0.200.0660.00915.00
7.0.140.0000.07722.18
7.0.100.0270.05019.98
7.0.90.0170.07320.14
7.0.80.0330.08719.88
7.0.70.0330.08020.03
7.0.60.0430.07719.93
7.0.50.0330.08720.36
7.0.40.0130.07720.11
7.0.30.0070.08020.05
7.0.20.0070.07720.13
7.0.10.0230.06020.12
7.0.00.0130.07020.04
5.6.280.0030.06721.02
5.6.250.0070.04720.49
5.6.240.0130.08320.68
5.6.230.0130.07320.59
5.6.220.0100.08020.57
5.6.210.0070.06720.43
5.6.200.0130.07320.95
5.6.190.0130.07721.02
5.6.180.0070.08320.95
5.6.170.0130.07321.07
5.6.160.0070.07721.02
5.6.150.0070.07321.02
5.6.140.0100.07721.09
5.6.130.0130.04721.10
5.6.120.0030.07320.99
5.6.110.0030.07321.06
5.6.100.0100.08021.06
5.6.90.0030.05721.08
5.6.80.0070.05320.51
5.6.70.0030.08320.50
5.6.60.0070.08020.40
5.6.50.0130.07020.52
5.6.40.0000.08020.29
5.6.30.0130.06720.34
5.6.20.0170.07020.39
5.6.10.0130.07320.36
5.6.00.0100.04020.42
5.5.380.0130.08020.57
5.5.370.0070.06720.41
5.5.360.0170.07020.48
5.5.350.0030.07720.46
5.5.340.0130.08020.73
5.5.330.0170.05320.77
5.5.320.0070.05720.88
5.5.310.0130.08020.80
5.5.300.0030.08320.88
5.5.290.0100.07020.82
5.5.280.0070.07320.77
5.5.270.0070.08720.87
5.5.260.0070.08320.87
5.5.250.0170.07020.57
5.5.240.0070.06020.24
5.5.230.0070.07320.16
5.5.220.0030.05020.29
5.5.210.0200.06720.21
5.5.200.0200.06320.18
5.5.190.0130.07020.21
5.5.180.0000.06320.14
5.5.160.0100.07020.26
5.5.150.0100.08020.26
5.5.140.0070.04720.18
5.5.130.0030.04720.10
5.5.120.0070.04320.21
5.5.110.0170.06720.13
5.5.100.0030.08719.97
5.5.90.0170.06020.10
5.5.80.0100.07720.09
5.5.70.0130.06720.06
5.5.60.0170.06720.02
5.5.50.0130.07320.09
5.5.40.0170.08720.09
5.5.30.0130.07320.14
5.5.20.0030.08020.04
5.5.10.0030.08020.03
5.5.00.0130.05720.05
5.4.450.0030.07719.10
5.4.440.0070.08319.23
5.4.430.0030.06719.46
5.4.420.0030.09019.45
5.4.410.0130.07319.34
5.4.400.0030.08018.98
5.4.390.0030.04719.14
5.4.380.0070.06018.96
5.4.370.0070.07018.95
5.4.360.0070.08319.09
5.4.350.0100.04018.78
5.4.340.0030.08018.95
5.4.320.0200.07019.12
5.4.310.0100.07719.07
5.4.300.0070.07018.80
5.4.290.0200.06319.12
5.4.280.0130.06719.04
5.4.270.0070.07319.12
5.4.260.0100.07019.14
5.4.250.0130.07019.11
5.4.240.0070.07719.09
5.4.230.0130.07319.12
5.4.220.0070.06718.97
5.4.210.0130.05318.78
5.4.200.0130.07018.90
5.4.190.0070.05719.13
5.4.180.0030.04718.80
5.4.170.0070.07719.15
5.4.160.0070.08019.04
5.4.150.0030.04018.79
5.4.140.0030.07016.41
5.4.130.0100.05316.32
5.4.120.0130.06716.41
5.4.110.0130.07016.32
5.4.100.0130.07016.48
5.4.90.0070.07316.31
5.4.80.0000.04716.24
5.4.70.0130.06716.26
5.4.60.0130.06016.41
5.4.50.0070.05016.28
5.4.40.0070.04016.46
5.4.30.0070.05716.23
5.4.20.0070.04016.31
5.4.10.0130.06016.39
5.4.00.0030.04715.72
5.3.290.0170.06014.66
5.3.280.0030.07714.41
5.3.270.0000.05014.58
5.3.260.0070.04714.56
5.3.250.0030.04314.58
5.3.240.0070.08014.60
5.3.230.0030.04714.58
5.3.220.0070.07714.42
5.3.210.0100.07014.39
5.3.200.0100.07714.38
5.3.190.0070.07314.52
5.3.180.0070.08014.52
5.3.170.0070.06714.51
5.3.160.0000.05314.52
5.3.150.0100.07014.55
5.3.140.0130.07014.56
5.3.130.0070.05314.54
5.3.120.0100.04014.50
5.3.110.0070.08014.40
5.3.100.0100.06714.03
5.3.90.0070.05713.84
5.3.80.0000.06314.02
5.3.70.0130.07014.02
5.3.60.0130.06313.98
5.3.50.0130.04313.89
5.3.40.0130.06313.95
5.3.30.0170.06713.76
5.3.20.0170.07013.46
5.3.10.0030.04713.61
5.3.00.0070.05713.40
5.2.170.0030.06311.57
5.2.160.0030.05011.57
5.2.150.0100.04311.57
5.2.140.0100.06311.57
5.2.130.0100.05711.57
5.2.120.0070.06011.57
5.2.110.0030.05311.57
5.2.100.0000.04711.57
5.2.90.0000.06011.57
5.2.80.0030.06711.57
5.2.70.0030.06011.57
5.2.60.0030.05011.57
5.2.50.0100.06011.57
5.2.40.0030.05711.57
5.2.30.0030.06311.57
5.2.20.0100.06711.57
5.2.10.0030.03711.57
5.2.00.0100.06311.57
5.1.60.0100.04711.57
5.1.50.0000.04711.57
5.1.40.0030.05711.57
5.1.30.0070.05711.57
5.1.20.0030.05711.57
5.1.10.0030.05711.57
5.1.00.0000.03311.57
5.0.50.0030.04711.57
5.0.40.0070.04011.57
5.0.30.0030.06011.57
5.0.20.0030.04711.57
5.0.10.0100.03711.57
5.0.00.0070.06011.57
4.4.90.0030.03711.57
4.4.80.0000.03711.57
4.4.70.0000.03711.57
4.4.60.0000.03011.57
4.4.50.0030.03311.57
4.4.40.0030.05011.57
4.4.30.0030.02711.57
4.4.20.0030.03311.57
4.4.10.0070.03311.57
4.4.00.0000.06011.57
4.3.110.0070.03011.57
4.3.100.0030.03311.57
4.3.90.0000.03711.57
4.3.80.0030.05311.57
4.3.70.0000.03311.57
4.3.60.0030.03311.57
4.3.50.0000.04011.57
4.3.40.0000.05311.57
4.3.30.0000.03711.57
4.3.20.0000.04011.57
4.3.10.0000.04011.57
4.3.00.0000.02711.57