3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test extends SplFileInfo { public function serialize() {} public function unserialize($string) {} } $rfc = new ReflectionClass("Test"); var_dump($rfc->implementsInterface("Serializable")); $file = unserialize('O:4:"Test":0:{}');

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.0040.01116.61
8.3.50.0030.01422.12
8.3.40.0040.01118.79
8.3.30.0100.00319.04
8.3.20.0080.00020.34
8.3.10.0000.00723.69
8.3.00.0030.00619.25
8.2.180.0090.00618.29
8.2.170.0040.01122.96
8.2.160.0030.01020.36
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00020.78
8.2.110.0070.00320.99
8.2.100.0110.00017.78
8.2.90.0030.00519.07
8.2.80.0030.00717.97
8.2.70.0040.00417.63
8.2.60.0000.00817.80
8.2.50.0060.00318.07
8.2.40.0080.00019.60
8.2.30.0040.00418.29
8.2.20.0040.00417.73
8.2.10.0040.00418.01
8.2.00.0050.00317.55
8.1.280.0140.00025.92
8.1.270.0120.00623.97
8.1.260.0000.00826.35
8.1.250.0000.00928.09
8.1.240.0040.00422.00
8.1.230.0040.00820.78
8.1.220.0060.00317.74
8.1.210.0000.01318.77
8.1.200.0100.00017.35
8.1.190.0050.01116.75
8.1.180.0080.00018.10
8.1.170.0040.00718.48
8.1.160.0040.00721.98
8.1.150.0050.00318.66
8.1.140.0030.00617.41
8.1.130.0030.00317.91
8.1.120.0020.00517.45
8.1.110.0000.00817.39
8.1.100.0030.00517.27
8.1.90.0000.00717.32
8.1.80.0000.00717.41
8.1.70.0030.00317.39
8.1.60.0030.00617.39
8.1.50.0040.00417.40
8.1.40.0030.00617.53
8.1.30.0080.00017.46
8.1.20.0000.00717.59
8.1.10.0040.00417.59
8.1.00.0030.00517.52
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0040.00418.39
8.0.270.0070.00017.19
8.0.260.0000.00817.20
8.0.250.0000.00716.96
8.0.240.0000.00716.90
8.0.230.0040.00417.01
8.0.220.0030.00616.75
8.0.210.0070.00016.87
8.0.200.0000.00716.97
8.0.190.0040.00416.84
8.0.180.0040.00416.95
8.0.170.0040.00416.83
8.0.160.0000.00716.84
8.0.150.0030.00316.84
8.0.140.0000.00916.84
8.0.130.0000.00613.27
8.0.120.0000.00816.86
8.0.110.0000.00716.87
8.0.100.0040.00416.93
8.0.90.0080.00016.87
8.0.80.0120.00916.81
8.0.70.0030.00516.74
8.0.60.0030.00316.89
8.0.50.0000.00816.76
8.0.30.0110.00916.96
8.0.20.0060.01217.40
8.0.10.0080.00016.86
8.0.00.0140.00616.73
7.4.330.0000.00515.09
7.4.320.0000.00716.46
7.4.300.0030.00316.50
7.4.290.0000.00616.55
7.4.280.0040.00416.57
7.4.270.0070.00016.35
7.4.260.0060.00316.34
7.4.250.0040.00416.41
7.4.240.0050.00216.53
7.4.230.0070.00016.34
7.4.220.0090.00616.47
7.4.210.0070.00716.47
7.4.200.0050.00316.54
7.4.190.0030.00316.41
7.4.160.0000.01516.38
7.4.150.0150.00917.40
7.4.140.0110.00617.86
7.4.130.0120.00516.43
7.4.120.0060.01116.33
7.4.110.0160.00616.17
7.4.100.0130.00316.48
7.4.90.0120.00616.30
7.4.80.0090.00919.39
7.4.70.0100.00616.43
7.4.60.0040.01416.44
7.4.50.0030.00716.46
7.4.40.0080.00716.20
7.4.30.0100.00616.24
7.4.00.0030.01214.83
7.3.330.0050.00013.24
7.3.320.0040.00313.18
7.3.310.0070.00016.16
7.3.300.0030.00316.31
7.3.290.0030.01716.19
7.3.280.0100.01016.26
7.3.270.0130.00617.40
7.3.260.0100.00716.24
7.3.250.0150.00216.44
7.3.240.0000.01716.45
7.3.230.0030.01616.39
7.3.210.0120.00616.39
7.3.200.0090.00819.39
7.3.190.0100.00716.37
7.3.180.0070.01016.45
7.3.170.0070.01016.52
7.3.160.0160.00016.42
7.3.120.0000.01214.41
7.2.330.0090.01416.49
7.2.320.0120.00616.57
7.2.310.0110.00716.65
7.2.300.0070.01016.37
7.2.290.0070.01016.27
7.2.00.0000.01219.19
7.1.100.0080.00818.21
7.1.70.0040.00417.00
7.1.60.0110.01519.46
7.1.50.0100.01016.73
7.1.00.0070.07322.42
7.0.200.0040.00416.50
7.0.140.0070.07022.07
7.0.60.0100.06720.01
7.0.50.0100.08017.87
7.0.40.0030.08020.11
7.0.30.0300.08020.16
7.0.20.0270.08320.30
7.0.10.0030.06020.21
7.0.00.0130.04020.06
5.6.280.0070.07021.16
5.6.210.0070.08320.48
5.6.200.0030.05018.18
5.6.190.0100.05320.67
5.6.180.0130.08020.46
5.6.170.0300.08320.39
5.6.160.0130.06720.46
5.6.150.0030.04718.16
5.6.140.0000.08718.24
5.6.130.0070.03718.18
5.6.120.0030.08720.91
5.6.110.0100.06321.00
5.6.100.0100.08021.20
5.6.90.0000.06721.13
5.6.80.0030.05020.38
5.5.350.0030.07720.31
5.5.340.0100.08018.08
5.5.330.0030.04720.21
5.5.320.0370.07020.25
5.5.310.0270.09020.35
5.5.300.0100.07717.98
5.5.290.0070.04318.07
5.5.280.0130.03720.78
5.5.270.0100.03320.77
5.5.260.0070.08020.88
5.5.250.0000.04320.55
5.5.240.0130.07320.19
5.4.450.0900.04719.60
5.4.440.0730.06319.63
5.4.430.0930.04719.46
5.4.420.0330.05019.44
5.4.410.0870.04719.51
5.4.400.0830.06018.91
5.4.390.0770.07319.11
5.4.380.0130.05718.78
5.4.370.0200.04718.48
5.4.360.0130.05318.48
5.4.350.0230.06718.75
5.4.340.0200.07018.57
5.4.320.0050.03912.51
5.4.310.0080.04412.50
5.4.300.0040.03812.51
5.4.290.0090.03812.50
5.4.280.0090.03312.40
5.4.270.0070.03512.41
5.4.260.0020.04212.41
5.4.250.0100.03412.41
5.4.240.0080.03312.41
5.4.230.0040.03912.40
5.4.220.0080.03412.40
5.4.210.0070.03512.40
5.4.200.0060.03812.40
5.4.190.0060.03612.39
5.4.180.0040.03812.39
5.4.170.0050.03812.41
5.4.160.0080.03412.40
5.4.150.0060.03612.40
5.4.140.0050.03812.08
5.4.130.0050.03612.07
5.4.120.0050.04312.03
5.4.110.0070.03812.02
5.4.100.0100.03612.03
5.4.90.0040.04012.02
5.4.80.0100.03312.03
5.4.70.0050.03512.02
5.4.60.0040.03712.02
5.4.50.0070.03412.02
5.4.40.0050.03612.01
5.4.30.0020.03912.00
5.4.20.0070.03412.00
5.4.10.0050.03612.01
5.4.00.0050.03711.50
5.3.290.0060.04212.80
5.3.280.0080.03612.71
5.3.270.0080.03912.72
5.3.260.0040.05412.71
5.3.250.0060.04712.72
5.3.240.0090.04912.72
5.3.230.0090.04712.71
5.3.220.0090.04012.68
5.3.210.0120.03512.68
5.3.200.0040.04012.68
5.3.190.0060.03812.68
5.3.180.0100.03412.67
5.3.170.0090.03612.67
5.3.160.0040.04012.67
5.3.150.0100.04012.67
5.3.140.0080.03712.66
5.3.130.0050.03912.65
5.3.120.0040.04012.66
5.3.110.0050.04012.66
5.3.100.0050.03712.13
5.3.90.0040.03812.11
5.3.80.0080.03512.10
5.3.70.0060.04512.10
5.3.60.0080.03612.09
5.3.50.0040.03812.04
5.3.40.0090.03512.03
5.3.30.0070.03512.00
5.3.20.0090.03211.78
5.3.10.0080.03211.74
5.3.00.0050.04511.73
5.2.170.0050.0319.23
5.2.160.0050.0289.23
5.2.150.0040.0319.23
5.2.140.0060.0399.23
5.2.130.0030.0399.18
5.2.120.0030.0309.18
5.2.110.0050.0289.19
5.2.100.0060.0279.19
5.2.90.0050.0279.19
5.2.80.0050.0309.18
5.2.70.0040.0319.18
5.2.60.0070.0289.14
5.2.50.0080.0279.11
5.2.40.0040.0309.08
5.2.30.0040.0319.06
5.2.20.0050.0299.05
5.2.10.0010.0328.96
5.2.00.0030.0318.82
5.1.60.0000.0288.09
5.1.50.0060.0238.09
5.1.40.0060.0238.07
5.1.30.0030.0278.43
5.1.20.0040.0358.45
5.1.10.0030.0278.17
5.1.00.0030.0268.17
5.0.50.0020.0216.64
5.0.40.0030.0206.50
5.0.30.0020.0356.32
5.0.20.0030.0216.28
5.0.10.0060.0186.26
5.0.00.0030.0326.25
4.4.90.0040.0154.78
4.4.80.0040.0144.76
4.4.70.0030.0154.75
4.4.60.0010.0174.75
4.4.50.0020.0164.77
4.4.40.0050.0244.71
4.4.30.0020.0164.76
4.4.20.0010.0174.84
4.4.10.0000.0184.85
4.4.00.0050.0224.76
4.3.110.0050.0144.66
4.3.100.0040.0144.67
4.3.90.0030.0144.64
4.3.80.0030.0244.59
4.3.70.0030.0144.63
4.3.60.0040.0134.63
4.3.50.0030.0154.63
4.3.40.0040.0234.53
4.3.30.0010.0173.30
4.3.20.0020.0163.28
4.3.10.0050.0133.23
4.3.00.0170.0176.88

preferences:
30.83 ms | 401 KiB | 5 Q