3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp=tempnam("/tmp", "prvieval"); $tmp1=tempnam("/tmp", "drugieval"); file_put_contents($tmp, '<?php file_put_contents("' . $tmp1 . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'); echo "---" ; echo file_get_contents($tmp); echo "===";include($tmp); echo "xxxxxxx";echo file_get_contents($tmp1); echo "yyyyy";include($tmp1);

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.0100.01016.63
8.3.50.0080.01321.99
8.3.40.0090.00618.84
8.3.30.0110.00418.98
8.3.20.0070.00020.32
8.3.10.0050.00323.66
8.3.00.0000.00821.86
8.2.180.0060.01316.63
8.2.170.0040.01122.96
8.2.160.0100.00722.08
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0070.00320.46
8.2.120.0080.00026.35
8.2.110.0060.00320.62
8.2.100.0070.00417.72
8.2.90.0040.00419.22
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0040.00417.93
8.2.50.0040.00418.09
8.2.40.0000.00822.31
8.2.30.0020.00519.53
8.2.20.0050.00317.73
8.2.10.0040.00418.10
8.2.00.0000.00718.07
8.1.280.0100.01025.92
8.1.270.0050.00322.14
8.1.260.0100.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00323.73
8.1.230.0040.00820.77
8.1.220.0000.00817.79
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0080.00017.23
8.1.180.0050.00318.10
8.1.170.0040.00418.47
8.1.160.0040.00420.80
8.1.150.0050.00320.67
8.1.140.0030.00519.60
8.1.130.0040.00417.66
8.1.120.0070.00017.48
8.1.110.0040.00417.53
8.1.100.0000.00717.46
8.1.90.0030.00517.54
8.1.80.0050.00317.42
8.1.70.0040.00417.51
8.1.60.0060.00317.58
8.1.50.0030.00617.59
8.1.40.0060.00317.57
8.1.30.0000.00817.75
8.1.20.0050.00317.66
8.1.10.0040.00417.59
8.1.00.0080.00017.55
8.0.300.0030.00518.77
8.0.290.0000.00816.61
8.0.280.0000.00718.54
8.0.270.0070.00017.36
8.0.260.0050.00317.27
8.0.250.0050.00316.96
8.0.240.0000.00816.99
8.0.230.0000.00817.02
8.0.220.0000.00716.91
8.0.210.0030.00317.02
8.0.200.0070.00017.03
8.0.190.0030.00616.96
8.0.180.0060.00316.88
8.0.170.0030.00817.09
8.0.160.0000.00716.98
8.0.150.0040.00416.78
8.0.140.0040.00416.91
8.0.130.0060.00013.50
8.0.120.0050.00316.93
8.0.110.0000.00816.89
8.0.100.0000.00817.02
8.0.90.0070.00016.89
8.0.80.0100.00716.94
8.0.70.0070.00016.89
8.0.60.0000.00717.00
8.0.50.0040.00416.96
8.0.30.0030.01617.32
8.0.20.0090.01117.40
8.0.10.0040.00416.95
8.0.00.0100.00716.73
7.4.330.0030.00316.73
7.4.320.0060.00316.65
7.4.300.0000.00616.52
7.4.290.0040.00416.55
7.4.280.0060.00316.66
7.4.270.0030.00316.62
7.4.260.0050.00516.45
7.4.250.0000.00716.50
7.4.240.0000.00716.57
7.4.230.0050.00216.62
7.4.220.0060.01916.53
7.4.210.0090.00516.61
7.4.200.0030.00416.43
7.4.160.0100.00616.38
7.4.150.0110.00717.40
7.4.140.0090.00917.86
7.4.130.0130.00716.52
7.4.120.0080.01316.63
7.4.110.0130.00716.40
7.4.100.0100.00716.55
7.4.90.0090.00916.35
7.4.80.0120.01219.39
7.4.70.0110.00716.70
7.4.60.0150.00316.55
7.4.50.0070.01116.36
7.4.40.0150.00316.48
7.4.30.0090.00916.59
7.4.00.0030.01215.12
7.3.330.0030.00313.34
7.3.320.0000.00513.34
7.3.310.0070.00016.40
7.3.300.0000.00716.37
7.3.290.0030.00316.34
7.3.280.0090.00916.37
7.3.270.0110.01017.40
7.3.260.0090.01516.34
7.3.250.0080.01116.38
7.3.240.0090.00816.37
7.3.230.0100.00716.55
7.3.210.0180.00716.35
7.3.200.0200.00319.39
7.3.190.0060.00916.42
7.3.180.0090.00616.59
7.3.170.0040.01416.47
7.3.160.0090.01116.34
7.2.330.0120.00616.79
7.2.320.0100.00716.87
7.2.310.0100.00716.80
7.2.300.0110.00616.63
7.2.290.0100.00716.61
7.2.60.0110.00416.82
7.2.00.0040.01119.46
7.1.200.0060.00915.86
7.1.100.0080.00418.10
7.1.70.0030.00317.20
7.1.60.0160.01019.40
7.1.50.0040.01817.11
7.1.00.0030.07722.44
7.0.200.0470.00414.80
7.0.60.0130.08021.63
7.0.50.0030.05317.82
7.0.40.0230.07020.06
7.0.30.0200.08320.18
7.0.20.0200.04019.99
7.0.10.0100.04720.21
7.0.00.0070.06320.31
5.6.280.0030.05321.12
5.6.210.0100.07320.75
5.6.200.0030.04018.22
5.6.190.0000.04720.50
5.6.180.0330.05320.61
5.6.170.0170.05020.52
5.6.160.0200.07320.52
5.6.150.0030.08318.13
5.6.140.0070.08318.17
5.6.130.0030.04718.12
5.6.120.0000.04321.14
5.6.110.0100.08020.98
5.6.100.0070.07021.00
5.6.90.0130.06721.05
5.6.80.0100.04320.41
5.5.350.0230.07320.49
5.5.340.0030.03717.93
5.5.330.0070.04320.41
5.5.320.0300.05020.42
5.5.310.0230.07720.29
5.5.300.0030.06717.90
5.5.290.0070.08717.96
5.5.280.0170.06720.70
5.5.270.0070.07020.81
5.5.260.0130.08020.79
5.5.250.0130.07320.68
5.5.240.0170.07020.30

preferences:
36.47 ms | 401 KiB | 5 Q