3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface SomeSerializableTrait {} interface SomeResizableInterface {} class SomeContainer implements SerializableInterface, IterableInterface { use SomeSerializableTrait; } class SomeOtherContainer extends SomeContainer implements SomeResizableInterface {} $someContainer = new SomeContainer; $someOtherContainer = new SomeAnotherContainer; var_dump($someContainer instanceof SerializableInterface); var_dump($someOtherContainer instanceof SerializableInterface); var_dump($someOtherContainer instanceof SomeSerializableTrait);

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.0150.00621.20
8.3.40.0140.00418.50
8.3.30.0070.00718.43
8.3.20.0070.00020.34
8.3.10.0040.00421.85
8.3.00.0000.00819.68
8.2.180.0130.00718.29
8.2.170.0150.00022.96
8.2.160.0070.01020.43
8.2.150.0040.00424.18
8.2.140.0030.00724.66
8.2.130.0040.00426.16
8.2.120.0030.00517.63
8.2.110.0050.00521.12
8.2.100.0090.00319.45
8.2.90.0060.00319.09
8.2.80.0000.00817.97
8.2.70.0040.00417.25
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0050.00321.07
8.2.30.0050.00319.70
8.2.20.0000.00817.70
8.2.10.0040.00417.99
8.2.00.0000.00717.97
8.1.280.0080.00825.92
8.1.270.0040.00420.24
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.88
8.1.230.0110.00017.71
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00717.23
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0000.00718.48
8.1.160.0040.00422.05
8.1.150.0090.00018.88
8.1.140.0040.00417.30
8.1.130.0070.00017.73
8.1.120.0040.00417.28
8.1.110.0000.00717.46
8.1.100.0040.00417.27
8.1.90.0040.00417.41
8.1.80.0030.00317.27
8.1.70.0050.00217.28
8.1.60.0000.00817.48
8.1.50.0080.00017.39
8.1.40.0000.00817.29
8.1.30.0040.00417.67
8.1.20.0040.00417.44
8.1.10.0000.00717.32
8.1.00.0000.00717.25
8.0.300.0000.00718.77
8.0.290.0070.00016.73
8.0.280.0040.00418.44
8.0.270.0040.00417.25
8.0.260.0030.00317.19
8.0.250.0040.00416.97
8.0.240.0080.00016.89
8.0.230.0060.00317.02
8.0.220.0040.00416.79
8.0.210.0050.00516.87
8.0.200.0030.00316.97
8.0.190.0060.00616.91
8.0.180.0040.00416.92
8.0.170.0030.00517.02
8.0.160.0030.00316.92
8.0.150.0040.00316.79
8.0.140.0000.00716.89
8.0.130.0030.00313.34
8.0.120.0000.00716.90
8.0.110.0040.00416.85
8.0.100.0040.00416.87
8.0.90.0030.00517.01
8.0.80.0070.01016.97
8.0.70.0050.00316.89
8.0.60.0050.00216.98
8.0.50.0070.00017.01
8.0.30.0090.00917.02
8.0.20.0120.00617.40
8.0.10.0080.00016.91
8.0.00.0090.01016.92
7.4.330.0000.00615.08
7.4.320.0030.00316.55
7.4.300.0050.00316.59
7.4.290.0070.00016.49
7.4.280.0000.00716.34
7.4.270.0030.00316.45
7.4.260.0000.00816.37
7.4.250.0000.00716.50
7.4.240.0040.00316.53
7.4.230.0030.00316.65
7.4.220.0100.00716.59
7.4.210.0060.01016.60
7.4.200.0000.00716.56
7.4.160.0110.00416.29
7.4.150.0120.00617.40
7.4.140.0110.00817.86
7.4.130.0060.01116.62
7.4.120.0120.00916.52
7.4.110.0100.00716.24
7.4.100.0070.01116.49
7.4.90.0130.00616.30
7.4.80.0060.01219.39
7.4.70.0070.01016.31
7.4.60.0090.00616.43
7.4.50.0030.00516.29
7.4.40.0080.00816.53
7.4.30.0180.00416.73
7.4.00.0060.01014.85
7.3.330.0000.00613.11
7.3.320.0050.00013.07
7.3.310.0030.00516.14
7.3.300.0070.00016.09
7.3.290.0030.01416.26
7.3.280.0090.01016.28
7.3.270.0130.00517.40
7.3.260.0080.01516.44
7.3.250.0080.01016.44
7.3.240.0100.00716.30
7.3.230.0120.00616.39
7.3.210.0160.00016.37
7.3.200.0100.00616.11
7.3.190.0100.00616.25
7.3.180.0120.00416.55
7.3.170.0060.01116.37
7.3.160.0060.01516.40
7.3.120.0070.01214.70
7.3.110.0090.00714.92
7.3.100.0050.01014.61
7.3.90.0050.00814.88
7.3.80.0060.00714.72
7.3.70.0040.01114.69
7.3.60.0110.00314.69
7.3.50.0020.01114.68
7.3.40.0070.00714.70
7.3.30.0070.00614.64
7.3.20.0050.01016.56
7.3.10.0050.01116.55
7.3.00.0080.00716.64
7.2.330.0070.01116.27
7.2.320.0080.01216.39
7.2.310.0140.00816.40
7.2.300.0090.00916.66
7.2.290.0060.01316.66
7.2.250.0160.00214.80
7.2.240.0080.01114.70
7.2.230.0060.00714.69
7.2.220.0080.00614.79
7.2.210.0050.01214.79
7.2.200.0070.00714.94
7.2.190.0050.01015.00
7.2.180.0060.01115.00
7.2.170.0020.01214.71
7.2.60.0030.01016.42
7.2.00.0030.00919.06
7.1.330.0020.01315.68
7.1.320.0050.01015.76
7.1.310.0030.01215.74
7.1.300.0020.00815.64
7.1.290.0060.00915.73
7.1.280.0070.00415.57
7.1.270.0080.00615.62
7.1.260.0100.00415.68
7.1.200.0060.00615.40
7.1.100.0040.00717.68
7.1.70.0000.00716.71
7.1.60.0000.01120.03
7.1.50.0140.01016.52
7.1.00.0030.07722.37
7.0.200.0280.00314.66
7.0.60.0030.06320.02
7.0.50.0070.03717.85
7.0.40.0030.04720.25
7.0.30.0130.04320.23
7.0.20.0300.07320.22
7.0.10.0070.09320.07
7.0.00.0070.08320.14
5.6.280.0000.06321.12
5.6.210.0070.04020.61
5.6.200.0070.07318.29
5.6.190.0100.04320.50
5.6.180.0270.05320.77
5.6.170.0300.07720.46
5.6.160.0100.07320.43
5.6.150.0000.05718.18
5.6.140.0070.08318.18
5.6.130.0000.06018.18
5.6.120.0130.08721.00
5.6.110.0100.04320.97
5.6.100.0070.08321.13
5.6.90.0100.08721.12
5.6.80.0070.07720.53
5.5.350.4270.03720.38
5.5.340.0030.04017.99
5.5.330.0100.07320.37
5.5.320.0270.07020.23
5.5.310.0300.04020.34
5.5.300.0130.07318.03
5.5.290.0070.04318.08
5.5.280.0070.05020.77
5.5.270.0030.04720.77
5.5.260.0030.09320.84
5.5.250.0070.06720.58
5.5.240.0030.03020.37
5.4.450.0300.06319.38
5.4.440.0470.06719.47
5.4.430.0300.05319.47
5.4.420.0170.06019.21
5.4.410.0300.05019.34
5.4.400.0470.06019.02
5.4.390.0230.05719.05
5.4.380.0230.05719.15
5.4.370.0170.06718.80
5.4.360.0370.06019.30
5.4.350.0330.04718.84
5.4.340.0300.05319.13
5.4.320.0300.04719.30
5.4.310.0300.05019.15
5.4.300.0370.04019.15
5.4.290.0400.04019.34
5.4.280.0300.05319.00
5.4.270.0230.05719.23
5.4.260.0300.04319.29
5.4.250.0230.05018.86
5.4.240.0230.05318.98
5.4.230.0370.04019.31
5.4.220.0300.05319.27
5.4.210.0300.05319.14
5.4.200.0300.04719.14
5.4.190.0270.05718.97
5.4.180.0370.04719.14
5.4.170.0270.05719.06
5.4.160.0200.05319.13
5.4.150.0300.05019.19
5.4.140.0170.05316.80
5.4.130.0170.05316.37
5.4.120.0270.05016.44
5.4.110.0430.04016.65
5.4.100.0370.04016.24
5.4.90.0300.06716.65
5.4.80.0200.06016.56
5.4.70.0230.04016.59
5.4.60.0230.06716.51
5.4.50.0400.05716.53
5.4.40.0230.03716.38
5.4.30.0070.05316.48
5.4.20.0070.07316.54
5.4.10.0300.07016.53

preferences:
44.08 ms | 401 KiB | 5 Q