3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = new __PHP_Incomplete_Class(); var_dump(is_object($x)); class Foo extends __PHP_Incomplete_Class { } $y = new Foo(); var_dump(is_object($y)); class Bar extends stdClass { } $z = new Bar(); var_dump(is_object($z)); var_dump($x instanceof stdClass); var_dump($y instanceof stdClass); var_dump($z instanceof stdClass);

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.40.0040.01818.44
8.3.30.0120.00318.92
8.3.20.0040.00420.34
8.3.10.0070.00318.53
8.3.00.0080.00019.25
8.2.170.0110.00422.96
8.2.160.0070.01020.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.07
8.2.110.0080.00322.20
8.2.100.0080.00417.78
8.2.90.0040.00419.14
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0050.00317.97
8.2.30.0000.00919.55
8.2.20.0050.00317.63
8.2.10.0000.00717.84
8.2.00.0030.00617.62
8.1.270.0040.00423.97
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0090.00023.87
8.1.230.0120.00019.19
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.11
8.1.190.0060.00317.22
8.1.180.0000.00918.10
8.1.170.0000.00818.51
8.1.160.0000.00721.99
8.1.150.0000.00718.61
8.1.140.0040.00417.25
8.1.130.0000.00717.77
8.1.120.0070.00017.38
8.1.110.0000.00817.34
8.1.100.0000.00817.25
8.1.90.0040.00417.37
8.1.80.0050.00317.29
8.1.70.0050.00217.26
8.1.60.0030.00517.34
8.1.50.0090.00017.38
8.1.40.0000.00717.34
8.1.30.0000.00817.39
8.1.20.0000.00717.51
8.1.10.0040.00417.36
8.1.00.0000.00717.30
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.33
8.0.270.0030.00317.18
8.0.260.0030.00317.05
8.0.250.0000.00716.87
8.0.240.0080.00016.82
8.0.230.0000.00716.87
8.0.220.0000.00716.82
8.0.210.0040.00416.73
8.0.200.0030.00316.88
8.0.190.0030.00516.76
8.0.180.0070.00016.86
8.0.170.0000.00716.88
8.0.160.0070.00016.84
8.0.150.0000.00716.68
8.0.140.0050.00316.67
8.0.130.0060.00013.16
8.0.120.0050.00316.71
8.0.110.0070.00016.79
8.0.100.0040.00416.84
8.0.90.0070.00016.86
8.0.80.0070.00716.86
8.0.70.0040.00416.77
8.0.60.0070.00016.81
8.0.50.0040.00416.72
8.0.30.0150.00317.08
8.0.20.0110.01117.40
8.0.10.0030.00616.79
8.0.00.0090.01016.55
7.4.330.0000.00515.09
7.4.320.0030.00316.60
7.4.300.0030.00316.54
7.4.290.0000.00616.45
7.4.280.0080.00316.36
7.4.270.0000.00616.42
7.4.260.0060.00316.55
7.4.250.0040.00416.27
7.4.240.0040.00416.53
7.4.230.0000.00716.58
7.4.220.0070.01616.65
7.4.210.0040.01016.66
7.4.200.0040.00416.29
7.4.160.0070.01016.49
7.4.150.0110.00617.40
7.4.140.0070.01117.86
7.4.130.0110.00816.43
7.4.120.0050.01416.39
7.4.110.0120.00616.39
7.4.100.0090.01316.40
7.4.90.0060.00916.56
7.4.80.0150.01019.39
7.4.70.0080.00816.50
7.4.60.0090.01216.39
7.4.50.0030.00516.52
7.4.40.0080.00816.39
7.4.30.0060.01016.55
7.4.00.0070.00914.93
7.3.330.0060.00013.11
7.3.320.0060.00013.17
7.3.310.0030.00316.29
7.3.300.0000.00716.16
7.3.290.0120.00916.32
7.3.280.0050.01116.25
7.3.270.0070.01717.40
7.3.260.0100.00716.40
7.3.250.0100.00716.32
7.3.240.0080.00816.49
7.3.230.0060.01216.39
7.3.210.0180.00316.45
7.3.200.0080.00619.39
7.3.190.0130.00316.47
7.3.180.0120.00316.19
7.3.170.0060.01216.33
7.3.160.0030.01316.31
7.3.120.0060.01314.75
7.3.110.0060.01314.98
7.3.100.0090.00614.61
7.3.90.0030.01014.80
7.3.80.0070.00714.72
7.3.70.0070.00714.52
7.3.60.0000.01414.87
7.3.50.0080.00814.49
7.3.40.0040.01114.79
7.3.30.0060.01014.84
7.3.20.0110.00316.53
7.3.10.0050.00816.53
7.3.00.0040.00716.74
7.2.330.0060.01016.76
7.2.320.0060.01016.35
7.2.310.0190.00416.44
7.2.300.0030.01716.73
7.2.290.0100.00716.57
7.2.250.0100.01015.12
7.2.240.0060.00915.08
7.2.230.0000.01415.07
7.2.220.0000.01114.83
7.2.210.0160.00014.84
7.2.200.0000.01114.97
7.2.190.0090.00614.85
7.2.180.0060.01215.09
7.2.170.0030.01315.05
7.2.160.0070.00315.08
7.2.150.0070.00716.94
7.2.140.0070.01116.88
7.2.130.0080.00616.80
7.2.120.0050.00916.72
7.2.110.0040.01016.94
7.2.100.0030.01116.80
7.2.90.0090.00716.83
7.2.80.0110.00716.77
7.2.70.0060.00316.68
7.2.60.0060.01016.75
7.2.50.0030.01116.78
7.2.40.0080.00716.84
7.2.30.0070.00716.91
7.2.20.0070.00716.90
7.2.10.0070.00716.82
7.2.00.0040.00817.61
7.1.330.0090.00615.82
7.1.320.0100.00315.99
7.1.310.0080.00815.63
7.1.300.0000.01315.74
7.1.290.0080.00815.83
7.1.280.0000.01415.49
7.1.270.0030.00615.43
7.1.260.0070.01015.75
7.1.250.0050.00715.75
7.1.240.0120.00615.53
7.1.230.0030.00915.59
7.1.220.0030.01015.45
7.1.210.0000.01015.83
7.1.200.0070.00515.55
7.1.190.0090.00615.84
7.1.180.0090.00315.69
7.1.170.0070.00715.83
7.1.160.0040.00915.87
7.1.150.0100.00315.78
7.1.140.0080.00415.52
7.1.130.0030.00615.68
7.1.120.0090.00615.41
7.1.110.0040.00815.89
7.1.100.0090.00016.97
7.1.90.0000.00915.70
7.1.80.0030.01015.82
7.1.70.0050.00516.41
7.1.60.0070.00517.68
7.1.50.0050.01316.39
7.1.40.0130.00015.69
7.1.30.0060.00915.60
7.1.20.0060.01215.48
7.1.10.0040.00415.48
7.1.00.0030.04019.12
7.0.330.0070.01115.13
7.0.320.0000.01015.16
7.0.310.0090.00915.38
7.0.300.0060.01215.45
7.0.290.0030.01015.31
7.0.280.0040.01115.14
7.0.270.0030.01015.43
7.0.260.0000.00915.36
7.0.250.0000.01215.38
7.0.240.0030.00615.45
7.0.230.0000.01415.47
7.0.220.0070.00715.27
7.0.210.0030.01315.36
7.0.200.0030.00716.05
7.0.190.0100.00315.61
7.0.180.0070.01015.07
7.0.170.0000.01415.04
7.0.160.0070.00715.41
7.0.150.0040.00415.47
7.0.140.0070.03818.72
7.0.130.0050.00515.58
7.0.120.0110.00415.40
7.0.110.0030.00715.44
7.0.100.0030.00615.43
7.0.90.0080.00415.28
7.0.80.0000.00815.32
7.0.70.0030.00715.13
7.0.60.0110.03517.69
7.0.50.0070.04216.64
7.0.40.0070.02516.88
7.0.30.0180.04016.94
7.0.20.0180.04316.88
7.0.10.0080.03216.83
7.0.00.0070.03916.80
5.6.400.0030.01014.47
5.6.390.0070.01114.43
5.6.380.0110.00314.34
5.6.370.0110.00314.22
5.6.360.0070.00714.51
5.6.350.0100.00314.17
5.6.340.0060.00614.64
5.6.330.0120.00314.50
5.6.320.0090.00614.50
5.6.310.0070.00814.37
5.6.300.0040.01114.29
5.6.290.0070.00714.12
5.6.280.0070.03817.74
5.6.270.0000.01014.53
5.6.260.0000.00914.30
5.6.250.0060.00914.45
5.6.240.0000.01314.55
5.6.230.0040.00814.50
5.6.220.0000.01514.40
5.6.210.0080.02717.45
5.6.200.0040.02716.31
5.6.190.0050.03217.41
5.6.180.0120.04017.38
5.6.170.0130.02517.46
5.6.160.0100.03217.30
5.6.150.0070.04316.26
5.6.140.0100.04216.39
5.6.130.0040.02316.12
5.6.120.0050.02317.48
5.6.110.0070.04417.85
5.6.100.0050.03817.69
5.6.90.0080.02517.48
5.6.80.0100.03817.22
5.6.70.2380.02017.47
5.6.60.0060.01014.07
5.6.50.0000.01114.19
5.6.40.0090.00314.15
5.6.30.0040.00714.51
5.6.20.0000.01514.29
5.6.10.0000.01214.31
5.6.00.0000.01014.07
5.5.380.0070.00314.20
5.5.370.0030.00814.43
5.5.360.0060.00614.07
5.5.350.0230.03017.18
5.5.340.0030.02715.96
5.5.330.0040.04517.23
5.5.320.0130.02317.29
5.5.310.0100.02917.28
5.5.300.0080.03216.13
5.5.290.0100.04416.19
5.5.280.0050.02617.44
5.5.270.0030.05017.61
5.5.260.0090.04517.50
5.5.250.0090.02217.31
5.5.240.1500.02017.10
5.5.230.0000.00914.19
5.5.220.0030.01414.01
5.5.210.0090.00614.14
5.5.200.0050.00814.11
5.5.190.0090.00813.84
5.5.180.0100.00314.10
5.5.170.0060.00314.27
5.5.160.0070.00714.27
5.5.150.0120.00314.15
5.5.140.0060.00614.16
5.5.130.0000.01014.37
5.5.120.0070.00313.98
5.5.110.0060.00614.37
5.5.100.0000.01713.96
5.5.90.0060.00614.32
5.5.80.0100.00314.17
5.5.70.0070.00314.00
5.5.60.0070.00713.98
5.5.50.0120.00314.34
5.5.40.0090.00314.30
5.5.30.0040.00814.32
5.5.20.0080.00314.28
5.5.10.0030.01013.87
5.5.00.0070.00714.00
5.4.450.0170.02715.95
5.4.440.0300.03015.98
5.4.430.0370.02815.89
5.4.420.0380.03215.98
5.4.410.0100.02815.98
5.4.400.0410.03015.76
5.4.390.0330.03615.79
5.4.380.0140.03315.58
5.4.370.0570.03515.54
5.4.360.0400.04315.59
5.4.350.0230.03215.53
5.4.340.0170.03715.64
5.4.330.0000.00612.57
5.4.320.0080.02012.53
5.4.310.0040.02512.53
5.4.300.0050.02112.53
5.4.290.0070.02112.53
5.4.280.0050.02112.48
5.4.270.0060.02112.48
5.4.260.0070.02312.48
5.4.250.0050.02212.48
5.4.240.0070.01812.48
5.4.230.0070.02212.47
5.4.220.0030.02412.47
5.4.210.0070.01912.48
5.4.200.0050.02112.47
5.4.190.0020.02112.47
5.4.180.0040.02112.47
5.4.170.0040.02012.48
5.4.160.0080.01912.47
5.4.150.0050.01912.47
5.4.140.0050.02312.32
5.4.130.0070.02012.31
5.4.120.0070.02112.29
5.4.110.0050.02212.29
5.4.100.0030.02512.29
5.4.90.0060.02312.29
5.4.80.0060.02312.29
5.4.70.0060.02212.29
5.4.60.0050.02612.29
5.4.50.0040.02412.28
5.4.40.0080.01612.28
5.4.30.0050.02412.28
5.4.20.0060.02312.28
5.4.10.0060.02212.28
5.4.00.0050.02212.02
5.3.290.0100.03612.80
5.3.280.0050.04012.71
5.3.270.0070.03912.72
5.3.260.0080.03612.72
5.3.250.0070.03712.72
5.3.240.0040.04112.72
5.3.230.0080.03812.71
5.3.220.0090.04312.68
5.3.210.0080.03812.68
5.3.200.0080.04412.68
5.3.190.0030.04612.68
5.3.180.0100.03912.67
5.3.170.0060.04312.67
5.3.160.0080.03612.68
5.3.150.0100.03212.67
5.3.140.0100.03412.66
5.3.130.0070.04312.66
5.3.120.0070.04012.66
5.3.110.0090.04312.66
5.3.100.0110.04112.12
5.3.90.0070.03812.09
5.3.80.0050.03912.08
5.3.70.0060.03612.09
5.3.60.0080.03912.07
5.3.50.0100.03612.02
5.3.40.0060.04612.02
5.3.30.0070.03511.98
5.3.20.0070.03511.76
5.3.10.0070.03611.72
5.3.00.0060.03611.71
5.2.170.0010.0339.21
5.2.160.0060.0279.21
5.2.150.0080.0269.21
5.2.140.0050.0299.20
5.2.130.0040.0309.17
5.2.120.0040.0299.17
5.2.110.0080.0259.18
5.2.100.0070.0259.17
5.2.90.0020.0309.18
5.2.80.0020.0329.17
5.2.70.0060.0309.17
5.2.60.0040.0319.12
5.2.50.0050.0289.09
5.2.40.0050.0289.06
5.2.30.0030.0319.05
5.2.20.0040.0299.04
5.2.10.0030.0298.94
5.2.00.0030.0298.80
5.1.60.0020.0258.08
5.1.50.0010.0278.08
5.1.40.0030.0248.06
5.1.30.0020.0278.41
5.1.20.0020.0288.43
5.1.10.0050.0248.15
5.1.00.0030.0318.15
5.0.50.0050.0196.64
5.0.40.0040.0196.49
5.0.30.0060.0306.31
5.0.20.0060.0206.28
5.0.10.0040.0266.25
5.0.00.0030.0356.25
4.4.90.0030.0224.77
4.4.80.0040.0144.75
4.4.70.0020.0164.75
4.4.60.0010.0164.76
4.4.50.0040.0134.77
4.4.40.0010.0304.71
4.4.30.0010.0174.76
4.4.20.0030.0154.84
4.4.10.0020.0164.84
4.4.00.0020.0254.76
4.3.110.0060.0124.67
4.3.100.0050.0124.67
4.3.90.0030.0144.63
4.3.80.0030.0234.58
4.3.70.0040.0134.63
4.3.60.0010.0164.63
4.3.50.0010.0174.63
4.3.40.0010.0264.54
4.3.30.0010.0183.30
4.3.20.0010.0203.28
4.3.10.0020.0193.24
4.3.00.0000.01314.59

preferences:
43.58 ms | 400 KiB | 5 Q