3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface StreamInterface { public function getContents(); } class BasicStream implements StreamInterface { public function getContents() { } } class StreamManager implements StreamInterface { public function __construct(array $streams) { } public function getContents() { } } class FilterByUserId { }

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.00916.63
8.3.50.0040.01616.50
8.3.40.0150.00618.71
8.3.30.0040.01118.77
8.3.20.0000.00720.20
8.3.10.0040.00421.92
8.3.00.0080.00019.44
8.2.180.0170.00318.41
8.2.170.0070.01022.96
8.2.160.0100.00319.32
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00422.08
8.2.120.0000.00726.35
8.2.110.0030.00722.20
8.2.100.0040.00717.66
8.2.90.0050.00319.05
8.2.80.0040.00417.97
8.2.70.0050.00317.38
8.2.60.0090.00017.80
8.2.50.0000.00818.22
8.2.40.0070.00320.40
8.2.30.0000.00719.11
8.2.20.0070.00018.05
8.2.10.0050.00217.90
8.2.00.0040.00418.03
8.1.280.0120.00925.92
8.1.270.0070.00022.19
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00322.75
8.1.230.0040.00717.58
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0080.00017.13
8.1.190.0050.00519.01
8.1.180.0050.00218.10
8.1.170.0040.00418.48
8.1.160.0040.00418.74
8.1.150.0050.00218.71
8.1.140.0040.00419.49
8.1.130.0000.00718.73
8.1.120.0030.00317.30
8.1.110.0030.00317.34
8.1.100.0060.00317.47
8.1.90.0040.00417.38
8.1.80.0000.00817.27
8.1.70.0000.00717.42
8.1.60.0000.00817.53
8.1.50.0040.00417.39
8.1.40.0030.00517.41
8.1.30.0040.00417.58
8.1.20.0040.00417.43
8.1.10.0040.00417.41
8.1.00.0060.00317.36
8.0.300.0070.00018.77
8.0.290.0000.00816.58
8.0.280.0040.00418.39
8.0.270.0000.00717.25
8.0.260.0040.00418.81
8.0.250.0070.00016.83
8.0.240.0040.00416.93
8.0.230.0040.00416.93
8.0.220.0070.00316.83
8.0.210.0080.00016.81
8.0.200.0060.00016.77
8.0.190.0040.00416.85
8.0.180.0050.00216.84
8.0.170.0070.00016.89
8.0.160.0080.00016.82
8.0.150.0030.00316.74
8.0.140.0040.00416.61
8.0.130.0050.00213.29
8.0.120.0030.00516.70
8.0.110.0000.00716.84
8.0.100.0040.00416.73
8.0.90.0070.00016.77
8.0.80.0120.00916.80
8.0.70.0070.00016.88
8.0.60.0000.00716.66
8.0.50.0000.00716.75
8.0.30.0100.00717.07
8.0.20.0070.01117.40
8.0.10.0080.00016.73
8.0.00.0030.01516.75
7.4.330.0020.00215.55
7.4.320.0060.00016.55
7.4.300.0060.00016.56
7.4.290.0040.00416.52
7.4.280.0050.00316.51
7.4.270.0040.00416.57
7.4.260.0070.00016.31
7.4.250.0050.00316.54
7.4.240.0040.00416.42
7.4.230.0000.00716.54
7.4.220.0100.01616.42
7.4.210.0110.00816.47
7.4.200.0000.00716.43
7.4.160.0090.00816.52
7.4.150.0100.01017.40
7.4.140.0100.00917.86
7.4.130.0120.00616.45
7.4.120.0110.00716.44
7.4.110.0070.01616.47
7.4.100.0030.01316.57
7.4.90.0110.00616.35
7.4.80.0060.01019.39
7.4.70.0080.00916.52
7.4.60.0060.00916.46
7.4.50.0060.00916.47
7.4.40.0130.00316.29
7.4.30.0110.00716.26
7.4.00.0000.01414.96
7.3.330.0050.00213.17
7.3.320.0060.00012.95
7.3.310.0000.00716.21
7.3.300.0040.00416.18
7.3.290.0080.00716.15
7.3.280.0050.01016.17
7.3.270.0100.00717.40
7.3.260.0130.00516.30
7.3.250.0090.01116.20
7.3.240.0080.00816.18
7.3.230.0110.00716.17
7.3.210.0000.01816.13
7.3.200.0100.00716.55
7.3.190.0120.00616.37
7.3.180.0090.00916.32
7.3.170.0110.00516.27
7.3.160.0100.00616.34
7.2.330.0100.01016.34
7.2.320.0140.00316.21
7.2.310.0150.00716.14
7.2.300.0030.01316.33
7.2.290.0110.00916.21
7.2.110.0070.00716.54
7.2.60.0090.00616.91
7.1.200.0000.01115.39
7.1.80.0120.00317.68
7.1.70.0110.00616.98
7.1.60.0170.01334.92
7.1.50.0250.00834.38
7.1.40.0240.00334.45
7.1.30.0240.01134.41
7.1.20.0190.01534.63
7.1.10.0020.01416.37
7.1.00.0000.01616.44
7.0.200.0090.00616.69
7.0.190.0110.00516.66
7.0.180.0050.01315.98
7.0.170.0070.01016.16
7.0.160.0060.01216.16
7.0.150.0030.01616.32
7.0.140.0060.01116.05
7.0.130.0040.01516.37
7.0.120.0060.01216.31
7.0.110.0070.01116.09
7.0.100.0080.01116.14
7.0.90.0060.01316.31
7.0.80.0060.00915.96
7.0.70.0100.00816.19
7.0.60.0250.01015.98
7.0.50.0060.01416.36
7.0.40.0140.00316.12
7.0.30.0030.01616.43
7.0.20.0130.00016.50
7.0.10.0060.00916.17
7.0.00.0090.00916.23

preferences:
59.59 ms | 401 KiB | 5 Q