3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function a() { $this->foo = 'bar'; } } $c = new A(); $reflect = new ReflectionClass($foo); $props = $reflect->getProperties(); var_dump($props); $c->a(); $reflect = new ReflectionClass($foo); $props = $reflect->getProperties(); var_dump($props);

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.01116.63
8.3.50.0130.00817.39
8.3.40.0130.00318.71
8.3.30.0040.01218.79
8.3.20.0060.00318.73
8.3.10.0030.00620.70
8.3.00.0080.00019.26
8.2.180.0170.00318.54
8.2.170.0070.00722.96
8.2.160.0070.01718.79
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0030.00620.54
8.2.110.0060.00320.39
8.2.100.0080.00317.91
8.2.90.0040.00418.87
8.2.80.0060.00319.38
8.2.70.0060.00317.50
8.2.60.0050.00317.80
8.2.50.0000.00818.07
8.2.40.0050.00218.22
8.2.30.0000.00817.86
8.2.20.0000.00819.46
8.2.10.0040.00417.56
8.2.00.0040.00417.74
8.1.280.0090.00625.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0080.00423.73
8.1.230.0070.00420.94
8.1.220.0030.00518.77
8.1.210.0050.00319.09
8.1.200.0000.00917.23
8.1.190.0040.00417.51
8.1.180.0040.00418.10
8.1.170.0000.00718.75
8.1.160.0000.00718.84
8.1.150.0000.00718.56
8.1.140.0050.00317.38
8.1.130.0000.00717.75
8.1.120.0040.00417.34
8.1.110.0070.00017.29
8.1.100.0040.00417.29
8.1.90.0080.00017.28
8.1.80.0050.00317.41
8.1.70.0030.00317.29
8.1.60.0060.00317.39
8.1.50.0030.00517.45
8.1.40.0050.00217.41
8.1.30.0000.00817.58
8.1.20.0060.00317.51
8.1.10.0020.00517.45
8.1.00.0040.00417.41
8.0.300.0000.00819.86
8.0.290.0000.00716.63
8.0.280.0000.00818.38
8.0.270.0000.00717.21
8.0.260.0030.00316.82
8.0.250.0040.00416.96
8.0.240.0000.00716.86
8.0.230.0070.00016.87
8.0.220.0030.00316.90
8.0.210.0000.00716.88
8.0.200.0000.00616.91
8.0.190.0030.00316.93
8.0.180.0000.00716.83
8.0.170.0030.00616.84
8.0.160.0040.00416.89
8.0.150.0030.00716.75
8.0.140.0070.00416.84
8.0.130.0000.00513.32
8.0.120.0040.00416.81
8.0.110.0070.00016.74
8.0.100.0000.00716.96
8.0.90.0050.00216.83
8.0.80.0130.00916.94
8.0.70.0070.00016.88
8.0.60.0050.00216.93
8.0.50.0030.00616.91
8.0.30.0030.01417.04
8.0.20.0110.01117.06
8.0.10.0030.00617.10
8.0.00.0050.01316.76
7.4.330.0000.00512.89
7.4.320.0000.00616.45
7.4.300.0060.00016.52
7.4.290.0000.00616.41
7.4.280.0040.00416.54
7.4.270.0000.00616.56
7.4.260.0030.00313.29
7.4.250.0000.00716.39
7.4.240.0000.00716.43
7.4.230.0030.00516.58
7.4.220.0070.01016.54
7.4.210.0090.00616.50
7.4.200.0040.00416.50
7.4.190.0040.00416.77
7.4.160.0030.01216.48
7.4.150.0070.01016.43
7.4.140.0060.01216.45
7.4.130.0090.00916.36
7.4.120.0190.00016.56
7.4.110.0130.00616.60
7.4.100.0070.01116.45
7.4.90.0070.01016.64
7.4.80.0120.01019.39
7.4.70.0210.00616.56
7.4.60.0070.01116.47
7.4.50.0030.00516.25
7.4.40.0070.00716.38
7.4.30.0090.00616.27
7.4.00.0090.00314.96
7.3.330.0030.00313.20
7.3.320.0000.00613.36
7.3.310.0070.00016.23
7.3.300.0030.00316.43
7.3.290.0070.00716.31
7.3.280.0060.00916.37
7.3.270.0110.00916.54
7.3.260.0070.01116.44
7.3.250.0090.00916.43
7.3.240.0090.00916.36
7.3.230.0040.01316.41
7.3.210.0070.01016.23
7.3.200.0090.01516.37
7.3.190.0100.00716.52
7.3.180.0160.00616.44
7.3.170.0150.00316.23
7.3.160.0060.00916.24
7.3.120.0030.01014.88
7.2.330.0150.00316.64
7.2.320.0030.01316.39
7.2.310.0030.01316.68
7.2.300.0130.01016.74
7.2.290.0150.00916.59
7.2.60.0080.00816.75
7.2.00.0100.00319.16
7.1.200.0070.00715.88
7.1.100.0040.00718.24
7.1.70.0040.00417.23
7.1.60.0090.01319.30
7.1.50.0030.01616.70
7.1.00.0000.08022.53
7.0.200.0140.00314.93
7.0.140.0070.06321.99
7.0.120.0000.07722.04
7.0.60.0030.04019.79
7.0.50.0130.04317.87
7.0.40.0230.07720.25
7.0.30.0200.08320.52
7.0.20.0100.05320.18
7.0.10.0300.07320.30
7.0.00.0300.07320.10
5.6.280.0030.07020.81
5.6.210.0030.04020.60
5.6.200.0030.08718.20
5.6.190.0270.05720.52
5.6.180.0200.07320.55
5.6.170.0130.07020.57
5.6.160.0130.07020.41
5.6.150.0230.07720.41
5.6.140.0130.05320.40
5.6.130.0400.06020.18
5.6.120.0270.08320.34
5.6.110.0270.04720.43
5.6.100.0270.05320.20
5.6.90.0230.06720.48
5.6.80.0300.06319.73
5.6.70.0270.07319.71
5.6.60.0130.04319.88
5.6.50.0230.04319.82
5.6.40.0200.07719.70
5.6.30.0100.07319.77
5.6.20.0300.07319.69
5.6.10.0270.07719.53
5.6.00.0200.05719.75
5.5.350.0170.03020.31
5.5.340.0030.04317.98
5.5.330.0300.07320.28
5.5.320.0300.07720.41
5.5.310.0230.05720.43
5.5.300.0270.08020.00
5.5.290.0200.05019.99
5.5.280.0370.06020.21
5.5.270.0200.05020.29
5.5.260.0200.07320.16
5.5.250.0370.06719.98
5.5.240.0200.07019.36
5.5.230.0200.08019.41
5.5.220.0200.04719.67
5.5.210.0230.05319.51
5.5.200.0230.06319.34
5.5.190.0170.04319.35
5.5.180.0230.03719.36
5.5.160.0170.04019.48
5.5.150.0200.04719.34
5.5.140.0200.04019.28
5.5.130.0270.07319.59
5.5.120.0200.06319.32
5.5.110.0230.06719.66
5.5.100.0200.07019.36
5.5.90.0130.04319.24
5.5.80.0270.07019.37
5.5.70.0230.07019.27
5.5.60.0200.03719.22
5.5.50.0230.05719.36
5.5.40.0230.06019.52
5.5.30.0300.06719.46
5.5.20.0230.05319.32
5.5.10.0230.07719.52
5.5.00.0130.05719.35
5.4.450.0200.05319.21
5.4.440.0300.07319.47
5.4.430.0230.07319.40
5.4.420.0130.08319.30
5.4.410.0270.05019.40
5.4.400.0170.06319.12
5.4.390.0130.04719.15
5.4.380.0330.04319.20
5.4.370.0230.05718.98
5.4.360.0170.07718.98
5.4.350.0270.06019.01
5.4.340.0270.07718.95
5.4.320.0170.05018.88
5.4.310.0270.06719.22
5.4.300.0170.04019.24
5.4.290.0230.04019.15
5.4.280.0230.04319.11
5.4.270.0230.04718.92
5.4.260.0300.05019.16
5.4.250.0230.03319.23
5.4.240.0270.07319.14
5.4.230.0200.04019.23
5.4.220.0200.04719.24
5.4.210.0330.06018.87
5.4.200.0270.07319.14
5.4.190.0270.04319.10
5.4.180.0270.05019.23
5.4.170.0200.05718.92
5.4.160.0200.04019.09
5.4.150.0270.06718.96
5.4.140.0130.05716.31
5.4.130.0130.04316.37
5.4.120.0170.04016.50
5.4.110.0200.04016.39
5.4.100.0170.04016.43
5.4.90.0130.04016.43
5.4.80.0200.05316.52
5.4.70.0230.04016.35
5.4.60.0170.07716.29
5.4.50.0270.07016.40
5.4.40.0200.06316.41
5.4.30.0400.05316.53
5.4.20.0200.06016.41
5.4.10.0230.06316.36
5.4.00.0200.03715.70
5.3.290.0200.03714.66
5.3.280.0200.03714.48
5.3.270.0230.05014.53
5.3.260.0170.05014.52
5.3.250.0200.05314.65
5.3.240.0130.05014.61
5.3.230.0170.06314.65
5.3.220.0200.03714.64
5.3.210.0100.04314.57
5.3.200.0230.05014.49
5.3.190.0170.08014.62
5.3.180.0270.03314.60
5.3.170.0270.05314.59
5.3.160.0270.07014.61
5.3.150.0200.07714.62
5.3.140.0300.05714.47
5.3.130.0270.06314.54
5.3.120.0200.06714.64
5.3.110.0170.08014.55
5.3.100.0130.07014.03
5.3.90.0230.03714.04
5.3.80.0230.04314.18
5.3.70.0270.06714.02
5.3.60.0230.06714.05
5.3.50.0230.06313.83
5.3.40.0230.04714.03
5.3.30.0200.05013.96
5.3.20.0130.05013.66
5.3.10.0170.05013.68
5.3.00.0300.06013.70
5.2.170.0100.04312.52
5.2.160.0170.05712.52
5.2.150.0170.03312.52
5.2.140.0200.05712.52
5.2.130.0130.04312.52
5.2.120.0170.06012.52
5.2.110.0230.05312.52
5.2.100.0200.05012.52
5.2.90.0200.06012.52
5.2.80.0200.05712.52
5.2.70.0170.05312.52
5.2.60.0200.06012.52
5.2.50.0170.05312.52
5.2.40.0200.05312.52
5.2.30.0170.05012.52
5.2.20.0200.03312.52
5.2.10.0170.05712.52
5.2.00.0170.06012.52
5.1.60.0170.05712.52
5.1.50.0170.04712.52
5.1.40.0200.05012.52
5.1.30.0200.04312.52
5.1.20.0230.04012.52
5.1.10.0030.03312.52
5.1.00.0100.02312.52
5.0.50.0070.02012.52
5.0.40.0030.02012.52
5.0.30.0100.02712.52
5.0.20.0030.02012.52
5.0.10.0100.01312.52
5.0.00.0030.03012.52
4.4.90.0030.03312.52
4.4.80.0070.03712.52
4.4.70.0030.03312.52
4.4.60.0100.03312.52
4.4.50.0130.03012.52
4.4.40.0030.04712.52
4.4.30.0130.03012.52
4.4.20.0030.01712.52
4.4.10.0070.01312.52
4.4.00.0030.02712.52
4.3.110.0070.01712.52
4.3.100.0030.01712.52
4.3.90.0030.01712.52
4.3.80.0030.02312.52
4.3.70.0000.02012.52
4.3.60.0000.01712.52
4.3.50.0030.01312.52
4.3.40.0030.02712.52
4.3.30.0000.01712.52
4.3.20.0000.01712.52
4.3.10.0030.01312.52
4.3.00.0030.01312.52

preferences:
47.17 ms | 401 KiB | 5 Q