3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Facebook\Entities; class UUID {} abstract class Entity {} interface Friendable {} interface Likeable {} interface Postable {} class User extends Entity implements Friendable, Likeable, Postable { public function __construct($name, UUID $uuid){} public function like(Likebable $entity){} public function friend(User $user){} public function post(Post $post){} } $reflection = new \ReflectionClass(new User('Philip Brown', new UUID(1234))); $interfaces = $reflection->getInterfaceNames(); echo "<pre>"; var_dump($interfaces);

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.63
8.3.50.0060.00916.35
8.3.40.0040.01118.63
8.3.30.0060.00918.51
8.3.20.0040.00420.34
8.3.10.0070.00023.56
8.3.00.0100.00017.59
8.2.180.0140.00718.25
8.2.170.0110.00422.96
8.2.160.0070.00720.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00020.77
8.2.120.0040.00426.35
8.2.110.0080.00320.39
8.2.100.0060.00617.72
8.2.90.0080.00019.28
8.2.80.0000.00817.97
8.2.70.0090.00017.63
8.2.60.0000.00817.89
8.2.50.0060.00318.10
8.2.40.0050.00320.35
8.2.30.0050.00320.94
8.2.20.0070.00018.03
8.2.10.0040.00418.13
8.2.00.0040.00418.10
8.1.270.0060.00323.98
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0040.00420.64
8.1.230.0000.01022.69
8.1.220.0030.00517.75
8.1.210.0050.00318.77
8.1.200.0050.00517.34
8.1.190.0000.00917.35
8.1.180.0030.00618.10
8.1.170.0050.00318.36
8.1.160.0040.00418.96
8.1.150.0080.00020.55
8.1.140.0040.00419.59
8.1.130.0030.00318.93
8.1.120.0080.00317.34
8.1.110.0050.00317.49
8.1.100.0050.00317.45
8.1.90.0040.00417.32
8.1.80.0000.00717.45
8.1.70.0060.00317.47
8.1.60.0040.00417.56
8.1.50.0000.00717.55
8.1.40.0030.00517.55
8.1.30.0000.00817.63
8.1.20.0060.00317.71
8.1.10.0000.00817.55
8.1.00.0070.00017.55
8.0.300.0000.00721.95
8.0.290.0090.00016.75
8.0.280.0000.00718.30
8.0.270.0030.00317.19
8.0.260.0060.00016.88
8.0.250.0020.00517.06
8.0.240.0000.00916.95
8.0.230.0000.00717.07
8.0.220.0030.00316.88
8.0.210.0000.00716.96
8.0.200.0000.00616.96
8.0.190.0000.01116.91
8.0.180.0040.00516.98
8.0.170.0000.00717.00
8.0.160.0000.00816.85
8.0.150.0040.00416.89
8.0.140.0080.00016.95
8.0.130.0000.00513.45
8.0.120.0040.00416.98
8.0.110.0000.00816.95
8.0.100.0040.00416.84
8.0.90.0050.00216.95
8.0.80.0090.01616.93
8.0.70.0060.00316.94
8.0.60.0040.00416.81
8.0.50.0000.00716.78
8.0.30.0060.01117.15
8.0.20.0120.01317.40
8.0.10.0040.00416.96
8.0.00.0090.01216.79
7.4.330.0050.00015.55
7.4.320.0040.00416.50
7.4.300.0030.00316.47
7.4.290.0030.00516.55
7.4.280.0080.00016.51
7.4.270.0000.00716.50
7.4.260.0050.00013.25
7.4.250.0100.00016.54
7.4.240.0000.00716.40
7.4.230.0040.00416.41
7.4.220.0130.01016.61
7.4.210.0140.00716.56
7.4.200.0000.00716.25
7.4.160.0110.00816.62
7.4.150.0050.01417.40
7.4.140.0040.01717.86
7.4.130.0120.01116.48
7.4.120.0120.00616.48
7.4.110.0030.01416.43
7.4.100.0120.00616.43
7.4.90.0170.00016.60
7.4.80.0030.01919.39
7.4.70.0070.01016.52
7.4.60.0100.00816.53
7.4.50.0060.01016.45
7.4.40.0110.00516.70
7.4.30.0110.00616.27
7.4.00.0090.00614.94
7.3.330.0030.00313.29
7.3.320.0030.00313.11
7.3.310.0030.00316.32
7.3.300.0080.00016.19
7.3.290.0080.00916.29
7.3.280.0090.00916.30
7.3.270.0110.00617.40
7.3.260.0080.01016.56
7.3.250.0140.00416.50
7.3.240.0100.01116.24
7.3.230.0080.00816.22
7.3.210.0070.01016.61
7.3.200.0070.01016.31
7.3.190.0040.01116.16
7.3.180.0140.00316.34
7.3.170.0040.01116.38
7.3.160.0120.01116.53
7.2.330.0070.01016.69
7.2.320.0160.00616.66
7.2.310.0140.00716.75
7.2.300.0040.01216.70
7.2.290.0120.00616.44
7.2.60.0090.00616.70
7.2.00.0030.00719.40
7.1.200.0030.00715.80
7.1.100.0070.00717.94
7.1.70.0130.01315.33
7.1.60.0440.01033.15
7.1.50.0370.02133.02
7.1.40.0270.02432.57
7.1.30.0350.01932.40
7.1.20.0220.01632.73
7.1.10.0100.01314.65
7.1.00.0210.01114.71
7.0.200.0190.01015.00
7.0.190.0150.01514.74
7.0.180.0110.01114.47
7.0.170.0110.01114.40
7.0.160.0140.00714.48
7.0.150.0120.00914.48
7.0.140.0180.01014.51
7.0.130.0100.01014.81
7.0.120.0820.01414.61
7.0.110.0100.01314.55
7.0.100.0100.01014.46
7.0.90.0100.01014.61
7.0.80.0120.00914.43
7.0.70.0090.01514.52
7.0.60.0130.01014.27
7.0.50.0130.00914.35
7.0.40.0160.00814.66
7.0.30.0220.00714.52
7.0.20.0220.00614.64
7.0.10.0070.02114.50
7.0.00.0100.01714.29

preferences:
59.11 ms | 400 KiB | 5 Q