3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo { function bar(); } class StandardFoo implements foo { function bar() { var_dump(func_get_args()); } } $obj = new StandardFoo(); $extraDebugInfo = 'shamoan'; $obj->bar($extraDebugInfo);

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.0090.00616.50
8.3.50.0170.00018.04
8.3.40.0100.01018.63
8.3.30.0000.01418.46
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0020.00526.16
8.2.180.0100.01025.92
8.2.170.0070.01018.87
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0050.00326.16
8.2.120.0100.00326.16
8.2.110.0030.00620.39
8.2.100.0090.00319.54
8.2.90.0000.00917.75
8.2.80.0040.00418.79
8.2.70.0000.00817.50
8.2.60.0040.00417.63
8.2.50.0040.00418.05
8.2.40.0090.00017.62
8.2.30.0040.00417.60
8.2.20.0040.00420.56
8.2.10.0040.00417.66
8.2.00.0060.00619.20
8.1.280.0060.00925.92
8.1.270.0070.00023.99
8.1.260.0020.00526.35
8.1.250.0080.00028.09
8.1.240.0150.00819.01
8.1.230.0080.00320.92
8.1.220.0080.00018.70
8.1.210.0020.00518.77
8.1.200.0040.00417.35
8.1.190.0090.00017.13
8.1.180.0040.00418.10
8.1.170.0060.00317.62
8.1.160.0040.00418.99
8.1.150.0000.00818.63
8.1.140.0030.00517.45
8.1.130.0000.00718.91
8.1.120.0090.00017.51
8.1.110.0080.00017.33
8.1.100.0000.00817.45
8.1.90.0000.00717.42
8.1.80.0000.00917.41
8.1.70.0030.00317.48
8.1.60.0050.00317.60
8.1.50.0050.00517.45
8.1.40.0050.00317.50
8.1.30.0040.00417.68
8.1.20.0040.00417.63
8.1.10.0050.00317.45
8.1.00.0040.00417.41
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0080.00018.55
8.0.270.0000.00816.81
8.0.260.0000.00618.43
8.0.250.0030.00316.93
8.0.240.0030.00316.92
8.0.230.0070.00016.95
8.0.220.0030.00316.84
8.0.210.0030.00316.79
8.0.200.0000.00816.83
8.0.190.0080.00016.93
8.0.180.0030.00716.96
8.0.170.0040.00416.92
8.0.160.0030.00916.86
8.0.150.0030.00416.85
8.0.140.0070.00316.88
8.0.130.0040.00716.93
8.0.120.0180.00016.93
8.0.110.0120.00616.75
8.0.100.0150.00416.77
8.0.90.0000.01816.89
8.0.80.0080.01116.93
8.0.70.0110.00816.84
8.0.60.0110.00716.85
8.0.50.0190.00016.85
8.0.30.0140.00516.79
8.0.20.0120.00616.80
8.0.10.0120.00617.00
8.0.00.0090.00316.99
7.4.330.0050.00015.55
7.4.320.0000.00616.46
7.4.300.0060.00016.57
7.4.290.0000.00816.55
7.4.280.0000.01016.62
7.4.270.0070.00016.58
7.4.260.0190.00016.41
7.4.250.0130.00916.62
7.4.240.0140.00916.45
7.4.230.0150.00516.45
7.4.220.0090.00916.37
7.4.210.0080.00816.48
7.4.200.0140.00316.39
7.4.190.0120.00616.63
7.4.180.0120.00516.64
7.4.160.0170.00016.53
7.4.150.0100.00716.57
7.4.140.0180.00016.58
7.4.130.0170.00016.48
7.4.120.0150.00216.48
7.4.110.0140.00216.45
7.4.100.0160.00316.52
7.4.90.0130.00416.45
7.4.80.0170.00016.48
7.4.70.0150.00316.51
7.4.60.0160.00316.38
7.4.50.0190.00016.24
7.4.40.0180.00016.29
7.4.30.0150.00216.44
7.4.20.0170.00216.49
7.4.10.0150.00416.56
7.4.00.0160.00316.40
7.3.330.0160.00316.08
7.3.320.0150.00316.14
7.3.310.0190.00016.11
7.3.300.0150.00416.05
7.3.290.0120.00616.18
7.3.280.0120.00616.28
7.3.270.0170.00316.25
7.3.260.0160.00316.03
7.3.250.0170.00316.11
7.3.240.0180.00016.22
7.3.230.0170.00016.08
7.3.220.0100.00716.23
7.3.210.0150.00316.14
7.3.200.0160.00316.04
7.3.190.0090.00516.25
7.3.180.0110.00616.23
7.3.170.0160.00316.21
7.3.160.0200.00316.26
7.3.150.0170.00016.10
7.3.140.0190.00016.11
7.3.130.0150.00416.14
7.3.120.0120.00615.96
7.3.110.0140.00416.10
7.3.100.0180.00015.94
7.3.90.0120.00616.41
7.3.80.0120.00616.04
7.3.70.0160.00216.27
7.3.60.0110.00616.36
7.3.50.0160.00316.21
7.3.40.0170.00016.26
7.3.30.0180.00016.20
7.3.20.0110.00816.28
7.3.10.0170.00316.44
7.3.00.0150.00516.40

preferences:
33.34 ms | 400 KiB | 5 Q