3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $cntnt='base64_decode("ZWNobyAnYSc7")'; function something($tmp1,$tmp2,$content) { file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '","<?php ' . $content . ';");'); } something($tmp1,$tmp2,$cntnt); echo file_get_contents($tmp1); echo "-----"; include($tmp1); include($tmp2);

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)
8.3.60.0040.01116.62
8.3.50.0100.01318.17
8.3.40.0160.00018.97
8.3.30.0070.00719.06
8.3.20.0070.00020.47
8.3.10.0040.00421.85
8.3.00.0000.00821.76
8.2.180.0140.00316.63
8.2.170.0110.00722.96
8.2.160.0040.01122.25
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0090.00020.77
8.2.120.0000.00826.35
8.2.110.0070.00319.27
8.2.100.0060.00618.03
8.2.90.0040.00419.05
8.2.80.0060.00317.97
8.2.70.0060.00317.75
8.2.60.0050.00318.04
8.2.50.0030.00618.09
8.2.40.0000.00822.25
8.2.30.0030.00519.53
8.2.20.0030.00517.68
8.2.10.0040.00418.23
8.2.00.0070.00018.15
8.1.280.0120.00325.92
8.1.270.0150.00322.20
8.1.260.0030.00728.09
8.1.250.0090.00628.09
8.1.240.0060.00322.58
8.1.230.0060.00617.77
8.1.220.0040.00417.75
8.1.210.0030.00518.77
8.1.200.0030.00617.25
8.1.190.0030.00517.35
8.1.180.0000.00818.10
8.1.170.0060.00318.70
8.1.160.0000.00720.71
8.1.150.0050.00320.60
8.1.140.0080.00019.72
8.1.130.0000.00717.73
8.1.120.0040.00417.49
8.1.110.0070.00017.50
8.1.100.0000.00817.44
8.1.90.0050.00317.49
8.1.80.0040.00417.43
8.1.70.0060.00317.39
8.1.60.0000.00817.69
8.1.50.0040.00417.61
8.1.40.0000.00817.64
8.1.30.0040.00417.64
8.1.20.0060.00317.73
8.1.10.0040.00417.58
8.1.00.0070.00017.46
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0030.00318.44
8.0.270.0040.00417.27
8.0.260.0030.00317.29
8.0.250.0030.00317.01
8.0.240.0030.00317.01
8.0.230.0000.00717.13
8.0.220.0030.00317.07
8.0.210.0030.00317.00
8.0.200.0040.00417.11
8.0.190.0080.00017.00
8.0.180.0060.00317.11
8.0.170.0040.00717.04
8.0.160.0080.00017.02
8.0.150.0000.00716.96
8.0.140.0040.00417.02
8.0.130.0030.00313.60
8.0.120.0060.00316.99
8.0.110.0050.00317.02
8.0.100.0000.00717.11
8.0.90.0040.00416.88
8.0.80.0090.00617.03
8.0.70.0040.00417.05
8.0.60.0050.00316.87
8.0.50.0040.00416.95
8.0.30.0100.00817.05
8.0.20.0110.00817.40
8.0.10.0040.00416.97
8.0.00.0100.00816.81
7.4.330.0000.00516.81
7.4.320.0070.00016.54
7.4.300.0000.00616.58
7.4.290.0030.00316.62
7.4.280.0000.00716.55
7.4.270.0000.00716.63
7.4.260.0090.00316.64
7.4.250.0070.00016.60
7.4.240.0020.00516.65
7.4.230.0000.00716.62
7.4.220.0140.00316.62
7.4.210.0030.01216.63
7.4.200.0030.00316.53
7.4.160.0120.00316.55
7.4.150.0040.01817.40
7.4.140.0120.01017.86
7.4.130.0060.01216.61
7.4.120.0080.01116.50
7.4.110.0060.01016.57
7.4.100.0140.00316.48
7.4.90.0070.01016.48
7.4.80.0110.00719.39
7.4.70.0030.01516.39
7.4.60.0120.00616.61
7.4.50.0030.01216.48
7.4.40.0090.00916.48
7.4.30.0060.01216.53
7.4.00.0030.01114.97
7.3.330.0050.00013.45
7.3.320.0030.00313.51
7.3.310.0070.00016.43
7.3.300.0000.00716.48
7.3.290.0030.00316.38
7.3.280.0120.00716.46
7.3.270.0210.02417.40
7.3.260.0250.00016.53
7.3.250.0060.01316.40
7.3.240.0110.01016.46
7.3.230.0150.00316.59
7.3.210.0130.01016.54
7.3.200.0060.01619.39
7.3.190.0090.00616.52
7.3.180.0090.00616.54
7.3.170.0060.01816.50
7.3.160.0100.00716.44
7.3.10.0040.01116.64
7.3.00.0030.01016.57
7.2.330.0160.00316.61
7.2.320.0170.00716.87
7.2.310.0130.01016.86
7.2.300.0080.00816.63
7.2.290.0120.00616.74
7.2.130.0070.00717.01
7.2.120.0140.00317.01
7.2.110.0110.00416.96
7.2.100.0000.01517.07
7.2.90.0070.01017.11
7.2.80.0060.00616.93
7.2.70.0110.00716.85
7.2.60.0060.00816.95
7.2.50.0090.00616.98
7.2.40.0040.01116.82
7.2.30.0040.00817.05
7.2.20.0030.00616.99
7.2.10.0150.00316.91
7.2.00.0060.00918.21
7.1.250.0100.00315.62
7.1.200.0060.00615.78
7.1.100.0080.00318.32
7.1.70.0040.00417.16
7.1.60.0000.02419.40
7.1.50.0100.00717.15
7.1.00.0070.07322.32
7.0.200.0060.00914.86
7.0.60.0200.08021.79
7.0.50.0030.04717.96
7.0.40.0070.05320.25
7.0.30.0300.08020.20
7.0.20.0270.04020.27
7.0.10.0030.04320.20
7.0.00.0030.06020.11
5.6.280.0030.03320.85
5.6.210.0170.06720.73
5.6.200.0000.04318.25
5.6.190.0070.04020.65
5.6.180.0330.03720.48
5.6.170.0270.08020.49
5.6.160.0070.08320.53
5.6.150.0070.05318.25
5.6.140.0000.04318.29
5.6.130.0030.04318.20
5.6.120.0030.04321.16
5.6.110.0070.08321.11
5.6.100.0070.08721.04
5.6.90.0130.07721.00
5.6.80.0030.05320.41
5.5.350.0200.06720.41
5.5.340.0000.04318.09
5.5.330.0070.08720.38
5.5.320.0330.07720.31
5.5.310.0230.03320.31
5.5.300.0030.04317.99
5.5.290.0030.06017.95
5.5.280.0100.08321.00
5.5.270.0070.08720.79
5.5.260.0100.05021.00
5.5.250.0030.09020.57
5.5.240.0230.06720.29

preferences:
60.51 ms | 401 KiB | 5 Q