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.0090.00916.75
8.3.50.0100.01021.94
8.3.40.0120.00319.04
8.3.30.0140.00018.95
8.3.20.0080.00020.29
8.3.10.0080.00023.64
8.3.00.0040.00423.79
8.2.180.0110.01116.63
8.2.170.0120.00622.96
8.2.160.0040.01122.26
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0000.00820.63
8.2.120.0040.00426.35
8.2.110.0040.00419.39
8.2.100.0100.00317.93
8.2.90.0030.00519.13
8.2.80.0080.00017.97
8.2.70.0030.00617.61
8.2.60.0080.00017.93
8.2.50.0030.00618.09
8.2.40.0040.00420.56
8.2.30.0030.00319.46
8.2.20.0030.00517.77
8.2.10.0060.00318.23
8.2.00.0030.00518.20
8.1.280.0140.00425.92
8.1.270.0150.00422.05
8.1.260.0070.00328.09
8.1.250.0080.00028.09
8.1.240.0070.01422.61
8.1.230.0000.01117.83
8.1.220.0000.00817.76
8.1.210.0000.00818.77
8.1.200.0000.01017.25
8.1.190.0040.00417.25
8.1.180.0030.00518.10
8.1.170.0000.00818.43
8.1.160.0030.00520.67
8.1.150.0000.00920.73
8.1.140.0080.00019.52
8.1.130.0000.00717.64
8.1.120.0000.00717.54
8.1.110.0000.00717.44
8.1.100.0050.00317.46
8.1.90.0040.00417.52
8.1.80.0000.00717.49
8.1.70.0080.00017.38
8.1.60.0060.00317.66
8.1.50.0040.00417.57
8.1.40.0000.00817.63
8.1.30.0000.00817.66
8.1.20.0050.00517.66
8.1.10.0040.00417.61
8.1.00.0030.00617.67
8.0.300.0030.00518.84
8.0.290.0070.00016.88
8.0.280.0000.00718.45
8.0.270.0000.00717.35
8.0.260.0000.00817.37
8.0.250.0030.00517.01
8.0.240.0000.00717.07
8.0.230.0030.00317.15
8.0.220.0040.00417.00
8.0.210.0000.00717.08
8.0.200.0000.00717.13
8.0.190.0030.00617.13
8.0.180.0000.00817.07
8.0.170.0040.00417.07
8.0.160.0000.00717.01
8.0.150.0000.00717.03
8.0.140.0030.00617.02
8.0.130.0030.00313.58
8.0.120.0000.00817.02
8.0.110.0050.00216.99
8.0.100.0000.00816.93
8.0.90.0000.00817.08
8.0.80.0110.00616.99
8.0.70.0000.00816.95
8.0.60.0040.00416.95
8.0.50.0040.00416.98
8.0.30.0070.01217.31
8.0.20.0080.01217.42
8.0.10.0000.00817.11
8.0.00.0100.01116.85
7.4.330.0030.00316.96
7.4.320.0030.00316.59
7.4.300.0000.00616.54
7.4.290.0030.00316.54
7.4.280.0030.00616.56
7.4.270.0030.00316.58
7.4.260.0040.00216.46
7.4.250.0000.00816.51
7.4.240.0030.00316.63
7.4.230.0070.00016.64
7.4.220.0130.00616.50
7.4.210.0040.01216.68
7.4.200.0040.00416.66
7.4.160.0070.01016.55
7.4.150.0150.00317.40
7.4.140.0130.00917.86
7.4.130.0080.01016.56
7.4.120.0050.01216.56
7.4.110.0120.00616.81
7.4.100.0030.01616.47
7.4.90.0170.00016.60
7.4.80.0110.00619.39
7.4.70.0140.00616.68
7.4.60.0090.00916.59
7.4.50.0040.01516.63
7.4.40.0090.00916.42
7.4.30.0130.00716.67
7.4.00.0070.01114.98
7.3.330.0000.00713.46
7.3.320.0000.00513.31
7.3.310.0000.00816.48
7.3.300.0030.00316.47
7.3.290.0040.00216.44
7.3.280.0080.01016.47
7.3.270.0120.00617.40
7.3.260.0160.00316.59
7.3.250.0140.00516.49
7.3.240.0130.00516.55
7.3.230.0110.00716.39
7.3.210.0120.00616.38
7.3.200.0060.01019.39
7.3.190.0030.01316.67
7.3.180.0120.00416.45
7.3.170.0120.00616.47
7.3.160.0060.00916.52
7.3.10.0000.01316.80
7.3.00.0040.01116.64
7.2.330.0080.00816.63
7.2.320.0130.01016.81
7.2.310.0000.01616.51
7.2.300.0060.01516.53
7.2.290.0090.00616.58
7.2.130.0030.00916.98
7.2.120.0120.00317.11
7.2.110.0540.00716.71
7.2.100.0030.01316.86
7.2.90.0110.00717.05
7.2.80.0030.00716.96
7.2.70.0030.01317.07
7.2.60.0060.01016.91
7.2.50.0140.00016.82
7.2.40.0060.00917.10
7.2.30.0060.00616.98
7.2.20.0070.00717.11
7.2.10.0060.00916.83
7.2.00.0050.00718.15
7.1.250.0030.01315.75
7.1.200.0060.00615.81
7.1.100.0100.00517.91
7.1.70.0000.00816.95
7.1.60.0170.00719.40
7.1.50.0100.00717.13
7.1.00.0100.07022.32
7.0.200.0000.01116.65
7.0.60.0200.08021.68
7.0.50.0070.08017.87
7.0.40.0070.04320.28
7.0.30.0230.04320.13
7.0.20.0200.04320.12
7.0.10.0030.04320.23
7.0.00.0100.03720.16
5.6.280.0070.04020.84
5.6.210.0070.07720.75
5.6.200.0070.07318.20
5.6.190.0070.06320.61
5.6.180.0270.08020.52
5.6.170.0200.07720.72
5.6.160.0070.04320.53
5.6.150.0130.05018.29
5.6.140.0030.05318.16
5.6.130.0100.03718.29
5.6.120.0070.08321.14
5.6.110.0030.09021.15
5.6.100.0130.06321.13
5.6.90.0100.06720.99
5.6.80.0100.07720.39
5.5.350.0200.07720.52
5.5.340.0000.04018.09
5.5.330.0070.04320.44
5.5.320.0230.06020.42
5.5.310.0200.04020.36
5.5.300.0130.07317.96
5.5.290.0070.05717.99
5.5.280.0070.08720.79
5.5.270.0130.06720.75
5.5.260.0100.09020.67
5.5.250.0100.08020.60
5.5.240.0270.07020.29

preferences:
59.27 ms | 401 KiB | 5 Q