3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Walker { function walk( $elements, $max_depth, ...$args ) { echo 1; } } class My_Walker extends Walker { function walk( $elements, $max_depth ) { echo 2; } } $a = new My_Walker(); $a->walk( 1, 2 );

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.4.20.0050.00318.73
8.4.10.0050.00517.88
8.3.140.0040.00417.09
8.3.130.0080.00018.43
8.3.120.0110.00418.77
8.3.110.0040.00416.63
8.3.100.0060.01316.63
8.3.90.0170.00316.43
8.3.80.0090.00018.30
8.3.70.0070.01416.63
8.3.60.0000.01518.31
8.3.50.0080.01020.93
8.3.40.0070.01118.65
8.3.30.0140.00018.45
8.3.20.0040.00423.65
8.3.10.0040.00422.13
8.3.00.0050.00223.65
8.2.260.0070.01020.16
8.2.250.0040.00418.18
8.2.240.0050.00516.53
8.2.230.0040.00420.94
8.2.220.0170.00024.06
8.2.210.0140.01026.77
8.2.200.0030.00618.29
8.2.190.0110.01816.75
8.2.180.0130.00316.50
8.2.170.0110.00322.96
8.2.160.0090.00622.13
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0040.00421.02
8.2.110.0060.00322.25
8.2.100.0060.00619.52
8.2.90.0040.00417.75
8.2.80.0060.00318.49
8.2.70.0000.01017.38
8.2.60.0000.00817.68
8.2.50.0030.01018.07
8.2.40.0050.00317.91
8.2.30.0000.00717.91
8.2.20.0000.00717.95
8.2.10.0060.00320.89
8.2.00.0030.00619.05
8.1.310.0100.00318.41
8.1.300.0100.01019.68
8.1.290.0060.00318.88
8.1.280.0100.00725.92
8.1.270.0000.00822.08
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0140.00320.26
8.1.230.0060.00617.64
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0040.00417.10
8.1.190.0060.00317.11
8.1.180.0040.00418.10
8.1.170.0030.00618.50
8.1.160.0000.00818.74
8.1.150.0030.00518.63
8.1.140.0050.00222.19
8.1.130.0030.00317.23
8.1.120.0070.00017.24
8.1.110.0000.00717.36
8.1.100.0030.00617.23
8.1.90.0000.00717.32
8.1.80.0000.00817.30
8.1.70.0000.00717.20
8.1.60.0050.00317.35
8.1.50.0030.00517.35
8.1.40.0040.00417.44
8.1.30.0050.00317.48
8.1.20.0080.00017.45
8.1.10.0030.00517.39
8.1.00.0030.00617.19
8.0.300.0000.00818.77
8.0.290.0060.00316.58
8.0.280.0040.00418.32
8.0.270.0030.00316.80
8.0.260.0000.00816.69
8.0.250.0070.00316.84
8.0.240.0080.00016.76
8.0.230.0070.00016.77
8.0.220.0040.00416.81
8.0.210.0000.00716.81
8.0.200.0030.00316.75
8.0.190.0000.00716.82
8.0.180.0080.00016.73
8.0.170.0000.01016.77
8.0.160.0000.00716.81
8.0.150.0030.00516.71
8.0.140.0030.00316.70
8.0.130.0000.00613.21
8.0.120.0060.00316.77
8.0.110.0000.00816.72
8.0.100.0030.00516.72
8.0.90.0090.00016.82
8.0.80.0070.00916.87
8.0.70.0050.00216.86
8.0.60.0000.00716.93
8.0.50.0000.00716.69
8.0.30.0120.00416.80
8.0.20.0080.01216.91
8.0.10.0000.00716.78
8.0.00.0080.01416.66
7.4.330.0030.00315.55
7.4.320.0070.00016.46
7.4.300.0000.01016.59
7.4.290.0000.00816.48
7.4.280.0080.00016.39
7.4.270.0060.00016.47
7.4.260.0040.00416.60
7.4.250.0030.00316.60
7.4.240.0040.00416.52
7.4.230.0000.00716.30
7.4.220.0000.00716.43
7.4.210.0080.00716.55
7.4.200.0030.00516.64
7.4.130.0130.00716.51
7.4.120.0100.01316.71
7.4.110.0060.01016.43
7.4.100.0170.00716.52
7.4.90.0070.01016.56
7.4.80.0130.01019.39
7.4.70.0090.01416.55
7.4.60.0060.00916.57
7.4.50.0070.00716.48
7.4.40.0030.01516.38
7.4.00.0030.00614.64
7.3.330.0000.00713.12
7.3.320.0030.00413.11
7.3.310.0030.00316.33
7.3.300.0030.00616.12
7.3.290.0000.00716.30
7.3.280.0060.00916.29
7.3.260.0130.00616.47
7.3.230.0130.01016.22
7.3.210.0090.01316.50
7.3.200.0060.01216.39
7.3.190.0030.01416.55
7.3.180.0100.01016.24
7.3.170.0170.00016.32
7.3.160.0110.00416.29
7.3.70.0070.01314.54
7.3.60.0150.00614.75
7.3.50.0030.00914.64
7.3.40.0140.00014.70
7.3.30.0070.00714.62
7.3.20.0120.00614.72
7.3.10.0120.00614.68
7.3.00.0160.00314.42
7.2.330.0080.00816.49
7.2.320.0070.01016.62
7.2.310.0100.00616.74
7.2.300.0070.01016.50
7.2.290.0120.00416.62
7.2.200.0150.00914.75
7.2.190.0000.01315.04
7.2.180.0080.00314.99
7.2.170.0030.00814.82
7.2.160.0070.00714.98
7.2.150.0070.00715.16
7.2.140.0070.01415.00
7.2.130.0080.00814.90
7.2.120.0120.00414.96
7.2.110.0100.00914.77
7.2.100.0060.01314.91
7.2.90.0180.00915.07
7.2.80.0160.00714.98
7.2.70.0200.00614.98
7.2.60.0150.00915.12
7.2.50.0120.00614.91
7.2.40.0070.01115.06
7.2.30.0290.00315.10
7.2.20.0640.01015.22
7.2.10.0150.00914.90
7.2.00.0080.00814.70
7.1.300.0060.00713.75
7.1.290.0060.01113.48
7.1.280.0100.00313.71
7.1.270.0110.01113.85
7.1.260.0120.00913.94
7.1.250.0070.01113.77

preferences:
71.02 ms | 403 KiB | 5 Q