3v4l.org

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

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.0060.00916.49
8.3.50.0110.00722.05
8.3.40.0110.01118.92
8.3.30.0140.00018.89
8.3.20.0080.00020.21
8.3.10.0080.00022.03
8.3.00.0030.00521.89
8.2.180.0110.00418.29
8.2.170.0070.00722.96
8.2.160.0070.01122.08
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00820.82
8.2.120.0050.00326.35
8.2.110.0030.00720.93
8.2.100.0040.00817.78
8.2.90.0040.00417.84
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0080.00017.50
8.2.50.0000.00817.55
8.2.40.0080.00019.35
8.2.30.0040.00419.48
8.2.20.0030.00517.61
8.2.10.0000.00718.26
8.2.00.0040.00418.16
8.1.280.0070.01125.92
8.1.270.0080.00023.82
8.1.260.0100.00028.09
8.1.250.0000.00828.09
8.1.240.0090.00023.80
8.1.230.0110.00020.93
8.1.220.0040.00417.77
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0080.00017.23
8.1.180.0030.00618.10
8.1.170.0040.00417.64
8.1.160.0000.00820.82
8.1.150.0040.00420.68
8.1.140.0050.00319.55
8.1.130.0030.00317.79
8.1.120.0040.00417.52
8.1.110.0050.00317.42
8.1.100.0040.00417.44
8.1.90.0050.00317.57
8.1.80.0030.00417.46
8.1.70.0070.00017.45
8.1.60.0080.00017.70
8.1.50.0060.00317.59
8.1.40.0030.00617.68
8.1.30.0030.00517.79
8.1.20.0030.00617.66
8.1.10.0000.00817.75
8.1.00.0050.00317.50
8.0.300.0070.00019.90
8.0.290.0000.00816.75
8.0.280.0000.00718.55
8.0.270.0030.00317.39
8.0.260.0000.00717.39
8.0.250.0000.00717.03
8.0.240.0000.00617.13
8.0.230.0030.00317.02
8.0.220.0000.00717.00
8.0.210.0000.00716.93
8.0.200.0070.00017.03
8.0.190.0000.00916.96
8.0.180.0000.00816.98
8.0.170.0040.00417.02
8.0.160.0040.00416.83
8.0.150.0040.00417.04
8.0.140.0000.00716.94
8.0.130.0040.00413.52
8.0.120.0040.00416.98
8.0.110.0000.00816.96
8.0.100.0040.00416.97
8.0.90.0040.00416.95
8.0.80.0060.01016.97
8.0.70.0040.00417.05
8.0.60.0040.00417.03
8.0.50.0030.00516.90
8.0.30.0100.00617.22
8.0.20.0110.00817.41
8.0.10.0080.00017.10
8.0.00.0100.00816.72
7.4.330.0060.00016.90
7.4.320.0060.00016.64
7.4.300.0040.00416.66
7.4.290.0030.00316.50
7.4.280.0080.00016.64
7.4.270.0030.00316.70
7.4.260.0000.00816.52
7.4.250.0040.00416.59
7.4.240.0080.00016.62
7.4.230.0050.00216.50
7.4.220.0100.01016.70
7.4.210.0100.00416.52
7.4.200.0030.00316.56
7.4.160.0060.00916.44
7.4.150.0090.00917.40
7.4.140.0120.00617.86
7.4.130.0100.00816.53
7.4.120.0120.00616.50
7.4.110.0090.00916.42
7.4.100.0170.00716.50
7.4.90.0180.00416.48
7.4.80.0110.01419.39
7.4.70.0060.01216.75
7.4.60.0090.00916.55
7.4.50.0040.01116.54
7.4.40.0060.01116.47
7.4.30.0130.00616.63
7.4.00.0030.01214.70
7.3.330.0050.00213.25
7.3.320.0000.00513.42
7.3.310.0030.00316.52
7.3.300.0070.00016.30
7.3.290.0000.00716.36
7.3.280.0100.00816.33
7.3.270.0100.01017.40
7.3.260.0100.01016.66
7.3.250.0070.01016.57
7.3.240.0080.00816.37
7.3.230.0080.00816.43
7.3.210.0100.01316.59
7.3.200.0160.00619.39
7.3.190.0060.01516.41
7.3.180.0140.00316.58
7.3.170.0080.01116.50
7.3.160.0000.01616.25
7.3.10.0070.00716.63
7.3.00.0070.01016.27
7.2.330.0060.01216.88
7.2.320.0080.00816.85
7.2.310.0040.01716.82
7.2.300.0100.00716.82
7.2.290.0120.00616.63
7.2.130.0110.00716.59
7.2.120.0100.00616.79
7.2.110.0340.00616.52
7.2.100.0080.00816.98
7.2.90.0160.00716.69
7.2.80.0130.00416.81
7.2.70.0120.00916.93
7.2.60.0100.00716.95
7.2.50.0240.00316.75
7.2.40.0100.01416.51
7.2.30.0140.00717.09
7.2.20.0070.00717.04
7.2.10.0060.00616.56
7.2.00.0070.01018.10
7.1.250.0070.00715.82
7.1.200.0030.00715.74
7.1.100.0140.00918.07
7.1.70.0030.00517.20
7.1.60.0070.01719.40
7.1.50.0000.01217.06
7.1.00.0000.07722.36
7.0.200.0000.00816.83
7.0.60.0230.07021.79
7.0.50.0230.06317.88
7.0.40.0000.04720.21
7.0.30.0270.06320.18
7.0.20.0300.03720.09
7.0.10.0030.04720.28
7.0.00.0000.04320.06
5.6.280.0030.03321.12
5.6.210.0070.08020.53
5.6.200.0070.08018.16
5.6.190.0100.08020.58
5.6.180.0300.04720.36
5.6.170.0130.05020.72
5.6.160.0170.06320.53
5.6.150.0030.06018.13
5.6.140.0200.05318.12
5.6.130.0130.07718.13
5.6.120.0030.08321.14
5.6.110.0030.05021.00
5.6.100.0130.05721.01
5.6.90.0030.06320.98
5.6.80.0100.07320.46
5.5.350.0170.08020.42
5.5.340.0130.03718.01
5.5.330.0030.04320.25
5.5.320.0270.05720.32
5.5.310.0170.04320.29
5.5.300.0030.06018.00
5.5.290.0130.07717.92
5.5.280.0130.08020.79
5.5.270.0100.08320.98
5.5.260.0070.08020.75
5.5.250.0030.08320.60
5.5.240.0230.07320.29

preferences:
52.92 ms | 401 KiB | 5 Q