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.0070.00716.74
8.3.50.0130.01018.12
8.3.40.0090.01318.77
8.3.30.0110.00318.93
8.3.20.0090.00022.27
8.3.10.0080.00021.99
8.3.00.0000.00821.57
8.2.180.0000.01518.41
8.2.170.0120.00322.96
8.2.160.0030.01022.11
8.2.150.0070.01124.18
8.2.140.0080.00024.66
8.2.130.0040.00420.62
8.2.120.0040.00426.35
8.2.110.0060.00319.15
8.2.100.0040.00818.05
8.2.90.0050.00319.22
8.2.80.0040.00417.97
8.2.70.0090.00017.63
8.2.60.0030.00519.76
8.2.50.0000.00818.09
8.2.40.0040.00420.55
8.2.30.0050.00219.34
8.2.20.0040.00417.69
8.2.10.0000.00818.21
8.2.00.0040.00418.25
8.1.270.0030.00622.23
8.1.260.0060.00328.09
8.1.250.0120.00328.09
8.1.240.0040.00422.52
8.1.230.0070.00317.76
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0030.00517.13
8.1.180.0040.00418.10
8.1.170.0060.00318.64
8.1.160.0040.00420.79
8.1.150.0040.00418.92
8.1.140.0030.00617.39
8.1.130.0000.00817.59
8.1.120.0000.00717.55
8.1.110.0070.00017.42
8.1.100.0000.00817.46
8.1.90.0000.00717.37
8.1.80.0000.00817.45
8.1.70.0050.00217.51
8.1.60.0040.00417.68
8.1.50.0040.00417.52
8.1.40.0080.00017.58
8.1.30.0000.00917.73
8.1.20.0040.00417.63
8.1.10.0050.00317.69
8.1.00.0040.00417.62
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.41
8.0.270.0030.00317.29
8.0.260.0060.00017.35
8.0.250.0070.00017.02
8.0.240.0030.00316.97
8.0.230.0000.00717.09
8.0.220.0070.00016.98
8.0.210.0030.00316.95
8.0.200.0000.00716.96
8.0.190.0060.00317.03
8.0.180.0030.00616.96
8.0.170.0130.00017.06
8.0.160.0000.00716.96
8.0.150.0070.00016.84
8.0.140.0000.00816.91
8.0.130.0030.00313.53
8.0.120.0080.00016.96
8.0.110.0040.00416.90
8.0.100.0050.00216.93
8.0.90.0040.00417.00
8.0.80.0060.01017.04
8.0.70.0040.00417.00
8.0.60.0000.00816.88
8.0.50.0040.00417.02
8.0.30.0110.00817.14
8.0.20.0150.00417.40
8.0.10.0070.00016.95
8.0.00.0130.00416.72
7.4.330.0050.00016.73
7.4.320.0030.00316.66
7.4.300.0000.00716.52
7.4.290.0030.00316.47
7.4.280.0030.00616.59
7.4.270.0000.00716.59
7.4.260.0000.00816.61
7.4.250.0040.00416.51
7.4.240.0040.00416.72
7.4.230.0030.00316.40
7.4.220.0090.00916.57
7.4.210.0080.00816.63
7.4.200.0000.00716.57
7.4.160.0100.00716.48
7.4.150.0090.01617.40
7.4.140.0110.00817.86
7.4.130.0080.01316.43
7.4.120.0070.01216.66
7.4.110.0120.00616.58
7.4.100.0220.00016.60
7.4.90.0080.02016.43
7.4.80.0120.00919.39
7.4.70.0110.00716.63
7.4.60.0090.01416.48
7.4.50.0040.01116.46
7.4.40.0150.00316.66
7.4.30.0100.01416.52
7.4.00.0080.00814.97
7.3.330.0030.00313.37
7.3.320.0030.00313.39
7.3.310.0060.00316.36
7.3.300.0000.00716.29
7.3.290.0000.00716.29
7.3.280.0050.01216.36
7.3.270.0090.00917.40
7.3.260.0120.00616.50
7.3.250.0110.00716.42
7.3.240.0140.00616.41
7.3.230.0090.00916.58
7.3.210.0330.03616.48
7.3.200.0090.01219.39
7.3.190.0040.01216.65
7.3.180.0070.01016.61
7.3.170.0100.01316.33
7.3.160.0070.01016.64
7.3.120.0030.01614.85
7.3.110.0030.01014.83
7.3.100.0070.00714.75
7.3.90.0030.01014.78
7.3.80.0070.00714.89
7.3.70.0000.00814.71
7.3.60.0070.00714.59
7.3.50.0060.00614.73
7.3.40.0040.00814.84
7.3.30.0030.01414.57
7.3.20.0140.00016.85
7.3.10.0030.00916.65
7.3.00.0100.00316.53
7.2.330.0090.00916.62
7.2.320.0030.01516.66
7.2.310.0100.00716.51
7.2.300.0080.00916.58
7.2.290.0060.01016.84
7.2.250.0110.00715.31
7.2.240.0070.01015.24
7.2.230.0030.00915.01
7.2.220.0060.00914.69
7.2.210.0060.00815.00
7.2.200.0040.00815.04
7.2.190.0160.00014.98
7.2.180.0070.00714.71
7.2.170.0120.00315.12
7.2.60.0030.01017.02
7.2.00.0040.01119.43
7.1.330.0030.01015.74
7.1.320.0000.01515.62
7.1.310.0140.00315.69
7.1.300.0030.00715.73
7.1.290.0030.00915.75
7.1.280.0000.01215.57
7.1.270.0060.01015.48
7.1.260.0070.00715.70
7.1.200.0100.00015.96
7.1.100.0070.00718.04
7.1.70.0000.01617.14
7.1.60.0150.00919.40
7.1.50.0070.01416.99
7.1.00.0030.07722.55
7.0.200.0080.00016.52
7.0.60.0130.08321.77
7.0.50.0100.06017.76
7.0.40.0030.09020.16
7.0.30.0200.05320.21
7.0.20.0170.04320.13
7.0.10.0030.04320.31
7.0.00.0100.07720.13
5.6.280.0070.03021.20
5.6.210.0070.05320.52
5.6.200.0030.04318.28
5.6.190.0030.04320.68
5.6.180.0300.07020.49
5.6.170.0200.04020.56
5.6.160.0130.08320.51
5.6.150.0100.07718.14
5.6.140.0030.04318.16
5.6.130.0070.05318.24
5.6.120.0130.07021.15
5.6.110.0100.07321.14
5.6.100.0200.07321.13
5.6.90.0030.08721.00
5.6.80.0070.08720.60
5.5.350.0270.06720.43
5.5.340.0030.03718.16
5.5.330.0030.09020.30
5.5.320.0230.08020.34
5.5.310.0230.03320.20
5.5.300.0070.06318.15
5.5.290.0130.05018.09
5.5.280.0030.05320.91
5.5.270.0170.07721.00
5.5.260.0170.07320.90
5.5.250.0200.07020.49
5.5.240.0200.07020.19

preferences:
46.28 ms | 400 KiB | 5 Q