3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return null; } function call() { $a = null; if (!a) { return 4221412; } } call();

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.00618.30
8.3.50.0070.00716.47
8.3.40.0090.00618.83
8.3.30.0060.00918.80
8.3.20.0070.00019.15
8.3.10.0040.00423.36
8.3.00.0080.00019.48
8.2.180.0110.00716.88
8.2.170.0120.00322.96
8.2.160.0100.00720.52
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0080.00022.21
8.2.120.0000.00826.35
8.2.110.0100.00020.52
8.2.100.0110.00017.84
8.2.90.0000.00819.31
8.2.80.0080.00018.04
8.2.70.0060.00317.63
8.2.60.0000.00817.79
8.2.50.0030.00718.10
8.2.40.0040.00422.27
8.2.30.0000.00720.88
8.2.20.0050.00317.99
8.2.10.0000.00718.15
8.2.00.0000.00717.98
8.1.280.0120.00625.92
8.1.270.0040.00422.09
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0090.00022.48
8.1.230.0070.00419.00
8.1.220.0090.00017.76
8.1.210.0050.00318.77
8.1.200.0050.00517.36
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00818.65
8.1.160.0040.00418.94
8.1.150.0050.00318.79
8.1.140.0050.00219.56
8.1.130.0070.00018.89
8.1.120.0050.00317.41
8.1.110.0060.00317.44
8.1.100.0030.00517.31
8.1.90.0030.00517.46
8.1.80.0000.00717.42
8.1.70.0070.00017.43
8.1.60.0000.00817.57
8.1.50.0040.00417.47
8.1.40.0090.00317.48
8.1.30.0060.00317.65
8.1.20.0050.00317.52
8.1.10.0040.00417.56
8.1.00.0020.00517.45
8.0.300.0040.00418.77
8.0.290.0030.00516.75
8.0.280.0070.00018.39
8.0.270.0030.00317.15
8.0.260.0000.00716.89
8.0.250.0030.00316.88
8.0.240.0030.00516.89
8.0.230.0070.00016.98
8.0.220.0000.00616.85
8.0.210.0000.00716.98
8.0.200.0070.00316.98
8.0.190.0040.00416.94
8.0.180.0050.00317.01
8.0.170.0030.00316.98
8.0.160.0030.00316.96
8.0.150.0030.00516.78
8.0.140.0000.00716.79
8.0.130.0040.00413.34
8.0.120.0000.00716.81
8.0.110.0070.00016.89
8.0.100.0050.00216.89
8.0.90.0070.00016.96
8.0.80.0090.00916.95
8.0.70.0020.00516.96
8.0.60.0040.00416.84
8.0.50.0000.00716.92
8.0.30.0080.01016.92
8.0.20.0130.01617.40
8.0.10.0030.00517.06
8.0.00.0090.00916.61
7.4.330.0040.00015.55
7.4.320.0030.00316.49
7.4.300.0030.00316.51
7.4.290.0090.00016.54
7.4.280.0070.00016.53
7.4.270.0030.00316.50
7.4.260.0030.00313.22
7.4.250.0000.00716.45
7.4.240.0040.00416.48
7.4.230.0070.00016.52
7.4.220.0070.01016.70
7.4.210.0090.00716.60
7.4.200.0050.00316.59
7.4.160.0070.01316.38
7.4.150.0120.01217.40
7.4.140.0120.00717.86
7.4.130.0150.00816.57
7.4.120.0100.00816.52
7.4.110.0150.00316.39
7.4.100.0120.00616.71
7.4.90.0150.00416.58
7.4.80.0080.00819.39
7.4.70.0060.01616.56
7.4.60.0040.01216.40
7.4.50.0060.00916.39
7.4.40.0140.01016.29
7.4.30.0110.00716.55
7.4.00.0110.00414.92
7.3.330.0040.00413.03
7.3.320.0030.00313.24
7.3.310.0030.00316.16
7.3.300.0040.00416.21
7.3.290.0000.00716.12
7.3.280.0060.01016.29
7.3.270.0030.01317.40
7.3.260.0120.00516.48
7.3.250.0090.00916.32
7.3.240.0090.00816.46
7.3.230.0100.00716.47
7.3.210.0120.00316.51
7.3.200.0030.01316.41
7.3.190.0110.00516.32
7.3.180.0040.01716.48
7.3.170.0130.00316.34
7.3.160.0110.00616.43
7.3.10.0030.00716.47
7.3.00.0070.00316.59
7.2.330.0140.00316.64
7.2.320.0090.01216.71
7.2.310.0030.01316.50
7.2.300.0070.01016.69
7.2.290.0060.01116.63
7.2.130.0100.00716.69
7.2.120.0070.00716.70
7.2.110.0040.00716.95
7.2.100.0090.00616.84
7.2.90.0090.00416.58
7.2.80.0000.01816.44
7.2.70.0030.01416.84
7.2.60.0030.00816.75
7.2.50.0090.00616.54
7.2.40.0080.00416.62
7.2.30.0070.00716.83
7.2.20.0060.00916.73
7.2.10.0070.00717.02
7.2.00.0070.00316.80
7.1.250.0090.00315.76
7.1.200.0030.01015.84
7.1.70.4230.01715.02
7.1.60.4230.01332.79
7.1.50.3800.02332.70
7.1.40.4200.01732.39
7.1.30.5270.02032.78
7.1.20.4030.01332.82
7.1.10.2570.00714.68
7.1.00.0430.00314.77
7.0.200.4470.01314.61
7.0.190.4900.01314.91
7.0.180.4170.01014.31
7.0.170.6230.00714.25
7.0.160.4830.01314.45
7.0.150.3230.01314.12
7.0.140.4430.01014.50
7.0.130.0300.01014.82
7.0.120.0130.01014.55
7.0.110.0130.01014.43
7.0.100.0100.01314.36
7.0.90.0100.01314.42
7.0.80.0130.00714.44
7.0.70.0700.02014.60
7.0.60.0070.01314.35
7.0.50.0170.00714.43
7.0.40.0070.01314.64
7.0.30.0200.01314.55
7.0.20.0900.01014.31
7.0.10.1470.00314.44
7.0.00.0130.00714.49

preferences:
128.6 ms | 401 KiB | 5 Q