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.00316.75
8.3.50.0080.00818.30
8.3.40.0040.01119.12
8.3.30.0100.00619.04
8.3.20.0000.00820.41
8.3.10.0080.00023.58
8.3.00.0080.00023.49
8.2.180.0080.00816.88
8.2.170.0110.00422.96
8.2.160.0110.00422.13
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0060.00320.70
8.2.120.0060.00326.35
8.2.110.0030.00719.31
8.2.100.0060.00618.04
8.2.90.0030.00519.05
8.2.80.0050.00317.97
8.2.70.0060.00317.50
8.2.60.0030.00517.93
8.2.50.0110.00018.09
8.2.40.0000.00820.41
8.2.30.0000.00819.43
8.2.20.0040.00417.74
8.2.10.0040.00418.14
8.2.00.0000.00718.18
8.1.280.0090.00925.92
8.1.270.0110.00422.03
8.1.260.0040.00728.09
8.1.250.0050.00328.09
8.1.240.0060.00322.56
8.1.230.0080.00417.70
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00817.36
8.1.180.0000.00818.10
8.1.170.0080.00018.65
8.1.160.0050.00220.66
8.1.150.0030.00520.56
8.1.140.0050.00319.52
8.1.130.0030.00317.72
8.1.120.0070.00017.48
8.1.110.0040.00417.46
8.1.100.0040.00417.53
8.1.90.0040.00417.38
8.1.80.0040.00417.49
8.1.70.0040.00417.46
8.1.60.0080.00017.65
8.1.50.0040.00417.50
8.1.40.0040.00417.66
8.1.30.0000.00817.65
8.1.20.0030.00517.67
8.1.10.0050.00317.62
8.1.00.0040.00417.61
8.0.300.0050.00318.77
8.0.290.0060.00316.88
8.0.280.0030.00318.52
8.0.270.0070.00017.34
8.0.260.0040.00417.38
8.0.250.0070.00017.11
8.0.240.0030.00317.14
8.0.230.0040.00417.06
8.0.220.0040.00417.05
8.0.210.0040.00417.05
8.0.200.0040.00417.10
8.0.190.0030.00517.14
8.0.180.0080.00017.07
8.0.170.0000.00817.06
8.0.160.0070.00017.06
8.0.150.0030.00517.00
8.0.140.0000.00716.94
8.0.130.0070.00013.54
8.0.120.0050.00317.04
8.0.110.0080.00017.00
8.0.100.0070.00017.04
8.0.90.0050.00316.98
8.0.80.0100.00717.01
8.0.70.0030.00516.99
8.0.60.0030.00516.96
8.0.50.0070.00016.93
8.0.30.0100.00817.18
8.0.20.0100.00917.40
8.0.10.0040.00416.92
8.0.00.0090.00816.99
7.4.330.0000.00516.97
7.4.320.0030.00316.64
7.4.300.0000.00616.63
7.4.290.0000.00716.60
7.4.280.0000.00716.53
7.4.270.0000.00716.61
7.4.260.0070.00016.54
7.4.250.0030.00416.48
7.4.240.0000.00716.63
7.4.230.0040.00416.42
7.4.220.0070.01116.57
7.4.210.0100.00716.56
7.4.200.0030.00616.73
7.4.160.0080.01016.74
7.4.150.0090.00917.40
7.4.140.0140.00717.86
7.4.130.0100.01016.59
7.4.120.0090.01116.56
7.4.110.0150.00416.55
7.4.100.0090.00916.55
7.4.90.0060.01216.69
7.4.80.0190.00319.39
7.4.70.0140.00316.57
7.4.60.0130.00916.39
7.4.50.0100.00716.69
7.4.40.0070.01716.68
7.4.30.0090.00916.58
7.4.00.0070.00715.18
7.3.330.0030.00313.43
7.3.320.0000.00513.46
7.3.310.0030.00516.34
7.3.300.0030.00316.32
7.3.290.0030.00316.26
7.3.280.0090.01016.44
7.3.270.0090.01017.40
7.3.260.0090.00916.43
7.3.250.0090.00816.53
7.3.240.0160.00516.46
7.3.230.0110.00716.46
7.3.210.0110.00816.30
7.3.200.0090.00919.39
7.3.190.0070.01116.52
7.3.180.0070.01016.45
7.3.170.0070.01016.44
7.3.160.0130.00916.53
7.2.330.0060.01416.74
7.2.320.0070.01116.54
7.2.310.0090.00916.72
7.2.300.0070.01016.56
7.2.290.0120.00616.62
7.2.110.0110.01216.46
7.2.60.0070.00716.77
7.2.00.0060.00619.48
7.1.200.0030.00915.82
7.1.100.0030.00618.07
7.1.70.0000.00717.08
7.1.60.0140.01019.40
7.1.50.0110.00717.15
7.1.00.0130.06722.45
7.0.200.0050.00516.73
7.0.60.0230.04320.15
7.0.50.0130.07717.82
7.0.40.0130.07720.27
7.0.30.0270.05320.16
7.0.20.0270.04320.16
7.0.10.0000.07020.16
7.0.00.0000.04320.26
5.6.280.0000.03321.18
5.6.210.0130.05020.52
5.6.200.0170.04318.21
5.6.190.0130.08020.48
5.6.180.0300.05320.48
5.6.170.0270.07720.60
5.6.160.0100.08720.50
5.6.150.0070.06318.24
5.6.140.0070.05018.16
5.6.130.0030.05018.14
5.6.120.0130.08021.08
5.6.110.0030.06721.14
5.6.100.0100.08021.02
5.6.90.0070.05721.14
5.6.80.0100.07720.59
5.5.350.0230.07320.41
5.5.340.0100.03718.05
5.5.330.0070.04320.38
5.5.320.0400.04020.35
5.5.310.0370.05720.35
5.5.300.0000.08718.09
5.5.290.0100.04717.95
5.5.280.0100.05720.71
5.5.270.0100.08320.82
5.5.260.0130.07720.91
5.5.250.0230.07020.82
5.5.240.0300.04720.18

preferences:
66.68 ms | 401 KiB | 5 Q