3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo base64_decode('PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu dD0idGV4dC9odG1sOyBjaGFyc2V0PWdiMjMxMiI+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNi4w MC4yOTAwLjYwNTgiIG5hbWU9R0VORVJBVE9SPjwvSEVBRD4NCjxCT0RZPg0KPFA+Jm5ic3A7PC9Q PjwvQk9EWT48L0hUTUw+DQo=');
based on LPPsa

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.10.0030.01016.53
7.3.00.0040.00716.37
7.2.130.0060.00816.61
7.2.120.0000.01316.70
7.2.110.0030.00916.47
7.2.100.0070.00716.22
7.2.90.0110.00416.78
7.2.80.0000.00816.40
7.2.70.0030.00616.49
7.2.60.0030.01016.86
7.2.50.0090.00016.75
7.2.40.0060.00316.45
7.2.30.0040.00816.77
7.2.20.0060.00316.66
7.2.10.0060.00316.51
7.2.00.0020.01318.10
7.1.250.0060.00315.32
7.1.100.0190.00317.97
7.1.70.0040.00417.16
7.1.60.0070.01419.50
7.1.50.0100.01416.82
7.1.00.0070.07322.44
7.0.200.0790.00314.73
7.0.140.0000.07722.04
7.0.60.0030.07720.02
7.0.50.0030.04717.80
7.0.40.0100.03720.20
7.0.30.0230.04020.17
7.0.20.0270.04320.02
7.0.10.0270.04020.12
7.0.00.0100.08320.00
5.6.280.0070.07021.07
5.6.210.0170.06320.65
5.6.200.0030.09018.18
5.6.190.0130.08320.54
5.6.180.0270.07020.65
5.6.170.0330.07720.33
5.6.160.0030.06320.43
5.6.150.0070.04018.16
5.6.140.0030.04018.20
5.6.130.0070.07718.20
5.6.120.0030.07321.13
5.6.110.0170.07720.97
5.6.100.0100.07021.03
5.6.90.0000.09321.12
5.6.80.0100.06020.37
5.6.70.0200.07320.36
5.5.350.0130.06020.41
5.5.340.0070.08018.02
5.5.330.0030.04020.29
5.5.320.0130.06720.07
5.5.310.0400.07320.34
5.5.300.0070.03717.91
5.5.290.0070.07318.01
5.5.280.0130.03020.68
5.5.270.0130.07020.87
5.5.260.0030.08720.85
5.5.250.0030.08720.57
5.5.240.0070.08020.28
5.4.450.0630.05319.49
5.4.440.0870.06719.24
5.4.430.0130.05319.47
5.4.420.0900.06319.61
5.4.410.0000.06319.46
5.4.400.0230.05318.83
5.4.390.0330.05018.49
5.4.380.0270.05018.44
5.4.370.0200.05318.72
5.4.360.0230.04718.68
5.4.350.0230.05318.69
5.4.340.0200.05318.74
5.4.320.0230.05318.70
5.4.310.0300.04318.58
5.4.300.0270.04718.65
5.4.290.0270.05018.56
5.4.280.0300.04718.59
5.4.270.0230.05318.49
5.4.260.0270.05018.66
5.4.250.0270.05318.67
5.4.240.0130.06318.70
5.4.230.0230.05018.55
5.4.220.0200.05718.68
5.4.210.0270.05718.72
5.4.200.0170.06716.65
5.4.190.0170.05718.76
5.4.180.0270.05018.75
5.4.170.0330.04718.72
5.4.160.0170.06718.68
5.4.150.0300.05018.70
5.4.140.0230.05716.25
5.4.130.0400.04316.23
5.4.120.0330.05016.08
5.4.110.0330.04716.12
5.4.100.0270.04716.16
5.4.90.0270.05316.16
5.4.80.0300.05316.33
5.4.70.0330.04316.23
5.4.60.0370.04716.14
5.4.50.0330.04716.13
5.4.40.0130.06016.27
5.4.30.0270.05016.21
5.4.20.0330.05316.22
5.4.10.0200.05316.26
5.4.00.0270.04715.67
5.3.290.0230.05314.61
5.3.280.0200.05314.58
5.3.270.0270.04714.55
5.3.260.0130.06014.53
5.3.250.0230.05314.50
5.3.240.0300.04314.68
5.3.230.0200.05314.63
5.3.220.0300.04314.59
5.3.210.0200.06014.46
5.3.200.0300.04014.56
5.3.190.0230.04714.63
5.3.180.0270.04714.50
5.3.170.0100.06314.49
5.3.160.0330.04014.45
5.3.150.0270.05014.63
5.3.140.0170.06714.48
5.3.130.0130.06314.64
5.3.120.0200.05714.45
5.3.110.0230.05314.49
5.3.100.0230.05314.03
5.3.90.0230.04714.09
5.3.80.0100.06313.93
5.3.70.0200.05313.93
5.3.60.0270.04713.94
5.3.50.0300.05713.97
5.3.40.0170.06013.83
5.3.30.0230.04713.88
5.3.20.0200.05013.58
5.3.10.0130.05313.56
5.3.00.0200.05313.53
5.2.170.0270.03711.19
5.2.160.0130.06011.10
5.2.150.0200.06011.19
5.2.140.0170.05011.05
5.2.130.0230.04011.04
5.2.120.0200.04311.23
5.2.110.0170.05711.06
5.2.100.0170.05311.08
5.2.90.0170.05311.13
5.2.80.0270.05311.04
5.2.70.0130.05011.14
5.2.60.0170.06311.10
5.2.50.0100.04311.02
5.2.40.0030.05011.04
5.2.30.0230.04310.92
5.2.20.0230.04710.86
5.2.10.0200.05010.86
5.2.00.0170.04010.86
5.1.60.0230.03710.00
5.1.50.0170.03310.02
5.1.40.0170.03310.07
5.1.30.0200.03710.48
5.1.20.0100.04310.52
5.1.10.0130.04010.05
5.1.00.0200.03310.08
5.0.50.0100.0278.61
5.0.40.0130.0278.38
5.0.30.0100.0438.35
5.0.20.0030.0378.39
5.0.10.0070.0308.29
5.0.00.0070.0438.33
4.4.90.0030.0275.91
4.4.80.0030.0275.80
4.4.70.0100.0205.88
4.4.60.0070.0235.88
4.4.50.0070.0235.88
4.4.40.0100.0435.82
4.4.30.0100.0235.90
4.4.20.0100.0205.93
4.4.10.0030.0305.95
4.4.00.0100.0305.89
4.3.110.0100.0205.83
4.3.100.0100.0235.80
4.3.90.0130.0175.79
4.3.80.0130.0405.78
4.3.70.0100.0205.86
4.3.60.0030.0235.77
4.3.50.0070.0305.81
4.3.40.0030.0405.78
4.3.30.0030.0234.57
4.3.20.0100.0174.58
4.3.10.0100.0174.52
4.3.00.0100.0207.32