3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($a1, $a2) { if (!isset($a1)) { echo 'a1 unset'; } } test(true, true); test();

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.0160.00316.63
8.3.50.0030.01716.63
8.3.40.0070.00718.67
8.3.30.0110.00418.54
8.3.20.0000.00820.16
8.3.10.0090.00923.66
8.3.00.0030.00623.48
8.2.180.0070.01518.16
8.2.170.0140.00022.96
8.2.160.0040.01120.35
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00319.16
8.2.120.0140.00426.35
8.2.110.0080.00022.30
8.2.100.0090.00318.05
8.2.90.0000.00719.21
8.2.80.0040.00417.97
8.2.70.0000.00917.38
8.2.60.0040.00418.04
8.2.50.0080.00018.07
8.2.40.0080.00022.27
8.2.30.0040.00420.60
8.2.20.0000.00717.64
8.2.10.0040.00418.03
8.2.00.0000.00717.95
8.1.280.0000.02225.92
8.1.270.0030.00520.38
8.1.260.0100.00728.09
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0040.00819.01
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0040.00417.25
8.1.180.0000.00718.10
8.1.170.0000.00818.61
8.1.160.0000.00720.69
8.1.150.0070.00018.86
8.1.140.0050.00319.44
8.1.130.0070.00017.69
8.1.120.0000.00717.35
8.1.110.0070.00017.27
8.1.100.0040.00417.27
8.1.90.0000.00717.29
8.1.80.0040.00417.39
8.1.70.0000.00817.42
8.1.60.0080.00017.39
8.1.50.0030.00617.41
8.1.40.0040.00417.41
8.1.30.0040.00417.51
8.1.20.0080.00017.55
8.1.10.0000.00717.52
8.1.00.0000.00817.37
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.44
8.0.270.0000.00717.12
8.0.260.0030.00317.25
8.0.250.0030.00316.91
8.0.240.0040.00416.98
8.0.230.0040.00417.03
8.0.220.0000.00816.97
8.0.210.0040.00316.93
8.0.200.0030.00316.87
8.0.190.0050.00317.05
8.0.180.0040.00417.01
8.0.170.0080.00017.02
8.0.160.0040.00417.00
8.0.150.0000.00816.96
8.0.140.0000.00716.82
8.0.130.0080.00013.39
8.0.120.0030.00516.80
8.0.110.0000.00816.94
8.0.100.0070.00016.91
8.0.90.0080.00016.82
8.0.80.0040.01116.95
8.0.70.0000.00716.94
8.0.60.0040.00416.83
8.0.50.0040.00416.91
8.0.30.0090.01217.17
8.0.20.0120.00717.40
8.0.10.0040.00316.88
8.0.00.0110.01016.73
7.4.330.0050.00016.79
7.4.320.0000.00616.52
7.4.300.0000.00716.52
7.4.290.0000.00716.50
7.4.280.0080.00016.50
7.4.270.0030.00316.42
7.4.260.0070.00016.45
7.4.250.0030.00416.36
7.4.240.0020.00516.44
7.4.230.0070.00016.27
7.4.220.0080.00816.43
7.4.210.0000.01916.52
7.4.200.0030.00316.61
7.4.160.0060.00916.38
7.4.150.0040.01217.40
7.4.140.0080.01317.86
7.4.130.0120.00516.57
7.4.120.0100.00916.53
7.4.110.0140.00316.70
7.4.100.0140.00416.52
7.4.90.0120.00616.51
7.4.80.0070.01419.39
7.4.70.0150.00316.31
7.4.60.0000.01616.30
7.4.50.0080.00816.55
7.4.40.0060.01216.46
7.4.30.0140.00516.42
7.4.00.0060.00615.02
7.3.330.0050.00013.27
7.3.320.0050.00013.30
7.3.310.0070.00016.26
7.3.300.0030.00316.35
7.3.290.0060.01016.26
7.3.280.0100.00716.34
7.3.270.0070.01417.40
7.3.260.0090.00816.27
7.3.250.0080.01016.36
7.3.240.0080.01016.46
7.3.230.0070.01016.39
7.3.210.0070.01016.45
7.3.200.0110.00516.30
7.3.190.0140.00516.22
7.3.180.0100.00716.46
7.3.170.0000.01516.27
7.3.160.0090.00616.57
7.3.10.0130.00516.29
7.3.00.0170.00016.54
7.2.330.0090.00916.65
7.2.320.0140.00616.71
7.2.310.0090.00916.63
7.2.300.0090.01216.25
7.2.290.0000.01716.39
7.2.130.0070.00716.78
7.2.120.0070.00416.37
7.2.110.0070.01016.16
7.2.100.0110.00316.29
7.2.90.0060.00316.13
7.2.80.0080.00516.48
7.2.70.0090.00616.50
7.2.60.0110.00816.47
7.2.50.0100.00716.57
7.2.40.0110.00816.57
7.2.30.0110.00416.61
7.2.20.0030.01216.31
7.2.10.0190.00416.58
7.2.00.0080.00618.11
7.1.250.0070.00715.77
7.1.200.0100.00315.60
7.1.100.0000.01417.84
7.1.70.0000.00816.91
7.1.60.0130.01019.52
7.1.50.0030.01616.70
7.1.00.0030.07722.45
7.0.200.0070.00016.64
7.0.60.0000.04319.86
7.0.50.0000.06017.87
7.0.40.0000.04720.13
7.0.30.0330.07320.15
7.0.20.0270.07720.16
7.0.10.0070.04320.21
7.0.00.0070.08320.07
5.6.280.0000.03720.93
5.6.210.0000.08720.55
5.6.200.0100.07718.18
5.6.190.0100.04320.63
5.6.180.0230.07020.78
5.6.170.0300.07320.47
5.6.160.0170.07020.52
5.6.150.0100.07718.23
5.6.140.0200.06018.22
5.6.130.0070.08018.15
5.6.120.0230.05320.90
5.6.110.0070.07021.08
5.6.100.0130.05321.03
5.6.90.0170.07021.00
5.6.80.0130.07320.54
5.5.350.0300.07320.36
5.5.340.0030.08318.09
5.5.330.0030.10020.19
5.5.320.0300.07020.34
5.5.310.0270.06720.25
5.5.300.0070.05717.95
5.5.290.0070.05717.99
5.5.280.0000.09020.77
5.5.270.0170.07320.79
5.5.260.0170.07720.95
5.5.250.0030.07020.79
5.5.240.0200.02320.27

preferences:
51.17 ms | 400 KiB | 5 Q