3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { protected $var = true; } class Bar extends Foo { public $var = 'abc'; } $reflection = new ReflectionProperty('Bar', 'var'); Reflection::export($reflection);

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.0030.01518.55
8.3.50.0120.00522.76
8.3.40.0090.00618.71
8.3.30.0100.00319.09
8.3.20.0070.00020.16
8.3.10.0080.00023.56
8.3.00.0050.00319.50
8.2.180.0100.00716.75
8.2.170.0110.00422.96
8.2.160.0070.00720.46
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00020.94
8.2.110.0060.00322.20
8.2.100.0040.00719.76
8.2.90.0050.00319.22
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0050.00317.93
8.2.50.0030.00718.07
8.2.40.0000.00918.03
8.2.30.0000.00717.89
8.2.20.0000.00817.55
8.2.10.0040.00417.93
8.2.00.0000.00717.66
8.1.280.0140.00725.92
8.1.270.0000.00823.79
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00722.14
8.1.230.0110.00019.22
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0040.00421.82
8.1.150.0070.00018.81
8.1.140.0000.00717.29
8.1.130.0030.00317.87
8.1.120.0040.00417.40
8.1.110.0030.00417.40
8.1.100.0040.00417.27
8.1.90.0040.00417.42
8.1.80.0040.00417.27
8.1.70.0000.00717.40
8.1.60.0050.00317.44
8.1.50.0030.00517.55
8.1.40.0000.00817.52
8.1.30.0000.00817.60
8.1.20.0000.00717.71
8.1.10.0040.00417.60
8.1.00.0050.00217.41
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0040.00418.44
8.0.270.0030.00317.14
8.0.260.0040.00417.20
8.0.250.0000.00716.88
8.0.240.0030.00316.86
8.0.230.0030.00316.97
8.0.220.0000.00716.93
8.0.210.0040.00416.88
8.0.200.0030.00316.79
8.0.190.0000.00716.95
8.0.180.0040.00416.80
8.0.170.0000.00816.79
8.0.160.0040.00416.95
8.0.150.0040.00416.78
8.0.140.0070.00016.79
8.0.130.0030.00313.30
8.0.120.0080.00016.70
8.0.110.0030.00516.91
8.0.100.0000.00716.93
8.0.90.0080.00016.77
8.0.80.0160.00616.85
8.0.70.0000.00816.77
8.0.60.0030.00616.77
8.0.50.0050.00216.72
8.0.30.0140.00517.03
8.0.20.0110.00817.40
8.0.10.0040.00417.05
8.0.00.0110.00716.91
7.4.330.0030.00315.09
7.4.320.0040.00416.57
7.4.300.0040.00416.33
7.4.290.0000.00716.42
7.4.280.0000.00716.43
7.4.270.0000.00716.39
7.4.260.0070.00016.52
7.4.250.0000.00816.38
7.4.240.0050.00216.51
7.4.230.0000.00716.44
7.4.220.0140.00716.51
7.4.210.0140.00716.56
7.4.200.0070.00016.43
7.4.160.0120.00416.36
7.4.150.0090.01117.40
7.4.140.0080.00917.86
7.4.130.0050.01416.49
7.4.120.0050.01216.54
7.4.110.0110.00616.59
7.4.100.0060.01516.41
7.4.90.0080.00916.38
7.4.80.0130.00919.39
7.4.70.0030.01316.34
7.4.60.0130.00316.37
7.4.50.0040.00416.20
7.4.40.0090.00916.30
7.4.30.0130.00316.75
7.4.00.0040.01415.14
7.3.330.0000.00513.20
7.3.320.0020.00213.11
7.3.310.0030.00316.03
7.3.300.0000.00616.12
7.3.290.0080.00616.18
7.3.280.0130.00316.16
7.3.270.0140.00317.40
7.3.260.0100.01016.17
7.3.250.0120.00816.18
7.3.240.0030.01416.14
7.3.230.0120.00416.40
7.3.210.0130.00316.34
7.3.200.0060.01219.39
7.3.190.0090.00916.09
7.3.180.0040.01216.14
7.3.170.0130.00316.27
7.3.160.0040.01116.25
7.2.330.0110.00616.39
7.2.320.0110.00716.35
7.2.310.0030.02016.50
7.2.300.0070.01016.35
7.2.290.0060.00916.24
7.2.60.0100.00316.73
7.2.00.0030.00519.31
7.1.200.0090.00615.69
7.1.100.0040.00417.91
7.1.70.0070.01017.15
7.1.60.0070.01419.46
7.1.50.0090.01516.57
7.1.00.0030.07722.54
7.0.200.0280.00316.58
7.0.140.0100.06721.99
7.0.60.0070.04721.76
7.0.50.0100.08317.84
7.0.40.0030.04720.24
7.0.30.0300.04720.24
7.0.20.0430.06320.30
7.0.10.0030.07320.10
7.0.00.0030.04320.15
5.6.280.0070.07021.12
5.6.210.0170.04720.62
5.6.200.0000.08718.29
5.6.190.0070.04020.63
5.6.180.0270.05020.33
5.6.170.0330.07320.55
5.6.160.0100.04320.46
5.6.150.0070.08318.30
5.6.140.0170.07318.15
5.6.130.0030.04018.21
5.6.120.0100.08021.09
5.6.110.0100.05721.01
5.6.100.0130.04320.98
5.6.90.0130.07721.06
5.6.80.0100.05320.54
5.5.350.4370.04020.39
5.5.340.0030.05317.99
5.5.330.0070.04020.27
5.5.320.0230.07320.35
5.5.310.0300.04020.34
5.5.300.0030.05018.08
5.5.290.0170.07717.95
5.5.280.0100.04020.98
5.5.270.0030.09020.76
5.5.260.0100.06320.86
5.5.250.0030.05320.71
5.5.240.0270.06320.26
5.4.450.0730.04019.48
5.4.440.0300.05019.31
5.4.430.0300.04319.27
5.4.420.0230.04719.56
5.4.410.0470.04319.28
5.4.400.0170.03719.00
5.4.390.0500.03319.13
5.4.380.0570.05318.52
5.4.370.0370.06018.51
5.4.360.0300.06718.63
5.4.350.0300.06318.79
5.4.340.0370.05318.80
5.4.320.0080.04412.50
5.4.310.0130.05012.49
5.4.300.0090.04112.50
5.4.290.0100.05112.49
5.4.280.0080.03312.39
5.4.270.0090.04212.39
5.4.260.0060.05712.39
5.4.250.0110.04212.39
5.4.240.0080.04612.39
5.4.230.0070.04812.38
5.4.220.0080.04112.38
5.4.210.0070.03812.39
5.4.200.0120.03512.38
5.4.190.0080.03612.38
5.4.180.0060.03712.38
5.4.170.0050.04812.39
5.4.160.0100.03412.39
5.4.150.0060.03812.38
5.4.140.0050.04812.06
5.4.130.0050.04212.05
5.4.120.0100.04012.02
5.4.110.0060.04212.00
5.4.100.0080.03412.01
5.4.90.0080.03412.01
5.4.80.0050.04412.00
5.4.70.0060.04512.00
5.4.60.0050.04212.00
5.4.50.0070.04312.00
5.4.40.0080.03411.99
5.4.30.0080.04611.99
5.4.20.0070.03411.99
5.4.10.0100.03411.98
5.4.00.0050.03711.48
5.3.290.0060.03912.80
5.3.280.0090.04112.71
5.3.270.0070.05012.72
5.3.260.0100.04712.72
5.3.250.0080.04012.72
5.3.240.0070.04812.72
5.3.230.0060.04112.70
5.3.220.0080.03612.68
5.3.210.0060.04912.68
5.3.200.0090.03512.68
5.3.190.0050.04412.68
5.3.180.0090.04712.68
5.3.170.0100.04612.66
5.3.160.0120.03712.67
5.3.150.0110.04312.67
5.3.140.0110.03112.66
5.3.130.0080.03612.66
5.3.120.0050.03912.66
5.3.110.0060.03912.66
5.3.100.0080.03812.12
5.3.90.0090.03312.09
5.3.80.0100.03412.08
5.3.70.0030.04612.08
5.3.60.0100.04212.07
5.3.50.0060.03912.02
5.3.40.0050.04012.02
5.3.30.0010.04511.98
5.3.20.0110.03911.76
5.3.10.0110.03411.72
5.3.00.0070.03411.71
5.2.170.0080.0359.21
5.2.160.0040.0339.21
5.2.150.0100.0329.21
5.2.140.0090.0309.21
5.2.130.0050.0399.17
5.2.120.0050.0319.17
5.2.110.0050.0299.18
5.2.100.0060.0289.18
5.2.90.0060.0289.17
5.2.80.0050.0309.17
5.2.70.0060.0409.17
5.2.60.0090.0309.12
5.2.50.0090.0339.09
5.2.40.0060.0309.06
5.2.30.0050.0429.04
5.2.20.0050.0289.04
5.2.10.0040.0308.93
5.2.00.0060.0318.80
5.1.60.0050.0348.08
5.1.50.0070.0268.08
5.1.40.0060.0278.06
5.1.30.0040.0368.41
5.1.20.0050.0308.43
5.1.10.0060.0358.16
5.1.00.0040.0258.16
5.0.50.0050.0326.64
5.0.40.0090.0266.49
5.0.30.0040.0366.30
5.0.20.0070.0236.28
5.0.10.0040.0206.25
5.0.00.0020.0326.24
4.4.90.0040.0204.78
4.4.80.0050.0174.76
4.4.70.0040.0304.75
4.4.60.0020.0244.75
4.4.50.0030.0204.77
4.4.40.0050.0264.71
4.4.30.0030.0184.76
4.4.20.0060.0224.84
4.4.10.0030.0204.84
4.4.00.0040.0244.76
4.3.110.0050.0224.67
4.3.100.0040.0184.67
4.3.90.0030.0274.63
4.3.80.0040.0264.59
4.3.70.0040.0194.63
4.3.60.0030.0254.63
4.3.50.0020.0194.63
4.3.40.0030.0244.54
4.3.30.0030.0213.30
4.3.20.0050.0263.28
4.3.10.0030.0223.24
4.3.00.0030.02018.55

preferences:
39.33 ms | 401 KiB | 5 Q