3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { class Bar {} } namespace Other { use Foo\Bar as FooBar; class Baz { function test($instance) { var_dump($instance instanceof FooBar); } } $other = new Baz; $other->test(new Foo\Bar); }

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.0110.00718.43
8.3.50.0120.00821.86
8.3.40.0090.00618.83
8.3.30.0110.00718.92
8.3.20.0070.00020.26
8.3.10.0040.00421.80
8.3.00.0070.00019.22
8.2.180.0000.01416.75
8.2.170.0110.00722.96
8.2.160.0030.01022.32
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00420.95
8.2.110.0000.01022.12
8.2.100.0050.00520.41
8.2.90.0030.00617.63
8.2.80.0040.00418.03
8.2.70.0000.00818.04
8.2.60.0000.00818.08
8.2.50.0080.00018.10
8.2.40.0040.00419.30
8.2.30.0040.00417.91
8.2.20.0050.00317.78
8.2.10.0000.00817.86
8.2.00.0000.00717.73
8.1.280.0040.01125.92
8.1.270.0050.00324.66
8.1.260.0130.00626.35
8.1.250.0000.00728.09
8.1.240.0070.01023.84
8.1.230.0070.00419.20
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0060.00318.50
8.1.160.0080.00021.80
8.1.150.0040.00418.73
8.1.140.0000.00717.38
8.1.130.0000.00717.83
8.1.120.0070.00017.41
8.1.110.0000.00717.31
8.1.100.0000.00817.41
8.1.90.0070.00017.40
8.1.80.0000.00817.41
8.1.70.0040.00417.40
8.1.60.0080.00017.58
8.1.50.0030.00517.56
8.1.40.0030.00617.41
8.1.30.0000.00817.50
8.1.20.0040.00417.63
8.1.10.0040.00417.59
8.1.00.0000.00717.52
8.0.300.0000.00719.72
8.0.290.0040.00416.63
8.0.280.0000.00718.29
8.0.270.0040.00417.18
8.0.260.0030.00318.32
8.0.250.0000.00716.88
8.0.240.0080.00016.97
8.0.230.0070.00016.93
8.0.220.0040.00416.77
8.0.210.0030.00316.88
8.0.200.0030.00316.95
8.0.190.0050.00316.93
8.0.180.0040.00416.88
8.0.170.0050.00316.77
8.0.160.0000.00716.89
8.0.150.0000.00816.79
8.0.140.0040.00416.79
8.0.130.0030.00313.32
8.0.120.0050.00316.88
8.0.110.0040.00416.72
8.0.100.0030.00316.93
8.0.90.0040.00416.73
8.0.80.0130.01016.93
8.0.70.0050.00316.72
8.0.60.0000.00716.94
8.0.50.0000.00716.77
8.0.30.0070.00516.98
8.0.20.0110.00917.40
8.0.10.0080.00016.90
8.0.00.0120.00616.96
7.4.330.0000.00515.03
7.4.320.0000.00716.57
7.4.300.0030.00316.51
7.4.290.0030.00316.52
7.4.280.0000.00716.52
7.4.270.0000.00716.63
7.4.260.0000.00716.48
7.4.250.0000.00716.45
7.4.240.0030.00416.51
7.4.230.0050.00216.48
7.4.220.0110.01116.51
7.4.210.0030.01316.50
7.4.200.0000.00716.34
7.4.160.0090.00616.69
7.4.150.0160.01017.40
7.4.140.0090.00917.86
7.4.130.0090.01116.40
7.4.120.0110.00716.42
7.4.110.0070.01616.44
7.4.100.0130.01016.63
7.4.90.0190.00416.37
7.4.80.0060.01119.39
7.4.70.0130.01016.65
7.4.60.0030.01316.45
7.4.50.0030.00516.44
7.4.40.0060.01016.34
7.4.30.0110.00616.45
7.4.00.0060.00615.14
7.3.330.0000.00613.31
7.3.320.0050.00013.14
7.3.310.0040.00416.25
7.3.300.0040.00416.23
7.3.290.0000.00716.32
7.3.280.0080.01216.31
7.3.270.0060.01217.40
7.3.260.0090.01216.36
7.3.250.0090.00816.47
7.3.240.0130.00416.63
7.3.230.0040.01316.39
7.3.210.0070.01016.28
7.3.200.0070.01419.39
7.3.190.0080.00816.21
7.3.180.0120.00316.29
7.3.170.0110.01116.55
7.3.160.0070.01016.59
7.3.10.0100.00716.34
7.3.00.0100.00716.60
7.2.330.0090.00916.34
7.2.320.0130.00316.56
7.2.310.0150.00316.68
7.2.300.0100.00716.70
7.2.290.0100.00716.59
7.2.130.0080.00616.85
7.2.120.0040.00816.57
7.2.110.0080.00416.82
7.2.100.0100.00316.77
7.2.90.0030.01016.81
7.2.80.0030.01316.61
7.2.70.0060.00316.98
7.2.60.0090.00516.77
7.2.50.0000.00916.91
7.2.40.0000.01416.66
7.2.30.0000.01316.83
7.2.20.0070.01017.02
7.2.10.0040.00716.88
7.2.00.0070.00416.56
7.1.250.0080.00815.61
7.1.240.0040.01115.61
7.1.230.0060.00615.56
7.1.220.0120.00015.19
7.1.210.0030.01015.40
7.1.200.0050.00915.58
7.1.190.0060.00915.53
7.1.180.0040.01115.50
7.1.170.0060.00615.35
7.1.160.0040.00815.36
7.1.150.0060.00615.55
7.1.140.0060.01015.41
7.1.130.0070.00715.72
7.1.120.0100.00315.74
7.1.110.0070.00715.66
7.1.100.0250.01215.28
7.1.90.0070.00715.52
7.1.80.0000.01315.51
7.1.70.0030.00716.41
7.1.60.0030.01417.45
7.1.50.0050.01116.16
7.1.40.0030.01015.55
7.1.30.0000.01415.47
7.1.20.0040.00815.65
7.1.10.0030.01015.59
7.1.00.0070.03919.08
7.0.330.0000.01315.24
7.0.320.0040.00815.38
7.0.310.0030.00615.21
7.0.300.0000.01414.96
7.0.290.0040.01115.24
7.0.280.0030.01415.16
7.0.270.0060.00615.06
7.0.260.0000.01015.32
7.0.250.0060.00915.09
7.0.240.0040.00415.02
7.0.230.0120.00015.46
7.0.220.0030.00915.19
7.0.210.0060.00915.32
7.0.200.0070.00315.76
7.0.190.0070.00715.02
7.0.180.0040.01115.22
7.0.170.0040.01115.44
7.0.160.0030.01015.17
7.0.150.0090.00315.32
7.0.140.0030.02218.63
7.0.130.0000.00915.23
7.0.120.0040.00415.23
7.0.110.0030.01015.36
7.0.100.0090.00615.45
7.0.90.0000.01315.04
7.0.80.0060.00315.26
7.0.70.0050.00515.40
7.0.60.0100.04317.68
7.0.50.0030.04416.57
7.0.40.0050.02616.70
7.0.30.0180.02116.73
7.0.20.0150.03016.76
7.0.10.0050.04816.78
7.0.00.0090.04016.77
5.6.380.0100.00314.36
5.6.370.0030.01014.38
5.6.360.0070.00714.35
5.6.350.0030.01014.29
5.6.340.0040.00414.15
5.6.330.0120.00014.55
5.6.320.0060.00314.18
5.6.310.0080.00314.53
5.6.300.0040.01114.14
5.6.290.0030.01314.27
5.6.280.0070.03917.60
5.6.270.0070.00714.00
5.6.260.0000.01214.26
5.6.250.0000.01014.21
5.6.240.0000.01614.34
5.6.230.0070.00714.23
5.6.220.0110.00614.20
5.6.210.0070.02917.56
5.6.200.0060.02416.01
5.6.190.0090.03017.52
5.6.180.0170.02217.44
5.6.170.0070.02817.49
5.6.160.0070.04217.31
5.6.150.0080.04516.14
5.6.140.0120.03816.22
5.6.130.0030.03216.19
5.6.120.0130.04317.76
5.6.110.0090.04417.51
5.6.100.0030.03317.66
5.6.90.0170.02517.59
5.6.80.0040.03117.24
5.6.70.0030.00714.24
5.6.60.0030.00714.23
5.6.50.0040.00714.06
5.6.40.0040.00814.20
5.6.30.0060.00914.13
5.6.20.0140.00014.07
5.6.10.0000.01514.09
5.6.00.0060.00914.22
5.5.380.0030.00511.05
5.5.370.0070.00411.11
5.5.360.0060.00010.91
5.5.350.0150.03615.76
5.5.340.0030.04014.75
5.5.330.0050.02215.83
5.5.320.0200.04015.73
5.5.310.0100.02215.71
5.5.300.0050.03714.62
5.5.290.0050.03214.53
5.5.280.0010.03115.84
5.5.270.0080.04516.02
5.5.260.0110.03315.90
5.5.250.0040.02415.95
5.5.240.0020.04615.45
5.5.230.0070.00310.85
5.5.220.0070.00310.99
5.5.210.0060.00610.89
5.5.200.0000.01111.16
5.5.190.0030.00311.06
5.5.180.0060.00610.88
5.5.170.0000.01010.86
5.5.160.0030.00910.88
5.5.150.0030.00711.24
5.5.140.0060.00610.70
5.5.130.0000.01010.74
5.5.120.0040.00711.01
5.5.110.0070.00011.01
5.5.100.0030.00911.04
5.5.90.0030.00311.13
5.5.80.0060.00611.12
5.5.70.0040.00410.70
5.5.60.0000.01111.23
5.5.50.0030.00910.98
5.5.40.0070.00311.25
5.5.30.0030.00610.69
5.5.20.0030.00310.94
5.5.10.0070.00711.25
5.5.00.0040.00711.08
5.4.450.0270.03015.09
5.4.440.0320.02915.15
5.4.430.0130.02515.15
5.4.420.0080.03015.19
5.4.410.0040.03515.29
5.4.400.0110.02715.08
5.4.390.0100.03114.78
5.4.380.0100.03214.82
5.4.370.0120.03514.80
5.4.360.0130.03114.85
5.4.350.0200.02814.72
5.4.340.0110.03114.62
5.4.330.0000.01211.11
5.4.320.0160.03114.81
5.4.310.0110.03114.78
5.4.300.0080.03714.57
5.4.290.0170.03314.87
5.4.280.0080.04214.75
5.4.270.0100.03614.69
5.4.260.0120.03014.69
5.4.250.0120.03314.76
5.4.240.0130.03414.77
5.4.230.0080.03514.91
5.4.220.0160.02914.72
5.4.210.0150.03014.89
5.4.200.0130.03113.71
5.4.190.0110.03014.66
5.4.180.0170.02814.63
5.4.170.0100.03214.85
5.4.160.0120.03214.79
5.4.150.0130.02814.69
5.4.140.0120.02813.65
5.4.130.0120.02713.51
5.4.120.0170.02513.46
5.4.110.0150.02413.46
5.4.100.0170.03013.60
5.4.90.0110.03313.58
5.4.80.0180.02713.58
5.4.70.0170.02813.61
5.4.60.0100.03713.55
5.4.50.0100.03213.60
5.4.40.0080.03213.68
5.4.30.0180.02413.55
5.4.20.0100.03013.46
5.4.10.0070.03613.59
5.4.00.0200.02613.32
5.3.290.0110.03012.58
5.3.280.0080.03412.55
5.3.270.0190.03512.63
5.3.260.0100.03812.46
5.3.250.0250.02312.50
5.3.240.0120.03812.47
5.3.230.0100.03012.51
5.3.220.0150.03112.48
5.3.210.0210.03012.50
5.3.200.0150.02812.59
5.3.190.0100.03612.50
5.3.180.0170.03312.64
5.3.170.0070.03012.59
5.3.160.0100.03012.65
5.3.150.0130.02612.64
5.3.140.0080.04012.51
5.3.130.0150.03712.43
5.3.120.0100.03212.45
5.3.110.0100.03012.55
5.3.100.0120.03612.10
5.3.90.0100.02812.21
5.3.80.0050.03312.30
5.3.70.0100.03512.20
5.3.60.0150.02712.09
5.3.50.0100.03012.24
5.3.40.0070.03312.14
5.3.30.0140.02312.12
5.3.20.0140.03211.99
5.3.10.0130.03011.95
5.3.00.0110.02911.98
5.2.170.0030.03310.62
5.2.160.0100.02510.73
5.2.150.0030.03110.66
5.2.140.0110.02110.64
5.2.130.0120.01810.62
5.2.120.0080.02910.64
5.2.110.0110.02210.64
5.2.100.0130.02010.71
5.2.90.0090.02910.66
5.2.80.0050.02710.66
5.2.70.0100.02910.62
5.2.60.0060.03410.60
5.2.50.0070.03010.59
5.2.40.0080.02310.56
5.2.30.0080.02410.56
5.2.20.0030.02710.58
5.2.10.0090.02210.59
5.2.00.0070.02610.52
5.1.60.0140.01510.13
5.1.50.0080.01910.07
5.1.40.0110.02110.06
5.1.30.0120.02410.25
5.1.20.0100.02610.32
5.1.10.0030.02510.13
5.1.00.0110.02310.18
5.0.50.0030.0239.41
5.0.40.0110.0159.34
5.0.30.0050.0269.23
5.0.20.0070.0159.20
5.0.10.0030.0199.19
5.0.00.0050.0249.21
4.4.90.0050.0108.00
4.4.80.0020.0188.04
4.4.70.0070.0138.05
4.4.60.0050.0158.06
4.4.50.0060.0158.05
4.4.40.0040.0208.03
4.4.30.0080.0088.03
4.4.20.0030.0138.06
4.4.10.0050.0128.08
4.4.00.0050.0188.03
4.3.110.0020.0158.01
4.3.100.0100.0088.03
4.3.90.0030.0137.98
4.3.80.0020.0257.98
4.3.70.0050.0127.98
4.3.60.0050.0138.02
4.3.50.0060.0167.97
4.3.40.0080.0208.01
4.3.30.0030.0137.36
4.3.20.0020.0157.39
4.3.10.0020.0157.35
4.3.00.0000.0148.50

preferences:
35.84 ms | 401 KiB | 5 Q