3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function metoda(?array $a) { var_dump($a); } } $a = new Test(); $a->metoda();

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.01516.50
8.3.50.0040.01116.26
8.3.40.0150.00018.83
8.3.30.0110.00318.68
8.3.20.0000.00720.16
8.3.10.0040.00421.77
8.3.00.0040.00419.26
8.2.180.0140.00718.25
8.2.170.0090.00622.96
8.2.160.0030.01320.44
8.2.150.0000.00824.18
8.2.140.0020.00524.66
8.2.130.0040.00421.00
8.2.120.0040.00426.35
8.2.110.0050.00522.14
8.2.100.0080.00317.72
8.2.90.0040.00417.83
8.2.80.0040.00418.04
8.2.70.0040.00417.91
8.2.60.0000.00818.05
8.2.50.0040.00418.10
8.2.40.0040.00420.64
8.2.30.0040.00420.85
8.2.20.0040.00417.88
8.2.10.0040.00417.98
8.2.00.0000.00717.93
8.1.280.0110.00625.92
8.1.270.0030.00522.06
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0090.00020.30
8.1.230.0070.00421.04
8.1.220.0060.00320.95
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0030.00617.13
8.1.180.0000.00918.10
8.1.170.0040.00418.80
8.1.160.0000.00719.00
8.1.150.0040.00420.61
8.1.140.0050.00219.42
8.1.130.0030.00318.82
8.1.120.0070.00017.41
8.1.110.0040.00417.28
8.1.100.0040.00417.38
8.1.90.0040.00417.44
8.1.80.0000.00717.40
8.1.70.0000.00717.23
8.1.60.0000.00817.59
8.1.50.0050.00317.56
8.1.40.0000.00817.46
8.1.30.0070.00417.55
8.1.20.0000.00817.54
8.1.10.0000.00717.58
8.1.00.0030.00517.54
8.0.300.0040.00420.16
8.0.290.0000.00816.63
8.0.280.0050.00318.38
8.0.270.0030.00517.09
8.0.260.0000.00616.71
8.0.250.0000.00716.99
8.0.240.0000.00716.84
8.0.230.0050.00216.84
8.0.220.0030.00316.95
8.0.210.0000.00716.95
8.0.200.0030.00516.94
8.0.190.0070.00316.93
8.0.180.0000.00716.84
8.0.170.0000.00716.80
8.0.160.0000.00716.88
8.0.150.0070.00016.84
8.0.140.0060.00316.86
8.0.130.0000.00613.29
8.0.120.0000.00716.90
8.0.110.0040.00416.90
8.0.100.0040.00416.76
8.0.90.0040.00416.75
8.0.80.0090.00616.86
8.0.70.0070.00016.71
8.0.60.0040.00416.83
8.0.50.0040.00416.88
8.0.30.0150.00217.30
8.0.20.0210.00617.40
8.0.10.0040.00416.94
8.0.00.0140.00316.91
7.4.330.0000.00515.55
7.4.320.0040.00416.48
7.4.300.0000.00716.39
7.4.290.0040.00416.49
7.4.280.0000.00716.54
7.4.270.0030.00316.52
7.4.260.0030.00316.50
7.4.250.0030.00316.53
7.4.240.0000.00816.65
7.4.230.0000.00716.57
7.4.220.0030.01516.61
7.4.210.0100.01016.40
7.4.200.0030.00316.48
7.4.160.0090.00816.50
7.4.150.0030.01317.40
7.4.140.0070.00917.86
7.4.130.0120.00616.75
7.4.120.0090.01016.58
7.4.110.0070.01016.62
7.4.100.0190.00016.55
7.4.90.0060.01116.66
7.4.80.0150.00419.39
7.4.70.0040.01316.46
7.4.60.0000.01716.54
7.4.50.0120.00416.46
7.4.40.0120.00916.30
7.4.30.0100.00616.65
7.4.10.0060.00916.38
7.4.00.0060.01215.67
7.3.330.0050.00013.35
7.3.320.0000.00513.17
7.3.310.0030.00316.25
7.3.300.0030.00316.36
7.3.290.0050.01116.31
7.3.280.0090.00816.33
7.3.270.0070.01017.40
7.3.260.0070.01016.32
7.3.250.0110.00616.47
7.3.240.0050.01316.47
7.3.230.0090.00916.59
7.3.210.0130.00316.34
7.3.200.0150.00716.26
7.3.190.0150.00616.30
7.3.180.0100.00716.58
7.3.170.0160.00016.64
7.3.160.0100.00616.41
7.3.130.0000.01816.34
7.3.120.0090.00916.47
7.3.110.0070.01016.21
7.3.100.0060.01316.48
7.3.90.0030.00916.45
7.3.80.0100.00616.25
7.3.70.0040.01116.26
7.3.60.0060.00616.39
7.3.50.0160.00016.36
7.3.40.0040.01116.27
7.3.30.0030.01216.34
7.3.20.0030.00918.08
7.3.10.0050.01217.21
7.3.00.0020.01317.38
7.2.330.0060.01716.38
7.2.320.0040.01416.63
7.2.310.0060.01516.72
7.2.300.0150.00416.32
7.2.290.0130.00316.43
7.2.260.0040.01216.09
7.2.250.0060.01316.66
7.2.240.0070.01116.59
7.2.230.0140.00316.30
7.2.220.0100.00715.92
7.2.210.0040.01416.62
7.2.200.0100.00316.52
7.2.190.0110.00416.42
7.2.180.0130.00016.46
7.2.170.0060.00916.52
7.2.160.0030.01316.52
7.2.150.0080.00518.40
7.2.140.0110.00818.28
7.2.130.0080.00917.55
7.2.120.0020.01417.54
7.2.110.0090.00517.64
7.2.100.0090.00717.55
7.2.90.0090.00517.56
7.2.80.0080.00517.44
7.2.70.0060.00817.48
7.2.60.0080.00717.30
7.2.50.0130.00317.40
7.2.40.0080.00717.55
7.2.30.0070.00517.46
7.2.20.0080.00717.65
7.2.10.0100.00717.45
7.2.00.0070.00718.20
7.1.330.0000.01517.35
7.1.320.0000.01317.22
7.1.310.0100.00316.96
7.1.300.0030.01117.22
7.1.290.0110.00417.08
7.1.280.0030.01217.05
7.1.270.0030.01517.15
7.1.260.0060.01217.37
7.1.250.0070.00716.34
7.1.240.0030.01017.21
7.1.230.0000.01417.12
7.1.220.0030.01317.22
7.1.210.0140.00417.11
7.1.200.0050.00916.34
7.1.190.0040.01117.18
7.1.180.0040.01217.03
7.1.170.0030.01017.18
7.1.160.0070.01017.20
7.1.150.0060.00916.98
7.1.140.0090.00916.99
7.1.130.0090.00916.98
7.1.120.0030.01017.24
7.1.110.0040.00417.18
7.1.100.0050.00717.59
7.1.90.0110.00317.31
7.1.80.0000.01117.07
7.1.70.0060.00617.12
7.1.60.0140.00325.98
7.1.50.0140.00625.83
7.1.40.0100.00925.76
7.1.30.0100.01025.73
7.1.20.0100.00825.85
7.1.10.0080.00616.72
7.1.00.0030.01116.82
7.0.330.0040.00816.94
7.0.320.0030.01316.77
7.0.310.0030.00916.72
7.0.300.0030.01016.88
7.0.290.0030.00616.75
7.0.280.0060.00816.73
7.0.270.0040.00816.76
7.0.260.0050.00516.93
7.0.250.0070.00716.75
7.0.240.0000.01616.91
7.0.230.0040.00416.99
7.0.220.0100.00016.78
7.0.210.0000.01416.92
7.0.200.0010.01016.57
7.0.190.0020.01116.72
7.0.180.0060.00716.37
7.0.170.0080.00616.47
7.0.160.0040.00916.40
7.0.150.0060.00816.34
7.0.140.0060.00716.59
7.0.130.0030.00916.50
7.0.120.0050.00716.51
7.0.110.0080.00416.62
7.0.100.0060.00816.55
7.0.90.0040.00916.56
7.0.80.0030.00916.59
7.0.70.0000.01316.57
7.0.60.0020.00916.46
7.0.50.0110.00316.42
7.0.40.0080.00715.54
7.0.30.0020.00815.53
7.0.20.0030.00915.51
7.0.10.0070.00515.60
7.0.00.0030.01115.55
5.6.400.0070.01115.74
5.6.390.0100.00315.50
5.6.380.0030.01315.73
5.6.370.0060.01215.49
5.6.360.0030.01315.64
5.6.350.0070.00415.49
5.6.340.0060.00615.64
5.6.330.0090.00616.00
5.6.320.0000.01515.93
5.6.310.0030.01215.61
5.6.300.0030.01215.66
5.6.290.0110.00015.73
5.6.280.0030.00615.50
5.6.270.0070.00415.63
5.6.260.0060.00915.43
5.6.250.0030.01115.49
5.6.240.0030.00615.68
5.6.230.0130.00315.62
5.6.220.0100.01015.72
5.6.210.0080.00415.45
5.6.200.0120.00915.81
5.6.190.0040.00815.63
5.6.180.0040.01415.59
5.6.170.0000.01515.68
5.6.160.0060.00915.49
5.6.150.0000.01215.52
5.6.140.0000.01515.46
5.6.130.0110.00415.62
5.6.120.0000.01015.69
5.6.110.0080.00415.45
5.6.100.0110.00415.59
5.6.90.0070.00715.50
5.6.80.0090.00615.28
5.6.70.0090.00315.59
5.6.60.0030.01015.61
5.6.50.0110.00415.43
5.6.40.0060.00915.48
5.6.30.0090.00615.73
5.6.20.0090.00615.62
5.6.10.0070.01015.66
5.6.00.0030.01015.44

preferences:
45.74 ms | 401 KiB | 5 Q