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.0030.01316.75
8.3.50.0100.01021.92
8.3.40.0200.00318.69
8.3.30.0120.00318.66
8.3.20.0000.00820.06
8.3.10.0040.00423.36
8.3.00.0000.00823.63
8.2.180.0160.00625.92
8.2.170.0050.01018.77
8.2.160.0120.00422.96
8.2.150.0090.00025.66
8.2.140.0000.00824.66
8.2.130.0030.00520.67
8.2.120.0030.00526.35
8.2.110.0030.00721.18
8.2.100.0090.00318.03
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0040.00417.91
8.2.50.0000.01218.09
8.2.40.0000.00920.49
8.2.30.0000.00719.48
8.2.20.0000.00817.75
8.2.10.0030.00618.14
8.2.00.0080.00018.14
8.1.280.0110.00425.92
8.1.270.0080.00024.66
8.1.260.0030.00728.09
8.1.250.0080.00028.09
8.1.240.0100.00023.96
8.1.230.0110.00020.31
8.1.220.0050.00317.77
8.1.210.0090.00018.77
8.1.200.0090.00017.35
8.1.190.0050.00317.23
8.1.180.0000.00918.10
8.1.170.0030.00518.54
8.1.160.0000.00720.64
8.1.150.0040.00420.70
8.1.140.0000.00819.61
8.1.130.0040.00417.79
8.1.120.0000.00717.39
8.1.110.0040.00417.45
8.1.100.0070.00017.46
8.1.90.0050.00217.44
8.1.80.0040.00417.48
8.1.70.0040.00417.54
8.1.60.0000.00917.62
8.1.50.0000.00917.63
8.1.40.0080.00017.45
8.1.30.0040.00417.68
8.1.20.0050.00317.60
8.1.10.0030.00617.71
8.1.00.0000.00817.62
8.0.300.0030.00618.77
8.0.290.0050.00316.63
8.0.280.0040.00418.39
8.0.270.0030.00617.36
8.0.260.0050.00317.34
8.0.250.0000.00716.96
8.0.240.0030.00316.94
8.0.230.0000.00716.92
8.0.220.0070.00017.04
8.0.210.0050.00217.01
8.0.200.0070.00017.10
8.0.190.0060.00317.14
8.0.180.0040.00417.02
8.0.170.0080.00016.98
8.0.160.0040.00416.95
8.0.150.0000.00816.96
8.0.140.0070.00016.87
8.0.130.0030.00313.47
8.0.120.0000.00816.93
8.0.110.0000.00716.99
8.0.100.0040.00416.97
8.0.90.0050.00316.96
8.0.80.0000.01517.00
8.0.70.0040.00416.93
8.0.60.0040.00416.94
8.0.50.0030.00616.93
8.0.30.0130.00817.24
8.0.20.0180.00517.41
8.0.10.0020.00517.04
8.0.00.0090.00916.77
7.4.330.0050.00016.76
7.4.320.0000.00716.53
7.4.300.0030.00316.51
7.4.290.0000.00716.64
7.4.280.0030.00516.60
7.4.270.0030.00316.56
7.4.260.0030.00516.56
7.4.250.0040.00416.40
7.4.240.0070.00016.62
7.4.230.0000.00816.44
7.4.220.0100.01016.71
7.4.210.0060.01116.50
7.4.200.0030.00316.61
7.4.160.0100.00616.71
7.4.150.0160.00317.40
7.4.140.0150.00617.86
7.4.130.0080.01116.62
7.4.120.0140.00516.60
7.4.110.0140.00516.56
7.4.100.0120.00616.45
7.4.90.0060.01616.51
7.4.80.0100.00719.39
7.4.70.0140.00416.48
7.4.60.0160.00616.36
7.4.50.0100.00716.52
7.4.40.0080.01116.54
7.4.30.0130.00616.36
7.4.10.0030.01415.02
7.4.00.0100.00814.87
7.3.330.0060.00013.34
7.3.320.0030.00313.28
7.3.310.0070.00016.29
7.3.300.0040.00416.37
7.3.290.0040.00416.37
7.3.280.0110.00916.33
7.3.270.0110.00717.40
7.3.260.0160.00416.39
7.3.250.0090.00916.31
7.3.240.0130.00816.37
7.3.230.0030.01616.39
7.3.210.0140.00316.34
7.3.200.0100.01019.39
7.3.190.0110.00616.53
7.3.180.0120.00616.21
7.3.170.0070.01016.32
7.3.160.0130.00316.50
7.3.130.0030.01614.87
7.3.120.0110.00714.80
7.3.110.0080.00814.75
7.3.100.0020.01214.96
7.3.90.0050.01114.88
7.3.80.0080.00614.87
7.3.70.0080.00514.68
7.3.60.0040.01114.72
7.3.50.0080.00814.80
7.3.40.0090.00514.80
7.3.30.0070.00614.76
7.3.20.0040.00616.62
7.3.10.0050.00916.76
7.3.00.0070.00916.57
7.2.330.0110.00816.56
7.2.320.0070.01116.69
7.2.310.0120.00616.70
7.2.300.0140.00516.58
7.2.290.0060.01216.62
7.2.260.0040.01514.94
7.2.250.0030.01715.15
7.2.240.0060.01115.06
7.2.230.0050.01015.16
7.2.220.0030.01015.25
7.2.210.0060.01015.05
7.2.200.0100.00515.11
7.2.190.0030.01215.24
7.2.180.0030.01315.07
7.2.170.0080.00714.99
7.2.160.0050.01015.09
7.2.150.0050.01216.87
7.2.140.0020.01316.92
7.2.130.0070.00916.94
7.2.120.0100.00516.98
7.2.110.0080.00616.85
7.2.100.0080.00517.01
7.2.90.0020.01216.99
7.2.80.0040.00916.88
7.2.70.0030.01217.08
7.2.60.0060.00817.06
7.2.50.0050.00916.99
7.2.40.0090.00617.02
7.2.30.0060.00916.81
7.2.20.0070.01217.12
7.2.10.0070.00717.01
7.2.00.0050.01017.76
7.1.330.0080.00915.61
7.1.320.0060.01115.81
7.1.310.0080.00915.59
7.1.300.0080.00715.86
7.1.290.0070.01015.81
7.1.280.0070.01015.76
7.1.270.0090.00815.79
7.1.260.0050.01015.64
7.1.250.0030.01115.88
7.1.240.0090.00615.74
7.1.230.0030.01215.87
7.1.220.0100.00315.55
7.1.210.0080.00515.82
7.1.200.0070.00515.90
7.1.190.0040.00715.56
7.1.180.0000.01315.56
7.1.170.0040.01215.89
7.1.160.0090.00615.69
7.1.150.0060.00915.82
7.1.140.0090.00315.68
7.1.130.0070.00715.51
7.1.120.0000.00915.87
7.1.110.0030.01015.71
7.1.100.0020.01216.94
7.1.90.0000.01415.67
7.1.80.0060.01015.51
7.1.70.0050.00616.40
7.1.60.0080.01117.48
7.1.50.0060.00616.17
7.1.40.0060.00915.81
7.1.30.0030.01015.81
7.1.20.0110.00415.75
7.1.10.0040.00415.87
7.1.00.0050.04019.14
7.0.330.0030.00615.18
7.0.320.0040.01115.46
7.0.310.0030.00915.41
7.0.300.0120.00315.62
7.0.290.0040.01215.29
7.0.280.0070.00815.11
7.0.270.0040.01115.50
7.0.260.0090.00615.39
7.0.250.0060.00915.52
7.0.240.0110.00715.36
7.0.230.0070.00415.59
7.0.220.0060.01015.64
7.0.210.0100.00315.22
7.0.200.0060.00416.16
7.0.190.0030.00815.13
7.0.180.0000.00915.47
7.0.170.0000.01515.42
7.0.160.0090.00615.64
7.0.150.0120.00015.66
7.0.140.0070.01115.50
7.0.130.0110.00415.38
7.0.120.0000.00915.62
7.0.110.0000.01415.51
7.0.100.0070.01015.50
7.0.90.0070.00715.46
7.0.80.0060.00615.52
7.0.70.0000.01515.56
7.0.60.0150.02317.66
7.0.50.0050.04816.78
7.0.40.0120.04216.91
7.0.30.0170.02516.68
7.0.20.0140.04016.96
7.0.10.0070.04516.88
7.0.00.0090.02316.90
5.6.400.0070.00414.59
5.6.390.0000.01614.12
5.6.380.0000.01414.60
5.6.370.0140.00314.57
5.6.360.0030.00714.27
5.6.350.0120.00614.33
5.6.340.0100.01014.04
5.6.330.0070.01014.49
5.6.320.0040.00714.33
5.6.310.0130.00014.63
5.6.300.0100.00014.37
5.6.290.0060.01014.18
5.6.280.0050.02317.77
5.6.270.0060.00314.36
5.6.260.0030.00814.38
5.6.250.0060.00914.24
5.6.240.0080.00814.29
5.6.230.0130.00014.60
5.6.220.0030.01314.33
5.6.210.0120.04017.59
5.6.200.0090.04216.22
5.6.190.0070.02717.47
5.6.180.0160.03117.37
5.6.170.0150.04417.51
5.6.160.0060.04317.57
5.6.150.0120.04016.18
5.6.140.0020.04916.41
5.6.130.0080.02816.34
5.6.120.0050.04917.69
5.6.110.0100.04717.81
5.6.100.0080.04717.80
5.6.90.0020.02717.56
5.6.80.0050.04617.47
5.6.70.0040.01114.39
5.6.60.0100.00314.10
5.6.50.0060.00914.30
5.6.40.0040.00714.38
5.6.30.0070.01014.25
5.6.20.0040.00814.35
5.6.10.0100.00614.51
5.6.00.0130.00314.56
5.5.380.0060.00314.40
5.5.370.0060.00614.39
5.5.360.0120.00314.48
5.5.350.0150.04517.53
5.5.340.0100.04316.20
5.5.330.0030.02917.46
5.5.320.0160.02117.46
5.5.310.0170.03917.34
5.5.300.0110.02616.06
5.5.290.0060.03416.27
5.5.280.0130.04117.39
5.5.270.0070.04717.30
5.5.260.0080.04617.51
5.5.250.0080.04017.62
5.5.240.0110.04017.14
5.5.230.0000.01714.49
5.5.220.0120.00414.28
5.5.210.0030.01014.46
5.5.200.0060.00613.99
5.5.190.0000.01714.17
5.5.180.0060.00614.27
5.5.170.0090.00614.28
5.5.160.0030.00913.99
5.5.150.0040.01213.96
5.5.140.0000.01314.23
5.5.130.0120.00314.06
5.5.120.0100.00714.32
5.5.110.0080.00814.06
5.5.100.0090.00614.14
5.5.90.0090.00614.26
5.5.80.0030.01214.51
5.5.70.0060.01014.26
5.5.60.0160.00014.00
5.5.50.0030.01014.03
5.5.40.0070.00714.50
5.5.30.0030.00914.42
5.5.20.0100.00314.27
5.5.10.0130.00314.20
5.5.00.0000.01414.04

preferences:
59.94 ms | 401 KiB | 5 Q