3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $tmp3=tempnam("/tmp","trecieval"); $cntnt="ZWNobyAnYSc7"; $bb64="base64_decode"; file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '", \'<?php file_put_contents("' . $tmp3 . '","<?php " .' . $bb64 . '(\\\"'.$cntnt.'\\\") . ";");\' ); ' ); echo "---1--"; echo file_get_contents($tmp1); echo "--12---"; include($tmp1); echo file_get_contents($tmp2); echo "--23---"; include($tmp2); echo file_get_contents($tmp3); echo "--3---"; include($tmp3);

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.0130.00616.88
8.3.50.0090.00618.05
8.3.40.0090.00618.79
8.3.30.0070.00718.95
8.3.20.0000.00820.33
8.3.10.0080.00023.65
8.3.00.0040.00423.64
8.2.180.0170.00316.75
8.2.170.0110.00722.96
8.2.160.0070.00722.09
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00620.69
8.2.120.0050.00326.35
8.2.110.0030.00720.54
8.2.100.0080.00417.80
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0050.00317.90
8.2.50.0040.00418.09
8.2.40.0040.00420.36
8.2.30.0000.00719.45
8.2.20.0030.00617.66
8.2.10.0060.00318.03
8.2.00.0000.00718.13
8.1.280.0110.00725.92
8.1.270.0090.00922.14
8.1.260.0050.00528.09
8.1.250.0040.00428.09
8.1.240.0040.00720.89
8.1.230.0090.00317.64
8.1.220.0050.00317.79
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0050.00317.25
8.1.180.0030.00518.10
8.1.170.0030.00518.69
8.1.160.0040.00420.70
8.1.150.0070.00018.97
8.1.140.0040.00419.60
8.1.130.0030.00317.68
8.1.120.0040.00417.48
8.1.110.0040.00417.46
8.1.100.0050.00217.50
8.1.90.0070.00017.39
8.1.80.0000.00717.45
8.1.70.0000.00717.36
8.1.60.0040.00417.62
8.1.50.0030.00617.52
8.1.40.0030.00617.55
8.1.30.0000.00817.74
8.1.20.0000.01117.64
8.1.10.0080.00017.70
8.1.00.0050.00317.55
8.0.300.0060.00318.90
8.0.290.0000.00716.75
8.0.280.0000.00818.44
8.0.270.0070.00017.39
8.0.260.0040.00417.35
8.0.250.0030.00317.07
8.0.240.0070.00017.07
8.0.230.0030.00517.03
8.0.220.0070.00017.04
8.0.210.0000.00716.96
8.0.200.0000.00717.05
8.0.190.0040.00417.16
8.0.180.0000.00717.12
8.0.170.0000.00817.07
8.0.160.0040.00417.06
8.0.150.0040.00416.88
8.0.140.0000.00716.99
8.0.130.0020.00513.60
8.0.120.0000.00916.99
8.0.110.0080.00017.00
8.0.100.0070.00016.93
8.0.90.0070.00017.06
8.0.80.0080.00817.00
8.0.70.0040.00417.03
8.0.60.0000.00817.07
8.0.50.0050.00316.90
8.0.30.0010.01717.12
8.0.20.0110.01017.40
8.0.10.0000.00817.04
8.0.00.0100.00716.87
7.4.330.0000.00516.87
7.4.320.0000.00616.52
7.4.300.0040.00416.50
7.4.290.0000.00716.42
7.4.280.0000.00816.63
7.4.270.0080.00016.60
7.4.260.0030.00516.51
7.4.250.0050.00316.64
7.4.240.0050.00316.62
7.4.230.0030.00416.52
7.4.220.0060.01516.59
7.4.210.0070.00716.61
7.4.200.0080.00016.70
7.4.160.0100.00716.64
7.4.150.0090.00917.40
7.4.140.0160.00517.86
7.4.130.0090.01116.62
7.4.120.0060.01116.61
7.4.110.0100.00716.61
7.4.100.0050.01916.63
7.4.90.0100.01316.47
7.4.80.0110.00719.39
7.4.70.0040.01316.58
7.4.60.0110.00716.67
7.4.50.0000.01316.60
7.4.40.0100.00716.70
7.4.30.0120.00616.76
7.4.00.0070.00714.79
7.3.330.0000.00613.38
7.3.320.0050.00013.28
7.3.310.0080.00016.41
7.3.300.0000.00716.44
7.3.290.0050.00216.45
7.3.280.0100.00816.40
7.3.270.0100.01017.40
7.3.260.0110.00816.58
7.3.250.0150.00316.54
7.3.240.0160.00216.45
7.3.230.0120.00616.53
7.3.210.0070.01016.52
7.3.200.0150.00519.39
7.3.190.0160.00016.32
7.3.180.0040.01816.33
7.3.170.0120.00616.40
7.3.160.0130.00316.36
7.2.330.0130.00716.55
7.2.320.0130.00316.89
7.2.310.0120.00416.73
7.2.300.0110.00816.76
7.2.290.0070.01016.67
7.2.110.0120.01216.67
7.2.60.0100.00316.89
7.2.00.0030.01319.25
7.1.200.0030.01215.53
7.1.100.0000.01218.13
7.1.70.0070.00717.17
7.1.60.0000.02419.40
7.1.50.0000.02017.12
7.1.00.0000.08022.41
7.0.200.0070.00316.84
7.0.60.0230.07721.77
7.0.50.0130.08018.00
7.0.40.0030.05020.25
7.0.30.0270.05720.18
7.0.20.0300.07320.25
7.0.10.0130.03320.17
7.0.00.0030.04720.16
5.6.280.0070.03021.15
5.6.210.0070.06320.57
5.6.200.0070.08718.17
5.6.190.0030.08320.78
5.6.180.0330.06020.64
5.6.170.0230.06720.58
5.6.160.0170.08320.53
5.6.150.0130.07718.25
5.6.140.0100.08018.18
5.6.130.0070.06318.28
5.6.120.0030.04321.01
5.6.110.0100.03321.04
5.6.100.0100.06721.00
5.6.90.0070.07721.01
5.6.80.0100.07320.55
5.5.350.0400.06020.46
5.5.340.0200.06717.99
5.5.330.0100.07320.34
5.5.320.0230.04320.14
5.5.310.0230.03720.34
5.5.300.0100.07718.15
5.5.290.0070.08717.96
5.5.280.0070.07320.88
5.5.270.0000.04720.98
5.5.260.0030.08720.76
5.5.250.0030.07720.57
5.5.240.0170.07320.18

preferences:
36.38 ms | 400 KiB | 5 Q