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 echo ' . $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.70.0120.00316.63
8.3.60.0180.00418.43
8.3.50.0140.00821.92
8.3.40.0120.00318.82
8.3.30.0030.01018.92
8.3.20.0080.00020.41
8.3.10.0090.00022.00
8.3.00.0040.00421.98
8.2.190.0060.01518.30
8.2.180.0000.02218.54
8.2.170.0110.00422.96
8.2.160.0120.00322.27
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00420.79
8.2.120.0040.00426.35
8.2.110.0100.00019.30
8.2.100.0040.00817.93
8.2.90.0080.00019.08
8.2.80.0080.00017.97
8.2.70.0060.00317.75
8.2.60.0050.00317.80
8.2.50.0030.00518.09
8.2.40.0080.00020.41
8.2.30.0040.00419.47
8.2.20.0020.00517.65
8.2.10.0000.00718.21
8.2.00.0000.00718.07
8.1.280.0030.01325.92
8.1.270.0000.00722.19
8.1.260.0070.00328.09
8.1.250.0040.00428.09
8.1.240.0060.00322.61
8.1.230.0040.00817.77
8.1.220.0040.00417.76
8.1.210.0050.00318.77
8.1.200.0030.00617.36
8.1.190.0030.00517.25
8.1.180.0080.00018.10
8.1.170.0060.00318.71
8.1.160.0040.00420.79
8.1.150.0000.00820.67
8.1.140.0040.00419.56
8.1.130.0050.00217.69
8.1.120.0000.00717.54
8.1.110.0000.00717.48
8.1.100.0040.00417.48
8.1.90.0060.00317.39
8.1.80.0030.00517.41
8.1.70.0070.00017.48
8.1.60.0030.00517.69
8.1.50.0040.00417.51
8.1.40.0080.00017.59
8.1.30.0030.00617.70
8.1.20.0000.00817.57
8.1.10.0050.00317.63
8.1.00.0050.00317.62
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0040.00418.57
8.0.270.0070.00017.35
8.0.260.0070.00017.39
8.0.250.0030.00317.10
8.0.240.0070.00017.16
8.0.230.0070.00017.04
8.0.220.0000.00717.08
8.0.210.0070.00017.04
8.0.200.0040.00417.13
8.0.190.0080.00017.09
8.0.180.0030.00517.02
8.0.170.0050.00517.05
8.0.160.0070.00017.02
8.0.150.0040.00416.95
8.0.140.0040.00417.02
8.0.130.0000.00613.59
8.0.120.0030.00616.99
8.0.110.0080.00017.03
8.0.100.0060.00317.16
8.0.90.0040.00416.98
8.0.80.0070.01117.04
8.0.70.0070.00017.04
8.0.60.0020.00516.91
8.0.50.0040.00416.99
8.0.30.0100.00917.36
8.0.20.0150.00617.40
8.0.10.0020.00517.10
8.0.00.0110.00716.93
7.4.330.0020.00216.90
7.4.320.0000.00816.54
7.4.300.0000.00816.45
7.4.290.0050.00316.62
7.4.280.0000.00816.45
7.4.270.0070.00016.45
7.4.260.0050.00316.57
7.4.250.0000.00716.58
7.4.240.0040.00416.68
7.4.230.0040.00416.42
7.4.220.0040.01416.73
7.4.210.0000.01716.70
7.4.200.0030.00316.40
7.4.160.0030.01216.52
7.4.150.0090.01017.40
7.4.140.0080.01117.86
7.4.130.0110.00916.65
7.4.120.0140.00316.60
7.4.110.0110.00716.45
7.4.100.0050.01316.66
7.4.90.0130.00416.63
7.4.80.0120.00919.39
7.4.70.0090.01216.63
7.4.60.0100.00716.60
7.4.50.0090.00916.55
7.4.40.0130.00716.56
7.4.30.0090.00916.59
7.4.00.0060.00915.01
7.3.330.0030.00313.31
7.3.320.0030.00313.53
7.3.310.0050.00316.51
7.3.300.0070.00016.47
7.3.290.0070.00016.50
7.3.280.0050.01216.43
7.3.270.0090.00917.40
7.3.260.0030.01516.46
7.3.250.0140.00516.51
7.3.240.0100.00716.42
7.3.230.0120.00616.54
7.3.210.0120.00916.52
7.3.200.0090.01019.39
7.3.190.0100.00616.63
7.3.180.0130.00316.61
7.3.170.0160.00316.43
7.3.160.0130.00316.56
7.3.120.0080.00414.97
7.3.110.0040.00815.00
7.3.100.0110.00414.95
7.3.90.0040.00815.18
7.3.80.0090.00614.98
7.3.70.0100.00714.89
7.3.60.0030.01214.91
7.3.50.0070.01014.85
7.3.40.0060.00314.85
7.3.30.0040.01214.75
7.3.20.0070.01116.63
7.3.10.0030.01216.81
7.3.00.0070.00716.97
7.2.330.0030.01316.75
7.2.320.0110.01116.79
7.2.310.0130.01016.54
7.2.300.0110.00616.80
7.2.290.0100.01016.64
7.2.250.0100.00315.27
7.2.240.0070.00715.36
7.2.230.0110.00015.25
7.2.220.0000.01915.20
7.2.210.0030.01415.29
7.2.200.0070.00715.23
7.2.190.0080.00815.27
7.2.180.0070.01015.33
7.2.170.0040.00715.11
7.2.60.0030.00716.98
7.2.00.0040.01119.66
7.1.330.0060.00315.76
7.1.320.0060.00916.07
7.1.310.0040.00716.03
7.1.300.0040.00715.77
7.1.290.0100.00615.65
7.1.280.0000.01115.97
7.1.270.0030.01015.86
7.1.260.0030.01115.82
7.1.200.0030.01015.71
7.1.100.0080.00617.82
7.1.70.0000.01016.87
7.1.60.0100.01319.40
7.1.50.0060.01217.25
7.1.00.0070.07322.52
7.0.200.0000.01116.66
7.0.60.0130.09021.78
7.0.50.0030.04317.91
7.0.40.0130.08020.14
7.0.30.0200.05720.25
7.0.20.0200.04320.34
7.0.10.0070.04320.39
7.0.00.0070.08020.25
5.6.280.0070.03321.10
5.6.210.0100.07020.49
5.6.200.0000.04318.25
5.6.190.0030.04320.52
5.6.180.0370.06720.34
5.6.170.0300.03720.72
5.6.160.0070.04320.39
5.6.150.0100.07718.21
5.6.140.0100.07018.16
5.6.130.0030.04018.18
5.6.120.0100.08721.03
5.6.110.0130.04021.05
5.6.100.0170.04020.91
5.6.90.0070.07321.00
5.6.80.0070.07720.53
5.5.350.0200.07020.43
5.5.340.0130.03018.01
5.5.330.0230.05320.33
5.5.320.0270.05320.33
5.5.310.0170.04020.38
5.5.300.0070.08018.05
5.5.290.0100.03717.98
5.5.280.0170.07720.80
5.5.270.0130.06720.64
5.5.260.0030.04720.92
5.5.250.0170.07320.78
5.5.240.0300.07020.31

preferences:
97.39 ms | 401 KiB | 5 Q