3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static $bar = 5; } class Baz extends Foo { } var_dump(property_exists(new Foo(), 'bar')); var_dump(property_exists('Foo', 'bar')); var_dump(property_exists(new Bar(), 'bar')); var_dump(property_exists('Bar', '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.0040.01118.41
8.3.50.0150.00621.09
8.3.40.0070.00718.92
8.3.30.0040.01120.08
8.3.20.0080.00020.53
8.3.10.0050.00321.09
8.3.00.0080.00023.48
8.2.180.0100.00716.63
8.2.170.0170.00322.96
8.2.160.0070.00720.53
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0040.00420.84
8.2.110.0100.00019.39
8.2.100.0040.00717.78
8.2.90.0000.00719.07
8.2.80.0000.00817.97
8.2.70.0030.00617.46
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0000.00818.09
8.2.30.0070.00019.32
8.2.20.0040.00417.61
8.2.10.0000.00717.63
8.2.00.0030.00617.72
8.1.280.0070.01125.92
8.1.270.0030.00523.99
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0030.01422.23
8.1.230.0100.00021.03
8.1.220.0050.00318.77
8.1.210.0040.00818.95
8.1.200.0060.00617.22
8.1.190.0040.00417.41
8.1.180.0080.00018.10
8.1.170.0040.00418.72
8.1.160.0050.00218.64
8.1.150.0000.00818.50
8.1.140.0040.00417.20
8.1.130.0000.00717.87
8.1.120.0000.00717.25
8.1.110.0000.00717.23
8.1.100.0040.00417.33
8.1.90.0070.00017.30
8.1.80.0070.00017.21
8.1.70.0000.00717.17
8.1.60.0030.00617.49
8.1.50.0040.00417.40
8.1.40.0070.00417.47
8.1.30.0020.00517.56
8.1.20.0040.00417.61
8.1.10.0000.00817.55
8.1.00.0020.00517.41
8.0.300.0000.00719.78
8.0.290.0030.00517.04
8.0.280.0050.00218.39
8.0.270.0000.00717.08
8.0.260.0030.00316.76
8.0.250.0040.00417.00
8.0.240.0000.00716.97
8.0.230.0030.00316.87
8.0.220.0000.00716.98
8.0.210.0000.00716.90
8.0.200.0070.00016.82
8.0.190.0000.00716.84
8.0.180.0070.00016.98
8.0.170.0080.00016.88
8.0.160.0040.00416.90
8.0.150.0040.00316.92
8.0.140.0040.00416.87
8.0.130.0000.00613.26
8.0.120.0040.00416.82
8.0.110.0040.00416.76
8.0.100.0000.00716.91
8.0.90.0040.00416.77
8.0.80.0070.00816.90
8.0.70.0040.00416.84
8.0.60.0040.00416.72
8.0.50.0000.00716.77
8.0.30.0070.01116.90
8.0.20.0110.01017.40
8.0.10.0050.00216.75
8.0.00.0040.01516.62
7.4.330.0030.00316.79
7.4.320.0000.00716.53
7.4.300.0040.00416.34
7.4.290.0030.00516.39
7.4.280.0040.00416.45
7.4.270.0000.00616.45
7.4.260.0000.00613.25
7.4.250.0000.00716.46
7.4.240.0000.00716.53
7.4.230.0030.00516.57
7.4.220.0120.01216.62
7.4.210.0080.00716.54
7.4.200.0040.00416.54
7.4.190.0040.00416.48
7.4.160.0150.00616.70
7.4.150.0130.00817.40
7.4.140.0180.00317.86
7.4.130.0130.00516.38
7.4.120.0130.00316.58
7.4.110.0070.01116.59
7.4.100.0060.01116.48
7.4.90.0100.01016.65
7.4.80.0030.01519.39
7.4.70.0110.00616.53
7.4.60.0120.00416.34
7.4.50.0040.00416.72
7.4.40.0070.00722.77
7.4.30.0080.00816.59
7.4.00.0040.01215.11
7.3.330.0050.00013.25
7.3.320.0030.00313.15
7.3.310.0050.00316.30
7.3.300.0030.00316.18
7.3.290.0110.00816.30
7.3.280.0110.00916.29
7.3.270.0150.00317.40
7.3.260.0070.01118.24
7.3.250.0090.01116.30
7.3.240.0070.01016.64
7.3.230.0130.00616.41
7.3.210.0100.00716.22
7.3.200.0080.01419.39
7.3.190.0160.00616.41
7.3.180.0090.00916.41
7.3.170.0100.01016.30
7.3.160.0150.00316.41
7.3.120.0100.00614.78
7.3.10.0070.00816.43
7.3.00.0060.00816.45
7.2.330.0060.01216.55
7.2.320.0030.01516.59
7.2.310.0120.00616.67
7.2.300.0100.00716.67
7.2.290.0080.00816.68
7.2.130.0080.00716.61
7.2.120.0060.00916.61
7.2.110.0060.00916.52
7.2.100.0070.00816.74
7.2.90.0050.00916.77
7.2.80.0070.00816.71
7.2.70.0080.00516.52
7.2.60.0090.00516.58
7.2.50.0050.01016.54
7.2.40.0070.01016.61
7.2.30.0070.00816.71
7.2.20.0070.01016.59
7.2.10.0050.01216.74
7.2.00.0040.01117.46
7.1.250.0060.00615.63
7.1.240.0040.01115.43
7.1.230.0060.00315.50
7.1.220.0150.00015.25
7.1.210.0130.00015.79
7.1.200.0070.00715.62
7.1.190.0030.00615.43
7.1.180.0130.00315.71
7.1.170.0030.01015.58
7.1.160.0130.00015.60
7.1.150.0030.00915.44
7.1.140.0040.00415.85
7.1.130.0050.00515.71
7.1.120.0040.00815.66
7.1.110.0110.00415.71
7.1.100.0020.01216.84
7.1.90.0070.01015.71
7.1.80.0060.01015.62
7.1.70.0020.00916.29
7.1.60.0040.00917.47
7.1.50.0070.01216.15
7.1.40.0070.00615.53
7.1.30.0070.00715.33
7.1.20.0000.01415.76
7.1.10.0090.00915.71
7.1.00.0030.02018.91
7.0.330.0110.00415.18
7.0.320.0000.01315.04
7.0.310.0090.00615.24
7.0.300.0040.01115.12
7.0.290.0000.01515.16
7.0.280.0040.01115.05
7.0.270.0030.00615.27
7.0.260.0090.00615.16
7.0.250.0000.01015.24
7.0.240.0070.01114.89
7.0.230.0090.00615.27
7.0.220.0070.01014.98
7.0.210.0030.00915.21
7.0.200.0050.00515.96
7.0.190.0030.00615.29
7.0.180.0080.00515.16
7.0.170.0110.00415.36
7.0.160.0040.01115.16
7.0.150.0050.00515.22
7.0.140.0050.03818.71
7.0.130.0060.00315.21
7.0.120.0070.00714.91
7.0.110.0000.01414.84
7.0.100.0050.04717.56
7.0.90.0040.03417.63
7.0.80.0050.04517.59
7.0.70.0050.04517.60
7.0.60.0020.04217.75
7.0.50.0090.03517.62
7.0.40.0050.04216.64
7.0.30.0050.02616.76
7.0.20.0120.04216.65
7.0.10.0050.04416.74
7.0.00.0100.04216.72
5.6.380.0060.00914.12
5.6.370.0070.00314.27
5.6.360.0030.01114.03
5.6.350.0050.00514.03
5.6.340.0060.00614.15
5.6.330.0070.00714.17
5.6.320.0060.00914.01
5.6.310.0140.00014.07
5.6.300.0030.00714.04
5.6.290.0070.00713.98
5.6.280.0050.03917.45
5.6.270.0070.00714.07
5.6.260.0070.00714.43
5.6.250.0070.04517.28
5.6.240.0110.04117.33
5.6.230.0020.04517.47
5.6.220.0030.03617.50
5.6.210.0050.04617.50
5.6.200.0100.03117.75
5.6.190.0080.04517.64
5.6.180.0110.02317.54
5.6.170.0070.04517.49
5.6.160.0120.04017.58
5.6.150.0100.02717.63
5.6.140.0080.03517.67
5.6.130.0080.04317.73
5.6.120.0100.03017.49
5.6.110.0080.04017.50
5.6.100.0060.04117.73
5.6.90.0080.04317.48
5.6.80.0070.04017.36
5.6.70.0030.04217.17
5.6.60.0030.04717.32
5.6.50.0040.04317.35
5.6.40.0060.04617.21
5.6.30.0080.03817.32
5.6.20.0080.04017.26
5.6.10.0050.04517.39
5.6.00.0100.03917.30
5.5.380.0020.04516.02
5.5.370.0100.03716.10
5.5.360.0030.03516.02
5.5.350.0070.04416.03
5.5.340.0030.04216.14
5.5.330.0050.04516.21
5.5.320.0070.04416.24
5.5.310.0070.02816.14
5.5.300.0070.04216.28
5.5.290.0050.04416.23
5.5.280.0080.04516.25
5.5.270.0030.05016.24
5.5.260.0150.03516.25
5.5.250.0060.03916.14
5.5.240.0120.03915.88
5.5.230.0070.03815.97
5.5.220.0030.04115.92
5.5.210.0060.02915.95
5.5.200.0020.04515.88
5.5.190.0080.03915.94
5.5.180.0080.03815.87
5.5.170.0060.00311.64
5.5.160.0070.04015.87
5.5.150.0050.03715.87
5.5.140.0030.03715.93
5.5.130.0030.04015.93
5.5.120.0080.04115.93
5.5.110.0090.03715.87
5.5.100.0050.04015.82
5.5.90.0050.04115.85
5.5.80.0070.03615.82
5.5.70.0060.03915.78
5.5.60.0030.03815.88
5.5.50.0070.03015.85
5.5.40.0020.02415.87
5.5.30.0040.02315.82
5.5.20.0000.02815.89
5.5.10.0040.03215.84
5.5.00.0080.03515.88
5.4.450.0060.04315.43
5.4.440.0100.03815.60
5.4.430.0050.02515.42
5.4.420.0080.04215.56
5.4.410.0030.03115.51
5.4.400.0050.04215.44
5.4.390.0040.03915.39
5.4.380.0070.03715.39
5.4.370.0110.03815.34
5.4.360.0050.04115.37
5.4.350.0080.03815.39
5.4.340.0050.04115.26
5.4.330.0000.00811.64
5.4.320.0070.03415.39
5.4.310.0130.03315.37
5.4.300.0120.03515.42
5.4.290.0030.03715.41
5.4.280.0050.04015.27
5.4.270.0060.03315.40
5.4.260.0080.03815.41
5.4.250.0080.02315.33
5.4.240.0070.03415.34
5.4.230.0030.02315.41
5.4.220.0050.02515.38
5.4.210.0050.02215.38
5.4.200.0050.04015.43
5.4.190.0030.03815.36
5.4.180.0110.02815.33
5.4.170.0020.02815.36
5.4.160.0070.02115.26
5.4.150.0080.02815.40
5.4.140.0020.02813.99
5.4.130.0030.02814.05
5.4.120.0020.04114.01
5.4.110.0120.02314.00
5.4.100.0060.03814.06
5.4.90.0020.04013.98
5.4.80.0070.02214.05
5.4.70.0050.02014.05
5.4.60.0030.04113.99
5.4.50.0030.04214.00
5.4.40.0030.03914.00
5.4.30.0080.03813.97
5.4.20.0050.03513.98
5.4.10.0040.02314.06
5.4.00.0080.03413.75
5.3.290.0090.03613.14
5.3.280.0030.03913.13
5.3.270.0020.02613.10
5.3.260.0030.02313.19
5.3.250.0050.02813.13
5.3.240.0070.02813.09
5.3.230.0080.03913.18
5.3.220.0050.04013.13
5.3.210.0050.02113.13
5.3.200.0010.04113.09
5.3.190.0130.03313.09
5.3.180.0020.04113.11
5.3.170.0120.03513.16
5.3.160.0060.03913.15
5.3.150.0080.03513.13
5.3.140.0090.03213.15
5.3.130.0050.03813.09
5.3.120.0060.03913.14
5.3.110.0030.04113.15
5.3.100.0030.02912.82
5.3.90.0070.01712.83
5.3.80.0030.03212.78
5.3.70.0060.02012.84
5.3.60.0050.02012.81
5.3.50.0090.01712.79
5.3.40.0050.02512.74
5.3.30.0060.03312.77
5.3.20.0030.02512.66
5.3.10.0030.03512.59
5.3.00.0030.03312.63
5.2.170.0000.02311.35
5.2.160.0070.03011.44
5.2.150.0010.01811.33
5.2.140.0080.01311.46
5.2.130.0030.03111.40
5.2.120.0080.02711.44
5.2.110.0020.02411.32
5.2.100.0020.03511.38
5.2.90.0050.03111.38
5.2.80.0090.03011.43
5.2.70.0070.02911.32
5.2.60.0030.03511.28
5.2.50.0050.02711.27
5.2.40.0070.03011.24
5.2.30.0060.02911.37
5.2.20.0030.03011.25
5.2.10.0020.02211.26
5.2.00.0020.02311.23
5.1.60.0040.02710.74
5.1.50.0030.03110.82
5.1.40.0060.02710.86
5.1.30.0060.02010.92
5.1.20.0030.02811.05
5.1.10.0050.02310.85
5.1.00.0030.01810.88
5.0.50.0010.01410.02
5.0.40.0000.01710.05
5.0.30.0030.0249.86
5.0.20.0000.0149.95
5.0.10.0040.0229.94
5.0.00.0000.0349.94
4.4.90.0050.0109.86
4.4.80.0030.0189.86
4.4.70.0070.0169.86
4.4.60.0000.0229.86
4.4.50.0000.0139.86
4.4.40.0020.0239.86
4.4.30.0030.0199.86
4.4.20.0020.0229.86
4.4.10.0020.0109.86
4.4.00.0050.0269.86
4.3.110.0020.0139.86
4.3.100.0020.0089.86
4.3.90.0000.0139.86
4.3.80.0020.0289.86
4.3.70.0020.0209.86
4.3.60.0010.0199.86
4.3.50.0010.0239.86
4.3.40.0020.0289.86
4.3.30.0020.0139.86
4.3.20.0020.0189.86
4.3.10.0020.0139.86
4.3.00.0010.0169.86

preferences:
49.99 ms | 401 KiB | 5 Q