3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($a = NULL,$b = NULL,$c = NULL){ print(gettype($a)); print(gettype($b)); print(gettype($c)); } test("a",1);

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.0070.01416.75
8.3.50.0120.00616.12
8.3.40.0000.01518.54
8.3.30.0090.00618.71
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0070.00026.16
8.2.180.0150.00625.92
8.2.170.0000.01422.96
8.2.160.0060.00922.96
8.2.150.0000.00725.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00721.12
8.2.110.0060.00319.27
8.2.100.0080.00417.72
8.2.90.0040.00419.05
8.2.80.0080.00017.97
8.2.70.0050.00317.50
8.2.60.0060.00317.90
8.2.50.0050.00318.07
8.2.40.0000.00718.09
8.2.30.0040.00418.06
8.2.20.0050.00318.05
8.2.10.0040.00419.24
8.2.00.0050.00219.21
8.1.280.0110.00425.92
8.1.270.0020.00523.99
8.1.260.0000.01126.35
8.1.250.0040.00428.09
8.1.240.0080.00421.99
8.1.230.0000.01222.88
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0090.00017.22
8.1.190.0040.00417.10
8.1.180.0090.00018.10
8.1.170.0000.01018.66
8.1.160.0040.00418.99
8.1.150.0040.00418.80
8.1.140.0030.00618.70
8.1.130.0070.00020.13
8.1.120.0070.00017.38
8.1.110.0000.00717.41
8.1.100.0000.00817.35
8.1.90.0040.00417.32
8.1.80.0030.00517.32
8.1.70.0030.00317.37
8.1.60.0060.00317.55
8.1.50.0040.00417.46
8.1.40.0040.00417.43
8.1.30.0040.00417.48
8.1.20.0060.00317.54
8.1.10.0050.00217.33
8.1.00.0080.00017.43
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.45
8.0.270.0000.00717.84
8.0.260.0050.00318.25
8.0.250.0030.00316.80
8.0.240.0070.00016.88
8.0.230.0000.00716.77
8.0.220.0030.00316.77
8.0.210.0000.00716.73
8.0.200.0000.00716.71
8.0.190.0000.00816.70
8.0.180.0000.00816.72
8.0.170.0080.00016.79
8.0.160.0040.00416.84
8.0.150.0000.00716.84
8.0.140.0000.00716.81
8.0.130.0030.00313.32
8.0.120.0000.00816.80
8.0.110.0040.00416.66
8.0.100.0080.00016.63
8.0.90.0060.00316.70
8.0.80.0060.00916.76
8.0.70.0030.00516.65
8.0.60.0000.00716.90
8.0.50.0080.00016.68
8.0.30.0030.01317.21
8.0.20.0090.01516.79
8.0.10.0000.00716.94
8.0.00.0120.00616.74
7.4.330.0000.00515.55
7.4.320.0000.00716.50
7.4.300.0000.00916.55
7.4.290.0000.00716.58
7.4.280.0030.00616.45
7.4.270.0000.00716.52
7.4.260.0030.00313.10
7.4.250.0000.00716.55
7.4.240.0030.00316.51
7.4.230.0000.00716.39
7.4.220.0070.00016.52
7.4.210.0110.00316.51
7.4.200.0030.00316.63
7.4.130.0070.01216.44
7.4.120.0070.01016.51
7.4.110.0100.00716.46
7.4.100.0130.00916.45
7.4.90.0130.00316.46
7.4.80.0170.00319.39
7.4.70.0050.01116.54
7.4.60.0060.01016.41
7.4.50.0120.00816.21
7.4.40.0130.00516.03
7.4.30.0080.01115.89
7.4.20.0100.01016.16
7.4.10.0120.00716.17
7.4.00.0100.00916.49
7.3.330.0050.00216.33
7.3.320.0030.00313.13
7.3.310.0070.00016.41
7.3.300.0000.00716.31
7.3.290.0060.00916.27
7.3.260.0090.00916.34
7.3.240.0100.00616.57
7.3.230.0060.01016.30
7.3.210.0100.00616.55
7.3.200.0160.00716.62
7.3.190.0130.00716.56
7.3.180.0100.00716.30
7.3.170.0090.01015.97
7.3.160.0080.01216.21
7.3.150.0090.00916.21
7.3.140.0110.01016.07
7.3.130.0120.00816.15
7.3.120.0110.00816.14
7.3.110.0090.01016.11
7.3.100.0080.01015.89
7.3.90.0170.00316.04
7.3.80.0140.00716.36
7.3.70.0130.00616.12
7.3.60.0140.00516.20
7.3.50.0060.01215.98
7.3.40.0140.00716.27
7.3.30.0080.01016.08
7.3.20.0070.01316.15
7.3.10.0120.01216.12
7.3.00.0120.00816.30
7.2.330.0170.00316.54
7.2.320.0090.01216.73
7.2.310.0050.01116.38
7.2.300.0090.01016.35
7.2.290.0120.00816.32
7.2.280.0080.01016.18
7.2.270.0090.01216.34
7.2.260.0070.01316.30
7.2.250.0100.01016.55
7.2.240.0090.01016.14
7.2.230.0110.01016.51
7.2.220.0110.01116.40
7.2.210.0090.01116.44
7.2.200.0160.00316.43
7.2.190.0120.00616.24
7.2.180.0130.00816.24
7.2.170.0100.01116.24
7.2.160.0140.00616.27
7.2.150.0150.01116.29
7.2.140.0170.00616.61
7.2.130.0080.01216.22
7.2.120.0120.00716.22
7.2.110.0120.01016.24
7.2.100.0150.00516.48
7.2.90.0160.00916.47
7.2.80.0170.00616.65
7.2.70.0130.01016.52
7.2.60.0200.00316.52
7.2.50.0170.00916.63
7.2.40.0150.01116.56
7.2.30.0180.00716.61
7.2.20.0240.01716.58
7.2.10.0110.01216.60
7.2.00.0080.01116.60

preferences:
33.72 ms | 400 KiB | 5 Q