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, ' 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.0120.00616.75
8.3.50.0100.01122.11
8.3.40.0060.01218.75
8.3.30.0060.00918.76
8.3.20.0080.00020.35
8.3.10.0050.00323.86
8.3.00.0040.00423.70
8.2.180.0150.00016.88
8.2.170.0140.00422.96
8.2.160.0160.00022.25
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0060.00320.72
8.2.120.0050.00326.35
8.2.110.0070.00320.47
8.2.100.0110.00017.88
8.2.90.0050.00319.21
8.2.80.0030.00617.97
8.2.70.0030.00617.38
8.2.60.0040.00417.93
8.2.50.0060.00318.09
8.2.40.0040.00420.47
8.2.30.0030.00519.54
8.2.20.0060.00317.68
8.2.10.0000.00718.14
8.2.00.0000.00718.12
8.1.280.0090.00625.92
8.1.270.0080.00022.07
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0070.00323.81
8.1.230.0090.00320.87
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0000.00917.35
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0040.00418.65
8.1.160.0000.00720.72
8.1.150.0080.00020.79
8.1.140.0000.00819.60
8.1.130.0000.00717.78
8.1.120.0030.00517.49
8.1.110.0000.00717.41
8.1.100.0040.00417.48
8.1.90.0050.00217.46
8.1.80.0040.00417.52
8.1.70.0000.00717.50
8.1.60.0090.00017.67
8.1.50.0040.00417.62
8.1.40.0030.00517.50
8.1.30.0000.00917.72
8.1.20.0000.00817.58
8.1.10.0030.00517.63
8.1.00.0000.00817.60
8.0.300.0040.00418.77
8.0.290.0030.00516.88
8.0.280.0070.00018.46
8.0.270.0030.00317.26
8.0.260.0000.00617.40
8.0.250.0070.00017.14
8.0.240.0030.00317.04
8.0.230.0050.00317.04
8.0.220.0000.00717.06
8.0.210.0000.00717.09
8.0.200.0030.00317.14
8.0.190.0000.00917.14
8.0.180.0050.00317.03
8.0.170.0030.00517.03
8.0.160.0000.00717.10
8.0.150.0000.00716.95
8.0.140.0080.00017.08
8.0.130.0000.00713.62
8.0.120.0080.00017.02
8.0.110.0040.00417.09
8.0.100.0030.00516.88
8.0.90.0080.00016.92
8.0.80.0080.00816.98
8.0.70.0000.00716.84
8.0.60.0000.00716.96
8.0.50.0040.00417.05
8.0.30.0090.01217.17
8.0.20.0110.00817.40
8.0.10.0080.00016.90
8.0.00.0090.00916.78
7.4.330.0020.00216.86
7.4.320.0030.00316.44
7.4.300.0030.00316.63
7.4.290.0040.00416.66
7.4.280.0070.00016.48
7.4.270.0030.00316.56
7.4.260.0070.00016.48
7.4.250.0040.00416.64
7.4.240.0040.00416.65
7.4.230.0030.00316.72
7.4.220.0110.00716.59
7.4.210.0050.01216.63
7.4.200.0040.00416.64
7.4.160.0030.01316.64
7.4.150.0100.00717.40
7.4.140.0080.01117.86
7.4.130.0060.01316.64
7.4.120.0130.00816.64
7.4.110.0140.00316.54
7.4.100.0120.00616.60
7.4.90.0160.00316.55
7.4.80.0060.01219.39
7.4.70.0060.00916.46
7.4.60.0090.01216.39
7.4.50.0100.00716.54
7.4.40.0040.01416.53
7.4.30.0090.01116.46
7.4.00.0090.00615.17
7.3.330.0000.00613.26
7.3.320.0000.00513.33
7.3.310.0050.00216.38
7.3.300.0030.00316.45
7.3.290.0040.00416.43
7.3.280.0110.00416.48
7.3.270.0130.00617.40
7.3.260.0120.01216.56
7.3.250.0110.00716.45
7.3.240.0070.01216.43
7.3.230.0100.00716.68
7.3.210.0130.00916.63
7.3.200.0160.01119.39
7.3.190.0000.01616.59
7.3.180.0030.01516.56
7.3.170.0060.01216.48
7.3.160.0090.00616.57
7.3.00.0000.01316.65
7.2.330.0100.01016.67
7.2.320.0090.01316.73
7.2.310.0100.00616.56
7.2.300.0040.01316.78
7.2.290.0060.01216.40
7.2.130.0150.00316.96
7.2.120.0090.00617.02
7.2.110.0080.00816.94
7.2.100.0040.01117.15
7.2.90.0100.00317.08
7.2.80.0000.01617.14
7.2.70.0090.00616.97
7.2.60.0050.00817.06
7.2.50.0070.00716.86
7.2.40.0060.01017.23
7.2.30.0040.00816.88
7.2.20.0060.00616.95
7.2.10.0090.00616.96
7.2.00.0020.01218.34
7.1.250.0060.00615.86
7.1.240.0070.00715.83
7.1.230.0100.00315.70
7.1.220.0070.00715.65
7.1.210.0030.01215.81
7.1.200.0060.00615.91
7.1.190.0090.00615.67
7.1.180.0120.00315.89
7.1.170.0100.00315.95
7.1.160.0000.01315.93
7.1.150.0060.00615.93
7.1.140.0060.00615.95
7.1.130.0100.00615.60
7.1.120.0030.01015.78
7.1.110.0050.00515.89
7.1.100.0090.00417.06
7.1.90.0030.01016.02
7.1.80.0100.00315.83
7.1.70.0030.00716.48
7.1.60.0050.01317.62
7.1.50.0030.01616.30
7.1.40.0090.00615.69
7.1.30.0000.01715.84
7.1.20.0070.01015.82
7.1.10.0060.00315.79
7.1.00.0000.04519.11
7.0.330.0110.00315.38
7.0.320.0070.00715.34
7.0.310.0030.01315.29
7.0.300.0060.01015.44
7.0.290.0070.00315.36
7.0.280.0000.01115.57
7.0.270.0030.01115.24
7.0.260.0070.00715.57
7.0.250.0040.00815.51
7.0.240.0000.01115.44
7.0.230.0000.01515.60
7.0.220.0100.00315.45
7.0.210.0030.00915.63
7.0.200.0090.00316.07
7.0.190.0060.00615.52
7.0.180.0040.00415.68
7.0.170.0100.00315.65
7.0.160.0030.01315.33
7.0.150.0030.01315.18
7.0.140.0060.00615.38
7.0.130.0040.00715.52
7.0.120.0030.01015.43
7.0.110.0060.00615.61
7.0.100.0060.00315.54
7.0.90.0040.01115.30
7.0.80.0110.00415.54
7.0.70.0070.00415.44
7.0.60.0130.04318.60
7.0.50.0040.02716.67
7.0.40.0090.02516.86
7.0.30.0120.02616.77
7.0.20.0180.02216.82
7.0.10.0060.02216.93
7.0.00.0100.04616.85
5.6.380.0040.01214.50
5.6.370.0030.00714.50
5.6.360.0060.00314.44
5.6.350.0050.00514.55
5.6.340.0070.00714.49
5.6.330.0040.00814.57
5.6.320.0060.00614.60
5.6.310.0070.00714.42
5.6.300.0110.00314.36
5.6.290.0080.00614.35
5.6.280.0020.03517.81
5.6.270.0000.00914.34
5.6.260.0060.00614.41
5.6.250.0000.01314.14
5.6.240.0070.00714.25
5.6.230.0030.00714.24
5.6.220.0030.00914.55
5.6.210.0090.04417.52
5.6.200.0130.04016.27
5.6.190.0000.02717.33
5.6.180.0190.02517.40
5.6.170.0110.03617.43
5.6.160.0120.04217.46
5.6.150.0030.04616.30
5.6.140.0070.04416.16
5.6.130.0030.03516.43
5.6.120.0040.03217.62
5.6.110.0070.04717.84
5.6.100.0050.04717.65
5.6.90.0050.04717.71
5.6.80.0070.04117.43
5.6.70.0030.00714.36
5.6.60.0070.00414.16
5.6.50.0060.00614.17
5.6.40.0040.01114.37
5.6.30.0000.00914.21
5.6.20.0070.00714.21
5.6.10.0120.00314.34
5.6.00.0030.01014.44
5.5.380.0080.00811.18
5.5.370.0110.00011.18
5.5.360.0070.00311.29
5.5.350.0110.03915.88
5.5.340.0120.02014.71
5.5.330.0090.04215.82
5.5.320.0180.04015.74
5.5.310.0120.02515.77
5.5.300.0070.04214.65
5.5.290.0050.02514.58
5.5.280.0070.02816.05
5.5.270.0100.04015.92
5.5.260.0030.03316.05
5.5.250.0130.03115.95
5.5.240.0100.02815.63
5.5.230.0060.00611.18
5.5.220.0030.00611.18
5.5.210.0000.00811.18
5.5.200.0030.00911.18
5.5.190.0060.00011.33
5.5.180.0000.00911.25
5.5.170.0040.00411.27
5.5.160.0050.00511.27
5.5.150.0000.00711.18
5.5.140.0000.00711.18
5.5.130.0060.00611.18
5.5.120.0000.00611.18
5.5.110.0060.00011.18
5.5.100.0080.00311.18
5.5.90.0000.00811.18
5.5.80.0000.00811.18
5.5.70.0040.00411.18
5.5.60.0050.00311.18
5.5.50.0030.00611.18
5.5.40.0040.00411.18
5.5.30.0050.00511.22
5.5.20.0000.00711.27
5.5.10.0080.00011.18
5.5.00.0070.00011.20

preferences:
63.95 ms | 401 KiB | 5 Q