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.70.0120.00316.63
8.3.60.0120.00316.75
8.3.50.0160.00722.03
8.3.40.0040.01118.92
8.3.30.0040.01118.73
8.3.20.0030.00620.29
8.3.10.0040.00423.64
8.3.00.0040.00423.82
8.2.180.0150.00616.63
8.2.170.0120.00322.96
8.2.160.0090.00622.25
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00420.58
8.2.120.0040.00426.35
8.2.110.0070.00319.14
8.2.100.0080.00418.04
8.2.90.0040.00419.09
8.2.80.0000.00917.97
8.2.70.0090.00017.63
8.2.60.0030.00518.04
8.2.50.0030.00718.09
8.2.40.0050.00320.41
8.2.30.0020.00519.41
8.2.20.0050.00317.63
8.2.10.0000.00818.23
8.2.00.0060.00318.04
8.1.280.0150.00625.92
8.1.270.0160.00322.14
8.1.260.0030.00728.09
8.1.250.0080.00028.09
8.1.240.0060.00322.67
8.1.230.0110.00017.71
8.1.220.0030.00617.77
8.1.210.0000.00818.77
8.1.200.0070.00317.25
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0030.00518.59
8.1.160.0000.00720.83
8.1.150.0030.00620.56
8.1.140.0040.00419.51
8.1.130.0040.00417.57
8.1.120.0070.00017.47
8.1.110.0000.00817.54
8.1.100.0040.00417.51
8.1.90.0080.00017.36
8.1.80.0040.00417.38
8.1.70.0000.00717.40
8.1.60.0030.00717.57
8.1.50.0030.00617.55
8.1.40.0040.00417.61
8.1.30.0000.00817.72
8.1.20.0050.00317.72
8.1.10.0050.00217.59
8.1.00.0040.00417.56
8.0.300.0000.00818.77
8.0.290.0000.00816.75
8.0.280.0040.00418.53
8.0.270.0070.00017.36
8.0.260.0030.00317.39
8.0.250.0030.00317.14
8.0.240.0070.00017.01
8.0.230.0070.00017.01
8.0.220.0050.00216.95
8.0.210.0050.00216.90
8.0.200.0030.00317.11
8.0.190.0030.00617.10
8.0.180.0040.00417.00
8.0.170.0040.00417.06
8.0.160.0050.00217.02
8.0.150.0040.00416.97
8.0.140.0070.00016.90
8.0.130.0040.00413.61
8.0.120.0060.00317.03
8.0.110.0000.00717.01
8.0.100.0050.00316.95
8.0.90.0050.00216.97
8.0.80.0080.00817.07
8.0.70.0040.00416.93
8.0.60.0040.00417.03
8.0.50.0040.00417.00
8.0.30.0120.00617.05
8.0.20.0080.01217.40
8.0.10.0000.00816.91
8.0.00.0100.00816.93
7.4.330.0030.00316.79
7.4.320.0030.00316.51
7.4.300.0000.00716.54
7.4.290.0030.00316.54
7.4.280.0000.00816.46
7.4.270.0000.00816.64
7.4.260.0000.00816.60
7.4.250.0040.00416.44
7.4.240.0030.00516.46
7.4.230.0030.00516.71
7.4.220.0140.00316.53
7.4.210.0100.00516.61
7.4.200.0040.00416.58
7.4.160.0030.01316.52
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0120.00616.50
7.4.120.0060.01116.54
7.4.110.0040.01516.56
7.4.100.0090.01516.56
7.4.90.0180.00316.49
7.4.80.0090.00919.39
7.4.70.0130.00316.65
7.4.60.0090.00916.61
7.4.50.0090.00916.72
7.4.40.0110.00716.55
7.4.30.0070.01116.55
7.4.00.0090.00915.04
7.3.330.0000.00713.20
7.3.320.0060.00013.31
7.3.310.0000.00716.48
7.3.300.0070.00016.39
7.3.290.0000.00716.32
7.3.280.0060.01016.41
7.3.270.0150.00317.40
7.3.260.0120.00616.55
7.3.250.0110.00916.46
7.3.240.0090.00916.49
7.3.230.0060.01216.41
7.3.210.0060.01616.42
7.3.200.0080.01119.39
7.3.190.0080.00816.39
7.3.180.0090.00916.45
7.3.170.0090.00916.45
7.3.160.0110.01016.43
7.3.10.0040.01116.73
7.3.00.0080.00316.71
7.2.330.0080.01116.76
7.2.320.0040.01716.61
7.2.310.0080.00816.82
7.2.300.0060.01516.78
7.2.290.0100.00716.85
7.2.130.0050.01016.89
7.2.120.0110.00616.96
7.2.110.0100.00616.95
7.2.100.0070.01016.95
7.2.90.0140.00317.14
7.2.80.0080.00817.04
7.2.70.0050.01017.11
7.2.60.0030.01017.10
7.2.50.0070.01117.05
7.2.40.0080.00816.97
7.2.30.0050.01017.08
7.2.20.0050.01117.17
7.2.10.0080.00816.99
7.2.00.0090.00717.84
7.1.250.0100.00315.71
7.1.200.0090.00615.75
7.1.100.0030.00918.02
7.1.70.0070.01017.27
7.1.60.0130.01319.40
7.1.50.0070.01016.99
7.1.00.0000.08022.45
7.0.200.0040.00416.80
7.0.60.0230.07321.70
7.0.50.0100.08017.91
7.0.40.0100.08020.31
7.0.30.0230.09020.22
7.0.20.0200.04020.09
7.0.10.0070.04020.24
7.0.00.0070.04020.24
5.6.280.0000.05021.13
5.6.210.0030.08320.65
5.6.200.0030.08018.16
5.6.190.0070.08320.48
5.6.180.0330.07320.78
5.6.170.0230.04320.49
5.6.160.0100.08020.42
5.6.150.0100.05718.27
5.6.140.0100.08018.25
5.6.130.0100.07718.16
5.6.120.0070.09021.02
5.6.110.0070.08721.04
5.6.100.0100.07321.00
5.6.90.0070.08321.00
5.6.80.0000.08720.54
5.5.350.0330.05320.53
5.5.340.0030.04017.98
5.5.330.0200.06720.41
5.5.320.0270.07320.42
5.5.310.0230.03720.20
5.5.300.0100.07718.00
5.5.290.0070.08018.07
5.5.280.0130.04020.97
5.5.270.0170.08020.82
5.5.260.0100.08320.89
5.5.250.0200.07020.64
5.5.240.0230.06020.29

preferences:
42.61 ms | 401 KiB | 5 Q