3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $a_a; protected $a_p; protected static $a_s; } class B extends A { protected $b_p; public static $b_s; } $ref = new ReflectionClass('B'); foreach ($ref->getProperties(256) as $prop) { print $prop->getName() . "\n"; }

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.01118.50
8.3.30.0090.00620.17
8.3.20.0040.00420.34
8.3.10.0030.00521.96
8.3.00.0050.00322.27
8.2.170.0110.00722.96
8.2.160.0070.01322.05
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00020.64
8.2.110.0080.00319.30
8.2.100.0000.01118.17
8.2.90.0040.00419.05
8.2.80.0020.00519.28
8.2.70.0080.00017.50
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0000.00818.19
8.2.30.0050.00319.43
8.2.20.0030.00517.64
8.2.10.0070.00017.68
8.2.00.0040.00417.55
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0000.01023.96
8.1.230.0040.00820.85
8.1.220.0040.00418.77
8.1.210.0030.00619.17
8.1.200.0000.00817.36
8.1.190.0060.00317.50
8.1.180.0030.00518.10
8.1.170.0000.00718.55
8.1.160.0000.00718.84
8.1.150.0050.00318.55
8.1.140.0080.00017.50
8.1.130.0000.00817.82
8.1.120.0000.00717.49
8.1.110.0080.00017.45
8.1.100.0000.00717.38
8.1.90.0050.00317.45
8.1.80.0040.00417.38
8.1.70.0000.00817.36
8.1.60.0030.00517.59
8.1.50.0000.00817.57
8.1.40.0110.00317.42
8.1.30.0000.00817.58
8.1.20.0030.00617.69
8.1.10.0040.00417.51
8.1.00.0000.00817.46
8.0.300.0050.00319.88
8.0.290.0040.00417.05
8.0.280.0000.00718.44
8.0.270.0000.00717.19
8.0.260.0060.00316.86
8.0.250.0040.00416.89
8.0.240.0110.00016.97
8.0.230.0000.00716.98
8.0.220.0040.00416.88
8.0.210.0000.00816.91
8.0.200.0030.00316.84
8.0.190.0040.00416.92
8.0.180.0040.00416.89
8.0.170.0030.00616.82
8.0.160.0030.00316.75
8.0.150.0040.00416.89
8.0.140.0050.00316.87
8.0.130.0050.00013.25
8.0.120.0080.00016.91
8.0.110.0040.00416.95
8.0.100.0000.00816.77
8.0.90.0000.00716.91
8.0.80.0030.01216.84
8.0.70.0080.00016.78
8.0.60.0020.00516.88
8.0.50.0030.00516.93
8.0.30.0090.01416.98
8.0.20.0130.00717.40
8.0.10.0000.00717.02
8.0.00.0150.00316.73
7.4.330.0050.00016.81
7.4.320.0040.00416.41
7.4.300.0070.00016.53
7.4.290.0060.00016.62
7.4.280.0000.00616.41
7.4.270.0060.00016.61
7.4.260.0050.00013.27
7.4.250.0000.00816.55
7.4.240.0040.00416.56
7.4.230.0000.00716.60
7.4.220.0030.01916.43
7.4.210.0100.00516.58
7.4.200.0000.00816.71
7.4.190.0030.00516.57
7.4.160.0120.00916.32
7.4.150.0070.01017.40
7.4.140.0090.00717.86
7.4.130.0080.00916.31
7.4.120.0080.00916.46
7.4.110.0070.01016.30
7.4.100.0060.01116.45
7.4.90.0090.00916.55
7.4.80.0030.01519.39
7.4.70.0070.01016.27
7.4.60.0030.01216.46
7.4.50.0040.00416.54
7.4.40.0030.01022.77
7.4.30.0090.01216.67
7.4.10.0030.00714.88
7.4.00.0050.01215.04
7.3.330.0050.00013.21
7.3.320.0000.00513.07
7.3.310.0030.00316.13
7.3.300.0070.00016.31
7.3.290.0030.01016.22
7.3.280.0080.01016.25
7.3.270.0110.00617.40
7.3.260.0140.00916.26
7.3.250.0130.00616.48
7.3.240.0120.01016.40
7.3.230.0080.00816.39
7.3.210.0090.00916.31
7.3.200.0030.01619.39
7.3.190.0110.00816.44
7.3.180.0080.00816.46
7.3.170.0080.00816.27
7.3.160.0050.01016.26
7.3.130.0080.01114.63
7.3.120.0070.00815.00
7.3.110.0100.01014.96
7.3.100.0110.00414.76
7.3.90.0090.00614.40
7.3.80.0000.01114.79
7.3.70.0090.00314.60
7.3.60.0060.00614.57
7.3.50.0070.00714.73
7.3.40.0030.01014.75
7.3.30.0060.00914.58
7.3.20.0090.00616.50
7.3.10.0060.00616.63
7.3.00.0080.00416.41
7.2.330.0180.00316.84
7.2.320.0090.01316.52
7.2.310.0130.00316.74
7.2.300.0030.01316.67
7.2.290.0090.01216.58
7.2.260.0110.00614.79
7.2.250.0030.01614.70
7.2.240.0000.01615.31
7.2.230.0030.01015.22
7.2.220.0030.00714.78
7.2.210.0090.00615.13
7.2.200.0080.00415.06
7.2.190.0070.00714.98
7.2.180.0040.01214.82
7.2.170.0000.01315.12
7.2.160.0030.01315.01
7.2.150.0060.00616.88
7.2.140.0040.01417.02
7.2.130.0110.00016.64
7.2.120.0110.00716.96
7.2.110.0080.00816.55
7.2.100.0070.00716.93
7.2.90.0000.01316.92
7.2.80.0070.01016.98
7.2.70.0110.00316.96
7.2.60.0090.00316.97
7.2.50.0000.00916.95
7.2.40.0090.00317.08
7.2.30.0120.00316.97
7.2.20.0040.00816.66
7.2.10.0000.01016.87
7.2.00.0070.00618.17
7.1.330.0030.01015.92
7.1.320.0060.00615.64
7.1.310.0030.01015.34
7.1.300.0070.00715.36
7.1.290.0030.00715.43
7.1.280.0030.01015.73
7.1.270.0060.00615.77
7.1.260.0040.01115.44
7.1.250.0000.01115.52
7.1.240.0060.00915.61
7.1.230.0070.00715.79
7.1.220.0070.00715.63
7.1.210.0000.01415.51
7.1.200.0000.01315.73
7.1.190.0060.00615.46
7.1.180.0030.01015.54
7.1.170.0070.00715.84
7.1.160.0090.00615.69
7.1.150.0080.00615.75
7.1.140.0000.01115.62
7.1.130.0030.00815.52
7.1.120.0040.00415.47
7.1.110.0040.00715.74
7.1.100.0060.00816.84
7.1.90.0040.01115.65
7.1.80.0030.01315.63
7.1.70.0050.00616.49
7.1.60.0070.01017.40
7.1.50.0100.00516.20
7.1.40.0130.00015.58
7.1.30.0100.00315.62
7.1.20.0070.01015.71
7.1.10.0060.00915.32
7.1.00.0030.02118.89
7.0.330.0070.00715.19
7.0.320.0100.00315.32
7.0.310.0060.00615.15
7.0.300.0070.00715.34
7.0.290.0040.00815.42
7.0.280.0050.00815.54
7.0.270.0040.00815.34
7.0.260.0070.00715.31
7.0.250.0030.01315.33
7.0.240.0090.00615.24
7.0.230.0030.00915.36
7.0.220.0070.00715.22
7.0.210.0090.00615.08
7.0.200.0090.00215.93
7.0.190.0060.00915.42
7.0.180.0000.01415.22
7.0.170.0000.01115.14
7.0.160.0080.00615.45
7.0.150.0030.01015.13
7.0.140.0050.04018.67
7.0.130.0060.00615.26
7.0.120.0000.01115.25
7.0.110.0050.04017.52
7.0.100.0080.04217.63
7.0.90.0050.04817.63
7.0.80.0290.02117.64
7.0.70.0060.02517.67
7.0.60.0350.02317.75
7.0.50.0100.04717.72
7.0.40.0020.03416.63
7.0.30.0080.03716.41
7.0.20.0030.02416.43
7.0.10.0070.04216.43
7.0.00.0050.04216.57
5.6.400.0040.00714.43
5.6.390.0060.01214.55
5.6.380.0000.01514.29
5.6.370.0060.00614.34
5.6.360.0040.00814.29
5.6.350.0040.01114.46
5.6.340.0030.00814.58
5.6.330.0000.01414.57
5.6.320.0060.00814.11
5.6.310.0030.01014.63
5.6.300.0110.00414.15
5.6.290.0100.00314.07
5.6.280.0050.04017.72
5.6.270.0040.00714.40
5.6.260.0040.03117.64
5.6.250.0020.03617.51
5.6.240.0050.04517.53
5.6.230.0050.04517.55
5.6.220.0070.02817.52
5.6.210.0080.02717.50
5.6.200.0070.03317.42
5.6.190.0100.03717.54
5.6.180.0030.02617.44
5.6.170.0060.03317.44
5.6.160.0050.04417.45
5.6.150.0070.04317.53
5.6.140.0030.04217.33
5.6.130.0030.03817.51
5.6.120.0080.02017.39
5.6.110.0030.02317.47
5.6.100.0100.03317.47
5.6.90.0050.04517.43
5.6.80.0020.05017.18
5.6.70.0090.02017.08
5.6.60.0070.02616.99
5.6.50.0030.02717.08
5.6.40.0050.02317.06
5.6.30.0100.03217.12
5.6.20.0070.04017.02
5.6.10.0090.02217.01
5.6.00.0090.04017.14
5.5.380.0090.04415.92
5.5.370.0030.02515.90
5.5.360.0090.04216.12
5.5.350.0100.02315.76
5.5.340.0100.04016.13
5.5.330.0060.02316.04
5.5.320.0060.03316.10
5.5.310.0070.02215.97
5.5.300.0080.01916.27
5.5.290.0030.02516.08
5.5.280.0050.03416.11
5.5.270.0020.02615.97
5.5.260.0050.04316.33
5.5.250.0040.02915.96
5.5.240.0030.04215.85
5.5.230.0080.03815.89
5.5.220.0060.04215.64
5.5.210.0030.03515.84
5.5.200.0020.04015.71
5.5.190.0060.02815.90
5.5.180.0080.02015.89
5.5.170.0060.00813.94
5.5.160.0130.02415.61
5.5.150.0080.03816.02
5.5.140.0050.02815.87
5.5.130.0060.02015.68
5.5.120.0050.02315.74
5.5.110.0030.03915.92
5.5.100.0030.02515.70
5.5.90.0050.03315.77
5.5.80.0030.02915.81
5.5.70.0070.03215.73
5.5.60.0100.02715.71
5.5.50.0030.02715.62
5.5.40.0050.02515.64
5.5.30.0030.03015.83
5.5.20.0040.03015.93
5.5.10.0070.02015.61
5.5.00.0020.03915.49
5.4.450.0050.04315.20
5.4.440.0060.02115.28
5.4.430.0070.04315.39
5.4.420.0050.03515.21
5.4.410.0050.03815.22
5.4.400.0030.03914.90
5.4.390.0070.02514.98
5.4.380.0060.03715.17
5.4.370.0060.02615.18
5.4.360.0080.03615.18
5.4.350.0090.02315.03
5.4.340.0070.02115.18
5.4.330.0070.00010.73
5.4.320.0060.03314.98
5.4.310.0050.03214.85
5.4.300.0050.04215.20
5.4.290.0090.03315.03
5.4.280.0060.03415.11
5.4.270.0080.02815.13
5.4.260.0110.03515.20
5.4.250.0140.02815.00
5.4.240.0100.01814.95
5.4.230.0030.02915.08
5.4.220.0100.02015.05
5.4.210.0020.04215.12
5.4.200.0030.02315.11
5.4.190.0080.02015.03
5.4.180.0020.03415.07
5.4.170.0050.04514.90
5.4.160.0070.02814.96
5.4.150.0050.03915.08
5.4.140.0020.04213.79
5.4.130.0080.03513.58
5.4.120.0050.03913.70
5.4.110.0080.03513.82
5.4.100.0020.04213.84
5.4.90.0050.02513.71
5.4.80.0060.02413.81
5.4.70.0120.03213.61
5.4.60.0030.02213.80
5.4.50.0000.02713.65
5.4.40.0050.04113.84
5.4.30.0100.02713.60
5.4.20.0050.02713.82
5.4.10.0070.02513.64
5.4.00.0090.01813.46
5.3.290.0070.02412.66
5.3.280.0070.04012.61
5.3.270.0050.02812.59
5.3.260.0020.04612.74
5.3.250.0040.02412.50
5.3.240.0060.02812.55
5.3.230.0000.04712.57
5.3.220.0080.02312.48
5.3.210.0060.02112.43
5.3.200.0060.04112.42
5.3.190.0040.01812.57
5.3.180.0070.03612.58
5.3.170.0020.02812.65
5.3.160.0080.02012.55
5.3.150.0070.02212.60
5.3.140.0080.03512.54
5.3.130.0030.02512.41
5.3.120.0050.04012.55
5.3.110.0060.02812.59
5.3.100.0050.03212.37
5.3.90.0030.03512.42
5.3.80.0030.02712.27
5.3.70.0050.04112.27
5.3.60.0050.02312.37
5.3.50.0060.02312.24
5.3.40.0020.02312.20
5.3.30.0020.03612.19
5.3.20.0060.01812.01
5.3.10.0060.03511.94
5.3.00.0030.02711.87
5.2.170.0000.04711.95
5.2.160.0100.05711.95
5.2.150.0100.05711.95
5.2.140.0070.05011.95
5.2.130.0070.05011.95
5.2.120.0030.06011.95
5.2.110.0070.05011.95
5.2.100.0070.04011.95
5.2.90.0000.03711.95
5.2.80.0030.04011.95
5.2.70.0100.06011.95
5.2.60.0030.03711.95
5.2.50.0030.06011.95
5.2.40.0000.03011.95
5.2.30.0030.03311.95
5.2.20.0070.03011.95
5.2.10.0000.03711.95
5.2.00.0030.06311.95
5.1.60.0070.03311.95
5.1.50.0100.02711.95
5.1.40.0030.04311.95
5.1.30.0000.05711.95
5.1.20.0000.03011.95
5.1.10.0100.05011.95
5.1.00.0100.05011.95
5.0.50.0030.04711.95
5.0.40.0030.05011.95
5.0.30.0000.06311.95
5.0.20.0000.04711.95
5.0.10.0070.04011.95
5.0.00.0000.03711.95
4.4.90.0000.01711.95
4.4.80.0000.03011.95
4.4.70.0030.01711.95
4.4.60.0070.01311.95
4.4.50.0030.01711.95
4.4.40.0030.03311.95
4.4.30.0030.01711.95
4.4.20.0030.03011.95
4.4.10.0000.02011.95
4.4.00.0030.03011.95
4.3.110.0000.03711.95
4.3.100.0030.02711.95
4.3.90.0030.03311.95
4.3.80.0000.03011.95
4.3.70.0030.03011.95
4.3.60.0070.01011.95
4.3.50.0030.01711.95
4.3.40.0000.02711.95
4.3.30.0000.02011.95
4.3.20.0000.01711.95
4.3.10.0000.02011.95
4.3.00.0000.01711.95

preferences:
49.71 ms | 400 KiB | 5 Q