3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ function method(array $a){ } } class Bar extends Foo{ /** * $a array */ function method($a){ } }

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.00616.50
8.3.50.0120.00616.49
8.3.40.0090.00618.59
8.3.30.0090.00618.63
8.3.20.0040.00420.11
8.3.10.0050.00321.60
8.3.00.0040.00417.91
8.2.180.0100.01016.50
8.2.170.0100.00722.96
8.2.160.0110.00420.93
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00322.25
8.2.120.0040.00426.35
8.2.110.0030.00720.93
8.2.100.0080.00317.91
8.2.90.0000.00818.91
8.2.80.0080.00017.97
8.2.70.0060.00317.50
8.2.60.0030.00517.91
8.2.50.0040.00418.10
8.2.40.0040.00422.39
8.2.30.0040.00419.26
8.2.20.0050.00217.80
8.2.10.0040.00418.10
8.2.00.0070.00018.12
8.1.280.0070.01325.92
8.1.270.0040.00423.92
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00323.88
8.1.230.0080.00419.14
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0000.00817.10
8.1.180.0000.00718.10
8.1.170.0080.00018.56
8.1.160.0040.00418.77
8.1.150.0040.00419.97
8.1.140.0050.00319.51
8.1.130.0030.00318.86
8.1.120.0040.00417.38
8.1.110.0030.00617.36
8.1.100.0000.00817.38
8.1.90.0040.00417.32
8.1.80.0000.00717.18
8.1.70.0030.00317.34
8.1.60.0000.00717.53
8.1.50.0040.00417.43
8.1.40.0040.00417.36
8.1.30.0080.00017.36
8.1.20.0040.00417.42
8.1.10.0000.00717.42
8.1.00.0000.00717.21
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0030.00318.25
8.0.270.0060.00317.11
8.0.260.0030.00320.76
8.0.250.0000.00816.84
8.0.240.0040.00416.86
8.0.230.0070.00016.84
8.0.220.0030.00416.65
8.0.210.0080.00016.63
8.0.200.0070.00016.88
8.0.190.0040.00416.78
8.0.180.0070.00016.66
8.0.170.0070.00016.81
8.0.160.0000.00716.83
8.0.150.0070.00316.59
8.0.140.0030.00716.72
8.0.130.0000.00613.18
8.0.120.0000.00816.75
8.0.110.0000.00716.61
8.0.100.0000.00816.69
8.0.90.0000.00716.71
8.0.80.0090.00616.80
8.0.70.0040.00416.79
8.0.60.0030.00616.63
8.0.50.0040.00416.68
8.0.30.0120.00716.79
8.0.20.0100.01117.40
8.0.10.0040.00416.77
8.0.00.0030.01316.45
7.4.330.0030.00315.55
7.4.320.0030.00316.47
7.4.300.0030.00316.45
7.4.290.0030.00616.39
7.4.280.0030.00616.26
7.4.270.0000.00616.45
7.4.260.0050.00316.36
7.4.250.0030.00516.34
7.4.240.0030.00316.44
7.4.230.0000.00716.45
7.4.220.0110.00716.54
7.4.210.0100.00316.33
7.4.200.0030.00316.37
7.4.160.0090.00916.37
7.4.150.0140.00317.40
7.4.140.0090.01217.86
7.4.130.0080.01216.44
7.4.120.0120.00516.28
7.4.110.0140.00316.27
7.4.100.0100.00716.35
7.4.90.0180.00016.30
7.4.80.0130.00419.39
7.4.70.0070.01316.50
7.4.60.0110.00516.39
7.4.50.0060.01016.34
7.4.40.0130.00316.32
7.4.30.0090.00916.27
7.4.00.0050.01114.70
7.3.330.0060.00013.12
7.3.320.0020.00213.12
7.3.310.0060.00316.19
7.3.300.0000.00716.16
7.3.290.0050.01016.21
7.3.280.0070.01016.15
7.3.270.0110.01317.40
7.3.260.0100.01016.16
7.3.250.0130.00716.38
7.3.240.0120.00616.39
7.3.230.0110.00516.13
7.3.210.0000.01616.30
7.3.200.0100.00716.30
7.3.190.0100.00616.23
7.3.180.0080.00816.17
7.3.170.0040.01216.44
7.3.160.0130.00616.38
7.3.120.0040.01114.48
7.3.110.0070.00714.60
7.3.100.0070.01014.91
7.3.90.0030.01014.36
7.3.80.0080.00414.59
7.3.70.0030.01014.58
7.3.60.0070.00714.43
7.3.50.0030.01414.59
7.3.40.0100.00714.66
7.3.30.0000.00814.64
7.3.20.0000.01316.14
7.3.10.0030.00916.23
7.3.00.0100.00316.66
7.2.330.0120.00616.55
7.2.320.0130.00416.60
7.2.310.0140.00316.34
7.2.300.0150.00316.21
7.2.290.0040.01216.36
7.2.250.0110.00715.03
7.2.240.0070.01314.98
7.2.230.0090.00914.62
7.2.220.0100.00314.75
7.2.210.0040.01414.94
7.2.200.0070.00714.99
7.2.190.0070.00714.43
7.2.180.0110.00414.43
7.2.170.0060.00314.70
7.2.60.0030.00916.21
7.2.00.0070.00918.92
7.1.330.0000.01315.60
7.1.320.0060.00615.32
7.1.310.0070.00715.32
7.1.300.0080.00415.74
7.1.290.0070.00415.49
7.1.280.0060.00615.61
7.1.270.0110.00015.61
7.1.260.0030.00715.61
7.1.200.0060.00615.59
7.1.70.0040.00717.10
7.1.60.0000.01116.91
7.1.50.0090.01316.72
7.1.40.0130.01334.16
7.1.30.0270.00734.25
7.1.20.0200.01034.35
7.1.10.0030.01316.48
7.1.00.0030.01316.36
7.0.200.0030.00616.38
7.0.180.0030.00716.13
7.0.170.0030.01316.00
7.0.160.0030.01315.86
7.0.150.0070.01015.91
7.0.140.0000.01316.16
7.0.130.0070.01016.40
7.0.120.0000.01316.43
7.0.110.0030.01016.11
7.0.100.0030.01016.21
7.0.90.0000.01316.21
7.0.80.0070.00316.13
7.0.70.0000.01015.83
7.0.60.0000.01015.68
7.0.50.0070.00716.13
7.0.40.0030.01016.27
7.0.30.0030.00716.45
7.0.20.0000.01316.14
7.0.10.0030.00716.38
7.0.00.0030.00716.22

preferences:
60.21 ms | 400 KiB | 5 Q