3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array() + null;

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.00618.43
8.3.50.0130.00921.96
8.3.40.0070.01418.71
8.3.30.0070.00719.13
8.3.20.0040.00420.18
8.3.10.0000.00723.50
8.3.00.0030.00617.80
8.2.180.0160.00316.63
8.2.170.0090.00622.96
8.2.160.0090.00620.39
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0040.00421.10
8.2.110.0100.00722.25
8.2.100.0040.00418.72
8.1.280.0120.00325.92
8.1.270.0080.00023.84
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00318.34
8.1.230.0040.00418.48
5.5.150.0030.07720.09
5.5.140.0130.07320.19
5.5.130.0070.08320.06
5.5.120.0100.07320.13
5.5.110.0170.06320.20
5.5.100.0030.05720.12
5.5.90.0070.04320.00
5.5.80.0100.07020.01
5.5.70.0100.05720.00
5.5.60.0070.06720.00
5.5.50.0000.08019.87
5.5.40.0100.07320.08
5.5.30.0070.06720.08
5.5.20.0030.08319.99
5.5.10.0200.06719.90
5.5.00.0030.05320.04
5.4.310.0100.06318.79
5.4.300.0100.07019.06
5.4.290.0070.06019.14
5.4.280.0100.07018.99
5.4.270.0030.05319.08
5.4.260.0100.07719.12
5.4.250.0170.06319.05
5.4.240.0130.07019.14
5.4.230.0170.05319.14
5.4.220.0070.08319.05
5.4.210.0100.06319.12
5.4.200.0030.07019.02
5.4.190.0070.08318.80
5.4.180.0030.07319.09
5.4.170.0100.07319.09
5.4.160.0070.07318.97
5.4.150.0170.06718.95
5.4.140.0100.06016.32
5.4.130.0030.06316.32
5.4.120.0070.07316.30
5.4.110.0130.07316.53
5.4.100.0030.07016.34
5.4.90.0030.08016.21
5.4.80.0100.06716.24
5.4.70.0100.05716.20
5.4.60.0070.06716.36
5.4.50.0100.06716.20
5.4.40.0130.07016.36
5.4.30.0030.07716.27
5.4.20.0100.06016.36
5.4.10.0030.08316.41
5.4.00.0100.06315.75
5.3.280.0100.08014.57
5.3.270.0030.04714.58
5.3.260.0100.07014.51
5.3.250.0030.08014.42
5.3.240.0070.07314.60
5.3.230.0100.07314.55
5.3.220.0070.05314.55
5.3.210.0130.06314.52
5.3.200.0070.07314.38
5.3.190.0070.07314.57
5.3.180.0200.06014.41
5.3.170.0170.04014.55
5.3.160.0070.07014.47
5.3.150.0100.04014.50
5.3.140.0070.07014.51
5.3.130.0030.07014.40
5.3.120.0070.07014.51
5.3.110.0100.07314.53
5.3.100.0030.05713.88
5.3.90.0030.07013.84
5.3.80.0000.08713.98
5.3.70.0100.07013.95
5.3.60.0200.05713.85
5.3.50.0070.07013.90
5.3.40.0100.06713.89
5.3.30.0070.07313.93
5.3.20.0030.07313.54
5.3.10.0070.06713.64
5.3.00.0070.05713.63
5.2.170.0030.06311.90
5.2.160.0130.05711.90
5.2.150.0000.06311.90
5.2.140.0030.06011.90
5.2.130.0100.05711.90
5.2.120.0070.05711.90
5.2.110.0070.05711.90
5.2.100.0100.05011.90
5.2.90.0030.06311.90
5.2.80.0100.05711.90
5.2.70.0000.04011.90
5.2.60.0100.05711.90
5.2.50.0170.04711.90
5.2.40.0030.03311.90
5.2.30.0070.05711.90
5.2.20.0030.06011.90
5.2.10.0000.06011.90
5.2.00.0030.06311.90
5.1.60.0000.06011.90
5.1.50.0070.04311.90
5.1.40.0000.05311.90
5.1.30.0030.06311.90
5.1.20.0130.04711.90
5.1.10.0030.05711.90
5.1.00.0100.05011.90
5.0.50.0000.03311.90
5.0.40.0000.04711.90
5.0.30.0000.06711.90
5.0.20.0000.04711.90
5.0.10.0030.02311.90
5.0.00.0030.06011.90
4.4.90.0030.03711.90
4.4.80.0030.03011.90
4.4.70.0000.03311.90
4.4.60.0000.02011.90
4.4.50.0070.02311.90
4.4.40.0000.05711.90
4.4.30.0030.03311.90
4.4.20.0000.03011.90
4.4.10.0070.02711.90
4.4.00.0030.05711.90
4.3.110.0030.03311.90
4.3.100.0000.02311.90
4.3.90.0030.03311.90
4.3.80.0030.05011.90
4.3.70.0030.01711.90
4.3.60.0000.03311.90
4.3.50.0070.03311.90
4.3.40.0030.05011.90
4.3.30.0000.03311.90
4.3.20.0000.02711.90
4.3.10.0070.02711.90
4.3.00.0070.03011.90

preferences:
34.89 ms | 401 KiB | 5 Q