3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class SomeThing{} echo "Itnerface exists".interface_exists('SomeThing'); echo "class exists".class_exists('SomeThing');

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.25
8.3.50.0080.01121.94
8.3.40.0120.00318.54
8.3.30.0060.00918.96
8.3.20.0040.00419.93
8.3.10.0070.00023.66
8.3.00.0030.00617.50
8.2.180.0070.00716.32
8.2.170.0100.01022.96
8.2.160.0030.01020.43
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0060.00326.16
8.2.120.0080.00022.08
8.2.110.0030.00622.04
8.2.100.0000.01117.78
8.2.90.0040.00418.92
8.2.80.0050.00317.97
8.2.70.0090.00017.50
8.2.60.0060.00317.79
8.2.50.0030.00618.07
8.2.40.0000.00818.03
8.2.30.0040.00417.98
8.2.20.0000.00817.65
8.2.10.0040.00417.99
8.2.00.0030.00717.75
8.1.280.0040.01525.92
8.1.270.0090.00023.97
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0000.00923.82
8.1.230.0040.00820.89
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00317.35
8.1.190.0030.00617.53
8.1.180.0040.00718.10
8.1.170.0080.00018.59
8.1.160.0040.00422.00
8.1.150.0000.00718.50
8.1.140.0000.00817.38
8.1.130.0000.00717.75
8.1.120.0040.00417.36
8.1.110.0000.00717.38
8.1.100.0040.00417.31
8.1.90.0050.00217.21
8.1.80.0030.00317.34
8.1.70.0040.00417.18
8.1.60.0050.00517.33
8.1.50.0040.00417.27
8.1.40.0040.00417.42
8.1.30.0040.00417.38
8.1.20.0080.00017.45
8.1.10.0060.00317.41
8.1.00.0000.00717.34
8.0.300.0000.00718.77
8.0.290.0000.00717.05
8.0.280.0070.00018.37
8.0.270.0000.00717.18
8.0.260.0030.00317.29
8.0.250.0000.00716.89
8.0.240.0040.00416.81
8.0.230.0070.00016.91
8.0.220.0030.00416.71
8.0.210.0050.00316.86
8.0.200.0080.00016.77
8.0.190.0040.00416.81
8.0.180.0000.01116.80
8.0.170.0000.00716.73
8.0.160.0050.00316.87
8.0.150.0000.00716.73
8.0.140.0030.00316.81
8.0.130.0000.00713.28
8.0.120.0080.00016.77
8.0.110.0000.00716.84
8.0.100.0040.00416.70
8.0.90.0070.00016.63
8.0.80.0110.01116.71
8.0.70.0040.00416.71
8.0.60.0040.00416.70
8.0.50.0050.00316.64
8.0.30.0140.00516.81
8.0.20.0080.01117.40
8.0.10.0030.00316.95
8.0.00.0110.00816.65
7.4.330.0020.00215.00
7.4.320.0000.00616.46
7.4.300.0000.00616.38
7.4.290.0000.00716.46
7.4.280.0070.00016.34
7.4.270.0000.00716.48
7.4.260.0080.00316.24
7.4.250.0070.00016.32
7.4.240.0040.00416.48
7.4.230.0060.00016.20
7.4.220.0090.00616.47
7.4.210.0070.00916.45
7.4.200.0000.00716.35
7.4.190.0000.00716.62
7.4.160.0090.00616.52
7.4.150.0090.00917.40
7.4.140.0060.01117.86
7.4.130.0070.01016.26
7.4.120.0090.00916.44
7.4.110.0060.01216.40
7.4.100.0060.01616.47
7.4.90.0120.00616.51
7.4.80.0190.00319.39
7.4.70.0110.00716.25
7.4.60.0130.00316.29
7.4.50.0050.00316.59
7.4.40.0080.00822.77
7.4.30.0030.01216.45
7.4.00.0110.00514.96
7.3.330.0000.00513.09
7.3.320.0050.00013.21
7.3.310.0060.00316.12
7.3.300.0000.00816.27
7.3.290.0110.00816.18
7.3.280.0070.01016.25
7.3.270.0060.01017.40
7.3.260.0120.00616.23
7.3.250.0070.01016.30
7.3.240.0150.00416.55
7.3.230.0190.00316.39
7.3.210.0100.00716.39
7.3.200.0140.00919.39
7.3.190.0090.01216.31
7.3.180.0100.00716.26
7.3.170.0070.01016.30
7.3.160.0170.00316.54
7.3.120.0070.01014.89
7.3.110.0030.01014.96
7.3.100.0070.00714.66
7.3.90.0080.00314.73
7.3.80.0060.00614.92
7.3.70.0050.00814.86
7.3.60.0080.00814.61
7.3.50.0030.01014.69
7.3.40.0030.00914.75
7.3.30.0000.00914.58
7.3.20.0030.00916.68
7.3.10.0030.01416.43
7.3.00.0000.01316.64
7.2.330.0140.01116.45
7.2.320.0130.00416.36
7.2.310.0070.01016.27
7.2.300.0150.00016.67
7.2.290.0090.01216.66
7.2.250.0040.01515.05
7.2.240.0070.01014.91
7.2.230.0070.01114.80
7.2.220.0030.01014.79
7.2.210.0090.00614.79
7.2.200.0070.00714.75
7.2.190.0080.00814.62
7.2.180.0000.00914.98
7.2.170.0000.01014.68
7.2.00.0040.00819.46
7.1.330.0060.00615.78
7.1.320.0040.00815.53
7.1.310.0040.00715.59
7.1.300.0030.01015.65
7.1.290.0030.01015.56
7.1.280.0100.00315.74
7.1.270.0060.00915.42
7.1.260.0060.00315.70
7.1.100.0080.00417.91
7.1.70.0000.00816.97
7.1.60.0070.01419.46
7.1.50.0150.00616.48
7.1.00.0030.07322.57
7.0.200.0030.00316.80
7.0.140.0130.06722.04
7.0.60.0070.05319.90
7.0.50.0030.08317.88
7.0.40.0100.08720.14
7.0.30.0230.09020.26
7.0.20.0230.04320.21
7.0.10.0070.08720.15
7.0.00.0070.08320.15
5.6.280.0030.07321.07
5.6.210.0030.08020.62
5.6.200.0030.08018.29
5.6.190.0100.07720.55
5.6.180.0430.04320.52
5.6.170.0300.05720.62
5.6.160.0070.08720.57
5.6.150.0070.04318.19
5.6.140.0030.04018.14
5.6.130.0000.05318.11
5.6.120.0070.04721.01
5.6.110.0100.07721.13
5.6.100.0070.04020.99
5.6.90.0000.08320.96
5.6.80.0130.02720.35
5.5.350.0300.07320.49
5.5.340.0130.07718.05
5.5.330.0030.04320.33
5.5.320.0330.07320.27
5.5.310.0400.07020.24
5.5.300.0100.05317.98
5.5.290.0030.06018.08
5.5.280.0130.04720.88
5.5.270.0030.08720.72
5.5.260.0130.07020.86
5.5.250.0070.09020.68
5.5.240.0100.06320.27
5.4.450.0870.04719.31
5.4.440.0530.04019.44
5.4.430.0700.03319.40
5.4.420.0730.03319.29
5.4.410.0630.04019.07
5.4.400.1070.03018.98
5.4.390.1330.03318.87
5.4.380.0300.05318.50
5.4.370.0330.05318.61
5.4.360.0270.05318.53
5.4.350.0270.05718.76
5.4.340.0430.05018.63
5.4.320.0090.04412.50
5.4.310.0050.03812.49
5.4.300.0060.03612.49
5.4.290.0090.07412.48
5.4.280.0120.09312.38
5.4.270.0120.06212.37
5.4.260.0170.07712.38
5.4.250.0150.06312.37
5.4.240.0070.04812.37
5.4.230.0140.05412.37
5.4.220.0070.05712.36
5.4.210.0240.07412.37
5.4.200.0120.06112.37
5.4.190.0130.08712.36
5.4.180.0110.05512.36
5.4.170.0100.06012.38
5.4.160.0210.07812.37
5.4.150.0140.04312.37
5.4.140.0060.05212.05
5.4.130.0070.05412.04
5.4.120.0130.04912.00
5.4.110.0120.05012.00
5.4.100.0070.03811.99
5.4.90.0120.05911.99
5.4.80.0120.07011.98
5.4.70.0090.07211.99
5.4.60.0100.04011.98
5.4.50.0080.04811.98
5.4.40.0090.05211.98
5.4.30.0060.05711.97
5.4.20.0130.05011.97
5.4.10.0100.05011.97
5.4.00.0060.04011.46
5.3.290.0060.03812.80
5.3.280.0130.03912.71
5.3.270.0200.08812.72
5.3.260.0180.08812.72
5.3.250.0140.07212.72
5.3.240.0140.08012.71
5.3.230.0120.05812.71
5.3.220.0260.11112.68
5.3.210.0080.07412.68
5.3.200.0120.07712.68
5.3.190.0160.06312.68
5.3.180.0160.05412.67
5.3.170.0170.04712.67
5.3.160.0190.06812.68
5.3.150.0160.05512.68
5.3.140.0110.06712.66
5.3.130.0150.06612.66
5.3.120.0130.07012.66
5.3.110.0070.06612.66
5.3.100.0120.05812.12
5.3.90.0130.06612.09
5.3.80.0100.06412.09
5.3.70.0120.06012.09
5.3.60.0100.04712.07
5.3.50.0100.03912.01
5.3.40.0130.05312.02
5.3.30.0140.05611.97
5.3.20.0150.06211.75
5.3.10.0160.04811.72
5.3.00.0100.06211.71
5.2.170.0050.0499.21
5.2.160.0090.0389.21
5.2.150.0110.0409.21
5.2.140.0100.0439.21
5.2.130.0070.0439.17
5.2.120.0100.0559.16
5.2.110.0110.0379.17
5.2.100.0110.0379.16
5.2.90.0140.0409.17
5.2.80.0070.0419.16
5.2.70.0100.0439.17
5.2.60.0050.0449.12
5.2.50.0100.0299.09
5.2.40.0060.0319.06
5.2.30.0060.0339.04
5.2.20.0050.0329.03
5.2.10.0070.0308.93
5.2.00.0080.0308.79
5.1.60.0040.0278.08
5.1.50.0040.0268.07
5.1.40.0050.0288.05
5.1.30.0090.0258.40
5.1.20.0060.0298.42
5.1.10.0080.0268.16
5.1.00.0150.0438.16
5.0.50.0050.0206.63
5.0.40.0030.0226.49
5.0.30.0050.0356.30
5.0.20.0040.0206.27
5.0.10.0050.0256.25
5.0.00.0090.0496.24
4.4.90.0060.0324.78
4.4.80.0070.0184.75
4.4.70.0030.0174.75
4.4.60.0050.0174.76
4.4.50.0040.0174.77
4.4.40.0050.0254.71
4.4.30.0050.0154.76
4.4.20.0040.0164.84
4.4.10.0040.0164.85
4.4.00.0040.0264.76
4.3.110.0020.0184.67
4.3.100.0050.0194.66
4.3.90.0040.0254.63
4.3.80.0110.0394.58
4.3.70.0050.0284.63
4.3.60.0050.0214.63
4.3.50.0100.0314.63
4.3.40.0050.0474.54
4.3.30.0020.0233.29
4.3.20.0070.0383.27
4.3.10.0020.0203.23
4.3.00.0000.01713.47

preferences:
107.86 ms | 401 KiB | 5 Q