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 file_get_contents($tmp1); echo "-----"; include($tmp1); #include($tmp2); #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.0140.00416.62
8.3.50.0110.00722.05
8.3.40.0040.01218.94
8.3.30.0080.00818.93
8.3.20.0000.00820.29
8.3.10.0030.00623.61
8.3.00.0050.00323.73
8.2.180.0150.00616.75
8.2.170.0180.00022.96
8.2.160.0170.00022.13
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0070.00420.72
8.2.120.0070.00026.35
8.2.110.0070.00319.19
8.2.100.0060.00617.91
8.2.90.0030.00519.21
8.2.80.0060.00317.97
8.2.70.0030.00617.63
8.2.60.0000.00917.89
8.2.50.0070.00318.09
8.2.40.0060.00322.17
8.2.30.0070.00019.51
8.2.20.0040.00417.75
8.2.10.0040.00418.14
8.2.00.0030.00518.24
8.1.280.0150.00625.92
8.1.270.0110.00422.05
8.1.260.0060.00328.09
8.1.250.0080.00028.09
8.1.240.0000.00922.14
8.1.230.0060.00619.06
8.1.220.0040.00417.74
8.1.210.0030.00718.77
8.1.200.0100.00017.35
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0030.00518.30
8.1.160.0000.00720.73
8.1.150.0020.00518.93
8.1.140.0030.00619.48
8.1.130.0030.00317.64
8.1.120.0050.00317.43
8.1.110.0020.00517.52
8.1.100.0000.00817.35
8.1.90.0040.00417.51
8.1.80.0070.00017.51
8.1.70.0000.00717.46
8.1.60.0030.00617.73
8.1.50.0040.00417.60
8.1.40.0000.00817.60
8.1.30.0040.00417.74
8.1.20.0040.00417.50
8.1.10.0000.00817.70
8.1.00.0090.00017.55
8.0.300.0070.00018.77
8.0.290.0050.00216.63
8.0.280.0030.00318.52
8.0.270.0040.00417.37
8.0.260.0030.00317.25
8.0.250.0030.00317.10
8.0.240.0000.00717.12
8.0.230.0000.00717.08
8.0.220.0030.00316.93
8.0.210.0040.00417.08
8.0.200.0000.00617.07
8.0.190.0000.00817.15
8.0.180.0050.00217.13
8.0.170.0030.00616.96
8.0.160.0000.00717.06
8.0.150.0000.00716.98
8.0.140.0050.00316.96
8.0.130.0000.00613.63
8.0.120.0030.00616.89
8.0.110.0000.00716.98
8.0.100.0000.00716.96
8.0.90.0000.00716.93
8.0.80.0150.00017.03
8.0.70.0040.00416.84
8.0.60.0050.00317.04
8.0.50.0030.00517.07
8.0.30.0110.00717.11
8.0.20.0110.01117.40
8.0.10.0030.00516.98
8.0.00.0120.00716.76
7.4.330.0030.00316.91
7.4.320.0060.00016.63
7.4.300.0030.00316.54
7.4.290.0070.00016.65
7.4.280.0030.00516.53
7.4.270.0060.00016.55
7.4.260.0000.00716.60
7.4.250.0040.00416.49
7.4.240.0070.00016.56
7.4.230.0030.00516.73
7.4.220.0080.01116.55
7.4.210.0070.00716.58
7.4.200.0070.00016.53
7.4.160.0060.01116.50
7.4.150.0110.00717.40
7.4.140.0080.01017.86
7.4.130.0100.01016.54
7.4.120.0110.00816.60
7.4.110.0100.00716.39
7.4.100.0080.00816.64
7.4.90.0070.01016.71
7.4.80.0140.00319.39
7.4.70.0050.01316.57
7.4.60.0070.01516.59
7.4.50.0060.00916.66
7.4.40.0170.00316.63
7.4.30.0060.01216.54
7.4.00.0000.01214.99
7.3.330.0000.00713.29
7.3.320.0000.00513.23
7.3.310.0050.00216.51
7.3.300.0040.00416.45
7.3.290.0040.00216.27
7.3.280.0110.00616.43
7.3.270.0110.00717.40
7.3.260.0070.01316.55
7.3.250.0060.01116.49
7.3.240.0100.00716.47
7.3.230.0110.00716.60
7.3.210.0060.01716.39
7.3.200.0030.01619.39
7.3.190.0030.01316.55
7.3.180.0140.00616.36
7.3.170.0090.00916.45
7.3.160.0130.00316.57
7.3.120.0080.00614.66
7.3.110.0070.01114.87
7.3.100.0060.00915.28
7.3.90.0060.00914.78
7.3.80.0060.00614.88
7.3.70.0090.00615.07
7.3.60.0110.00414.90
7.3.50.0090.00614.79
7.3.40.0060.00615.01
7.3.30.0090.00614.75
7.3.20.0100.00016.61
7.3.10.0070.01116.87
7.3.00.0140.00016.75
7.2.330.0090.00916.69
7.2.320.0070.01016.62
7.2.310.0100.00716.77
7.2.300.0110.00616.71
7.2.290.0180.00616.75
7.2.240.0100.01015.21
7.2.230.0030.00915.44
7.2.220.0060.01315.15
7.2.210.0030.01215.31
7.2.200.0050.00515.25
7.2.190.0070.00714.96
7.2.180.0030.01115.02
7.2.170.0030.01315.00
7.2.160.0090.00615.17
7.2.150.0090.00616.85
7.2.140.0030.01216.73
7.2.130.0030.01017.16
7.2.120.0090.00617.00
7.2.110.0100.00016.91
7.2.100.0080.00416.92
7.2.90.0100.00317.16
7.2.80.0100.00716.87
7.2.70.0060.00917.22
7.2.60.0050.01017.08
7.2.50.0070.00716.87
7.2.40.0030.01017.17
7.2.30.0050.00517.11
7.2.20.0030.01517.06
7.2.10.0060.00616.93
7.2.00.0080.00518.31
7.1.330.0120.00615.68
7.1.320.0090.00915.50
7.1.310.0040.01116.01
7.1.300.0030.01215.98
7.1.290.0090.00615.80
7.1.280.0060.00916.03
7.1.270.0000.01315.96
7.1.260.0040.00415.88
7.1.250.0060.00915.89
7.1.200.0090.00315.93
7.1.100.0030.00917.80
7.1.70.0030.01017.09
7.1.60.0070.01819.40
7.1.50.0000.02117.12
7.1.00.0000.08022.52
7.0.200.0000.01116.80
7.0.60.0130.08721.68
7.0.50.0070.06317.86
7.0.40.0030.09020.11
7.0.30.0330.08020.31
7.0.20.0400.07320.24
7.0.10.0000.05720.21
7.0.00.0100.03720.07
5.6.280.0000.05321.10
5.6.210.0170.06020.66
5.6.200.0070.08018.19
5.6.190.0130.06320.39
5.6.180.0370.07320.64
5.6.170.0130.08720.62
5.6.160.0000.06020.55
5.6.150.0030.07018.29
5.6.140.0070.04718.13
5.6.130.0130.07718.16
5.6.120.0000.06021.01
5.6.110.0030.04720.91
5.6.100.0130.07721.03
5.6.90.0070.08320.96
5.6.80.0100.08320.41
5.5.350.0270.06720.46
5.5.340.0070.08017.98
5.5.330.0200.06720.38
5.5.320.0300.04720.36
5.5.310.0170.04320.20
5.5.300.0070.07717.98
5.5.290.0200.06317.94
5.5.280.0070.06020.98
5.5.270.0070.05320.67
5.5.260.0100.08320.82
5.5.250.0130.07020.73
5.5.240.0200.07720.06

preferences:
54.18 ms | 401 KiB | 5 Q