3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomeType {} class SomeClass { public function someMethod(SomeType $type) { echo "Fooing."; } } $foo = new SomeClass(); $foo->someMethod();

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.0080.00618.29
8.3.50.0150.00821.22
8.3.40.0070.00718.77
8.3.30.0090.00618.67
8.3.20.0040.00420.07
8.3.10.0050.00321.73
8.3.00.0050.00221.70
8.2.180.0180.00016.75
8.2.170.0140.00322.96
8.2.160.0120.00620.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00421.10
8.2.120.0030.00626.35
8.2.110.0080.00021.12
8.2.100.0090.00317.92
8.2.90.0050.00319.11
8.2.80.0040.00417.97
8.2.70.0030.00617.25
8.2.60.0060.00317.93
8.2.50.0040.00718.09
8.2.40.0030.00622.37
8.2.30.0000.00819.42
8.2.20.0040.00417.49
8.2.10.0030.00517.86
8.2.00.0050.00318.04
8.1.280.0100.01025.92
8.1.270.0090.00923.92
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0090.00022.46
8.1.230.0040.00717.77
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.35
8.1.180.0000.00918.10
8.1.170.0080.00318.46
8.1.160.0030.00520.71
8.1.150.0040.00418.91
8.1.140.0080.00019.50
8.1.130.0000.00717.68
8.1.120.0040.00417.42
8.1.110.0000.00717.27
8.1.100.0030.00517.39
8.1.90.0040.00417.45
8.1.80.0040.00417.29
8.1.70.0000.00717.38
8.1.60.0050.00217.53
8.1.50.0000.00917.53
8.1.40.0050.00217.41
8.1.30.0030.00517.61
8.1.20.0040.00417.53
8.1.10.0040.00417.59
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0080.00016.63
8.0.280.0000.00818.37
8.0.270.0030.00317.17
8.0.260.0000.00617.09
8.0.250.0070.00016.84
8.0.240.0030.00616.93
8.0.230.0070.00017.01
8.0.220.0080.00016.84
8.0.210.0070.00016.88
8.0.200.0070.00017.00
8.0.190.0030.00516.83
8.0.180.0080.00016.92
8.0.170.0040.00416.83
8.0.160.0070.00016.74
8.0.150.0000.00816.77
8.0.140.0040.00716.80
8.0.130.0030.00313.32
8.0.120.0000.00816.86
8.0.110.0040.00416.70
8.0.100.0050.00216.75
8.0.90.0040.00416.81
8.0.80.0070.01016.87
8.0.70.0040.00416.71
8.0.60.0040.00416.94
8.0.50.0040.00416.71
8.0.30.0100.00717.08
8.0.20.0110.01017.40
8.0.10.0000.00716.85
8.0.00.0090.00916.86
7.4.330.0020.00216.77
7.4.320.0060.00016.40
7.4.300.0040.00416.50
7.4.290.0040.00416.59
7.4.280.0080.00016.48
7.4.270.0040.00416.64
7.4.260.0030.00316.37
7.4.250.0000.00716.49
7.4.240.0030.00316.52
7.4.230.0050.00316.63
7.4.220.0060.01616.49
7.4.210.0050.00816.65
7.4.200.0040.00316.33
7.4.160.0150.00416.23
7.4.150.0130.00617.40
7.4.140.0160.00817.86
7.4.130.0080.00816.48
7.4.120.0160.00316.50
7.4.110.0170.00716.44
7.4.100.0110.00616.58
7.4.90.0090.00916.59
7.4.80.0160.00719.39
7.4.70.0100.00716.34
7.4.60.0100.00616.65
7.4.50.0030.01316.54
7.4.40.0070.01016.52
7.4.30.0140.00316.42
7.4.00.0140.00014.84
7.3.330.0000.00613.34
7.3.320.0050.00013.36
7.3.310.0000.00716.36
7.3.300.0030.00316.36
7.3.290.0040.00416.31
7.3.280.0110.00716.37
7.3.270.0130.00317.40
7.3.260.0120.00616.70
7.3.250.0090.00716.36
7.3.240.0120.00516.33
7.3.230.0070.01016.39
7.3.210.0090.00816.47
7.3.200.0090.01219.39
7.3.190.0080.00816.16
7.3.180.0000.01816.52
7.3.170.0130.00616.27
7.3.160.0040.01116.43
7.2.330.0030.01316.30
7.2.320.0060.01316.71
7.2.310.0090.00816.54
7.2.300.0130.00916.55
7.2.290.0060.01016.63
7.2.60.0100.00316.87
7.2.00.0070.01018.98
7.1.200.0060.00615.73
7.1.100.0030.00717.79
7.1.70.0040.01117.03
7.1.60.0100.01419.40
7.1.50.0120.00916.92
7.1.00.0070.07322.45
7.0.200.0250.00016.51
7.0.60.0230.07721.85
7.0.50.0000.07017.88
7.0.40.0070.05020.27
7.0.30.0270.07320.16
7.0.20.0400.06720.20
7.0.10.0030.04720.25
7.0.00.0000.09020.22
5.6.280.0000.03321.08
5.6.210.0100.08020.63
5.6.200.0030.04018.20
5.6.190.0070.04720.52
5.6.180.0300.05320.43
5.6.170.0270.06020.51
5.6.160.0100.08320.47
5.6.150.0100.07718.12
5.6.140.0070.04718.11
5.6.130.0170.03318.26
5.6.120.0100.05321.12
5.6.110.0100.08020.98
5.6.100.0200.07321.09
5.6.90.0070.03720.98
5.6.80.0170.04720.53
5.5.350.0100.07320.41
5.5.340.0070.03717.92
5.5.330.0000.09020.36
5.5.320.0500.04720.20
5.5.310.0100.04720.36
5.5.300.0100.07717.98
5.5.290.0270.03718.08
5.5.280.0070.08720.74
5.5.270.0030.05320.86
5.5.260.0070.10020.98
5.5.250.0000.09020.80
5.5.240.0200.06720.12

preferences:
52.69 ms | 401 KiB | 5 Q