3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Foo { public $property; } class Bar { use Foo; public $anotherProperty; } foreach ((new ReflectionClass(Bar::class))->getProperties() as $property) { var_dump($property->name); }

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.0120.00316.63
8.3.50.0200.00716.37
8.3.40.0080.00818.34
8.3.30.0040.01118.41
8.3.20.0000.00818.40
8.3.10.0040.00418.55
8.3.00.0040.00717.46
8.2.180.0030.01216.50
8.2.170.0220.00022.96
8.2.160.0060.00918.79
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0040.00420.96
8.2.110.0030.00622.25
8.2.100.0080.00421.18
8.2.90.0030.00617.50
8.2.80.0080.00018.61
8.2.70.0040.00417.63
8.2.60.0060.00317.50
8.2.50.0000.00817.38
8.2.40.0030.00619.23
8.2.30.0030.00617.52
8.2.20.0000.01017.54
8.2.10.0050.00317.59
8.2.00.0000.00717.50
8.1.280.0070.00725.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.83
8.1.230.0080.00319.23
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00717.00
8.1.190.0000.00817.22
8.1.180.0030.00518.10
8.1.170.0040.00417.62
8.1.160.0050.00518.51
8.1.150.0000.00718.55
8.1.140.0030.00517.29
8.1.130.0050.00217.38
8.1.120.0040.00417.38
8.1.110.0050.00217.25
8.1.100.0070.00017.30
8.1.90.0000.00717.45
8.1.80.0070.00017.26
8.1.70.0000.00717.35
8.1.60.0040.00417.40
8.1.50.0030.00617.30
8.1.40.0000.00817.34
8.1.30.0030.00617.42
8.1.20.0000.00817.54
8.1.10.0040.00417.48
8.1.00.0030.00617.24
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0080.00018.01
8.0.270.0070.00017.15
8.0.260.0030.00316.81
8.0.250.0020.00516.84
8.0.240.0040.00417.00
8.0.230.0000.00817.00
8.0.220.0000.00816.86
8.0.210.0050.00216.79
8.0.200.0040.00416.85
8.0.190.0000.00716.98
8.0.180.0000.00716.96
8.0.170.0030.00716.81
8.0.160.0050.00316.93
8.0.150.0040.00416.73
8.0.140.0000.00816.80
8.0.130.0000.00613.30
8.0.120.0030.00516.81
8.0.110.0000.00716.70
8.0.100.0040.00416.75
8.0.90.0040.00416.91
8.0.80.0100.00716.80
8.0.70.0000.00816.91
8.0.60.0030.00516.77
8.0.50.0020.00516.76
8.0.30.0090.00916.99
8.0.20.0050.01517.12
8.0.10.0050.00216.82
8.0.00.0120.00616.79
7.4.330.0060.00012.96
7.4.320.0030.00316.50
7.4.300.0070.00016.29
7.4.290.0000.00616.41
7.4.280.0030.00616.50
7.4.270.0060.00016.45
7.4.260.0000.00613.23
7.4.250.0030.00516.35
7.4.240.0070.00016.30
7.4.230.0030.00516.39
7.4.220.0070.01816.44
7.4.210.0070.01416.60
7.4.200.0000.00716.60
7.4.190.0040.00416.38
7.4.160.0040.01216.51
7.4.150.0110.00716.52
7.4.140.0090.01217.86
7.4.130.0150.00316.41
7.4.120.0100.00716.64
7.4.110.0100.01016.47
7.4.100.0120.00916.34
7.4.90.0070.01016.38
7.4.80.0050.01219.39
7.4.70.0040.01316.46
7.4.60.0080.00816.45
7.4.50.0000.00516.40
7.4.40.0090.00416.27
7.4.30.0080.00816.75
7.4.00.0040.01215.12
7.3.330.0000.00613.20
7.3.320.0000.00513.24
7.3.310.0070.00016.28
7.3.300.0040.00416.26
7.3.290.0040.01116.20
7.3.280.0100.00716.23
7.3.270.0070.01416.28
7.3.260.0210.00016.13
7.3.240.0110.00816.28
7.3.230.0090.00916.32
7.3.210.0090.01216.47
7.3.200.0060.01616.24
7.3.190.0070.01316.23
7.3.180.0060.01116.37
7.3.170.0030.01616.58
7.3.160.0080.00816.49
7.3.120.0030.01414.73
7.3.10.0130.00016.64
7.3.00.0030.01116.61
7.2.330.0100.00716.57
7.2.320.0140.00716.74
7.2.310.0110.00716.72
7.2.300.0050.01016.60
7.2.290.0180.00016.74
7.2.130.0070.00716.87
7.2.120.0000.01316.65
7.2.110.0070.00716.85
7.2.100.0040.01116.92
7.2.90.0100.00317.07
7.2.80.0040.01217.02
7.2.70.0030.01017.09
7.2.60.0030.00716.70
7.2.50.0030.01016.87
7.2.40.0110.00717.04
7.2.30.0060.00316.96
7.2.20.0030.01016.93
7.2.10.0030.01316.86
7.2.00.0020.01218.06
7.1.250.0030.01015.73
7.1.100.0100.00618.01
7.1.70.0000.00717.09
7.1.60.0090.01519.25
7.1.50.0110.01117.02
7.1.00.0030.07722.57
7.0.200.0040.00416.75
7.0.140.0000.07722.07
7.0.120.0070.07022.13
7.0.60.0070.08319.92
7.0.50.0130.06317.84
7.0.40.0100.08720.30
7.0.30.0330.06720.09
7.0.20.0270.04320.05
7.0.10.0130.07320.23
7.0.00.0130.04020.11
5.6.280.0070.07021.06
5.6.210.0100.07720.57
5.6.200.0030.06318.16
5.6.190.0100.04020.57
5.6.180.0470.07320.77
5.6.170.0270.08020.47
5.6.160.0070.07720.46
5.6.150.0100.08018.21
5.6.140.0070.08318.17
5.6.130.0030.09018.18
5.6.120.0100.07721.02
5.6.110.0030.04021.00
5.6.100.0070.09021.00
5.6.90.0030.04720.96
5.6.80.0030.07020.54
5.5.350.0100.07320.32
5.5.340.0130.05718.08
5.5.330.0030.06720.27
5.5.320.1230.03720.36
5.5.310.0330.03320.37
5.5.300.0030.08717.95
5.5.290.0070.04718.09
5.5.280.0130.07720.77
5.5.270.0170.06720.73
5.5.260.0030.06320.84
5.5.250.0200.07320.67
5.5.240.0070.07720.35
5.4.450.0170.04319.57
5.4.440.0230.05019.50
5.4.430.0230.08019.42
5.4.420.0200.04719.31
5.4.410.0270.04319.14
5.4.400.0200.05719.16
5.4.390.0200.06019.16
5.4.380.0270.03018.87
5.4.370.0330.05719.22
5.4.360.0200.03719.00
5.4.350.0130.04319.21
5.4.340.0270.07019.07
5.4.320.0230.04319.16
5.4.310.0200.05718.99
5.4.300.0230.04319.13
5.4.290.0200.03719.13
5.4.280.0270.03019.16
5.4.270.0300.06318.88
5.4.260.0230.04019.23
5.4.250.0230.07319.23
5.4.240.0270.03318.86
5.4.230.0270.03718.83
5.4.220.0130.05718.83
5.4.210.0130.04718.97
5.4.200.0330.06019.08
5.4.190.0230.06719.21
5.4.180.0330.06719.04
5.4.170.0300.06718.86
5.4.160.0300.05719.13
5.4.150.0270.04018.92
5.4.140.0270.06716.71
5.4.130.0270.06016.54
5.4.120.0300.06016.39
5.4.110.0300.06716.32
5.4.100.0330.06316.56
5.4.90.0230.04016.50
5.4.80.0230.04316.50
5.4.70.0300.06316.48
5.4.60.0270.02716.37
5.4.50.0230.05716.41
5.4.40.0200.06716.34
5.4.30.0230.04316.54
5.4.20.0270.06316.34
5.4.10.0230.04316.52
5.4.00.0230.04315.82
5.3.290.0300.07014.51
5.3.280.0300.06714.43
5.3.270.0230.07014.52
5.3.260.0270.07314.45
5.3.250.0270.06314.44
5.3.240.0300.07014.47
5.3.230.0200.05314.62
5.3.220.0230.07314.45
5.3.210.0300.04714.40
5.3.200.0300.07014.43
5.3.190.0330.05014.42
5.3.180.0300.06714.52
5.3.170.0230.04014.52
5.3.160.0370.06714.40
5.3.150.0300.07314.47
5.3.140.0330.06714.60
5.3.130.0270.04714.44
5.3.120.0300.07314.52
5.3.110.0300.07014.45
5.3.100.0200.05314.09
5.3.90.0330.06314.00
5.3.80.0300.06714.03
5.3.70.0300.05714.11
5.3.60.0270.07014.04
5.3.50.0300.06713.79
5.3.40.0300.04013.88
5.3.30.0370.04313.83
5.3.20.0400.05713.64
5.3.10.0300.02713.50
5.3.00.0200.03713.43
5.2.170.0300.02011.04
5.2.160.0230.04710.98
5.2.150.0470.02711.22
5.2.140.0170.06311.00
5.2.130.0200.05011.11
5.2.120.0300.02711.13
5.2.110.0170.03010.94
5.2.100.0200.03711.18
5.2.90.0200.03010.94
5.2.80.0470.01711.00
5.2.70.0200.06010.96
5.2.60.0230.04711.09
5.2.50.0200.06010.92
5.2.40.0370.04710.88
5.2.30.0170.04711.02
5.2.20.0170.02710.80
5.2.10.0170.02710.89
5.2.00.0230.05310.63
5.1.60.0070.0379.86
5.1.50.0170.04710.07
5.1.40.0130.0309.85
5.1.30.0170.03010.35
5.1.20.0170.06310.27
5.1.10.0200.05310.19
5.1.00.0130.02710.05
5.0.50.0100.0278.59
5.0.40.0030.0238.57
5.0.30.0100.0578.57
5.0.20.0070.0208.57
5.0.10.0070.0238.57
5.0.00.0070.0478.57
4.4.90.0070.0178.57
4.4.80.0100.0108.57
4.4.70.0130.0338.57
4.4.60.0030.0178.57
4.4.50.0030.0208.57
4.4.40.0100.0338.57
4.4.30.0070.0138.57
4.4.20.0170.0308.57
4.4.10.0100.0338.57
4.4.00.0130.0508.57
4.3.110.0070.0138.57
4.3.100.0070.0178.57
4.3.90.0100.0308.57
4.3.80.0070.0338.57
4.3.70.0070.0178.57
4.3.60.0070.0138.57
4.3.50.0100.0338.57
4.3.40.0070.0378.57
4.3.30.0030.0138.57
4.3.20.0070.0338.57
4.3.10.0000.0178.57
4.3.00.0030.0378.57

preferences:
49.07 ms | 401 KiB | 5 Q