3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function a() { $this->foo = 'bar'; } } $c = new A(); $reflect = new ReflectionClass($c); $props = $reflect->getProperties(); var_dump($props); $c->a(); $reflect = new ReflectionClass($c); $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.40.0110.00418.76
8.3.30.0140.00719.09
8.3.20.0040.00420.34
8.3.10.0080.00022.13
8.3.00.0000.00822.43
8.2.170.0120.00322.96
8.2.160.0110.00419.07
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0110.00726.16
8.2.120.0040.00419.36
8.2.110.0090.00021.11
8.2.100.0040.01117.78
8.2.90.0050.00319.05
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0050.00318.04
8.2.50.0080.00018.10
8.2.40.0030.00722.19
8.2.30.0040.00418.00
8.2.20.0070.00017.66
8.2.10.0000.00817.66
8.2.00.0000.00817.50
8.1.270.0040.00422.19
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0080.00020.95
8.1.230.0060.00617.64
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0040.00417.23
8.1.190.0000.00817.36
8.1.180.0040.00418.10
8.1.170.0060.00318.46
8.1.160.0030.00322.14
8.1.150.0070.00018.54
8.1.140.0070.00317.29
8.1.130.0000.00717.70
8.1.120.0030.00317.30
8.1.110.0040.00417.36
8.1.100.0070.00017.34
8.1.90.0030.00317.29
8.1.80.0030.00317.30
8.1.70.0030.00317.41
8.1.60.0040.00417.61
8.1.50.0040.00417.48
8.1.40.0000.00717.49
8.1.30.0000.00817.47
8.1.20.0030.00617.56
8.1.10.0040.00417.48
8.1.00.0030.00617.50
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0030.00318.39
8.0.270.0000.00717.12
8.0.260.0000.00716.77
8.0.250.0060.00016.94
8.0.240.0070.00016.94
8.0.230.0040.00416.87
8.0.220.0060.00016.79
8.0.210.0040.00416.72
8.0.200.0030.00316.91
8.0.190.0030.00616.88
8.0.180.0040.00416.89
8.0.170.0070.00016.74
8.0.160.0050.00216.88
8.0.150.0030.00316.71
8.0.140.0040.00416.77
8.0.130.0030.00313.26
8.0.120.0040.00416.68
8.0.110.0000.00816.75
8.0.100.0000.00716.82
8.0.90.0030.00416.73
8.0.80.0030.01216.72
8.0.70.0040.00416.65
8.0.60.0000.00716.77
8.0.50.0070.00016.72
8.0.30.0120.00916.78
8.0.20.0110.01017.40
8.0.10.0000.00716.94
8.0.00.0050.01216.65
7.4.330.0000.00515.04
7.4.320.0070.00016.45
7.4.300.0060.00016.59
7.4.290.0000.00716.59
7.4.280.0030.00316.52
7.4.270.0000.00816.62
7.4.260.0000.00716.64
7.4.250.0080.00016.52
7.4.240.0040.00416.58
7.4.230.0090.00016.61
7.4.220.0060.01216.38
7.4.210.0030.01216.55
7.4.200.0000.00716.57
7.4.190.0040.00416.77
7.4.160.0080.00816.38
7.4.150.0160.01017.40
7.4.140.0090.00917.86
7.4.130.0050.01116.45
7.4.120.0120.00516.49
7.4.110.0130.01016.56
7.4.100.0110.00716.45
7.4.90.0090.00916.53
7.4.80.0170.00019.39
7.4.70.0130.00616.49
7.4.60.0070.01016.36
7.4.50.0000.00816.44
7.4.40.0040.01122.77
7.4.30.0090.00616.52
7.4.00.0040.00714.86
7.3.330.0000.00613.32
7.3.320.0020.00213.18
7.3.310.0040.00416.35
7.3.300.0060.00016.18
7.3.290.0110.00416.27
7.3.280.0090.00716.37
7.3.270.0190.00317.40
7.3.260.0130.00916.24
7.3.250.0130.00516.22
7.3.240.0150.00316.44
7.3.230.0170.00716.39
7.3.210.0060.01116.49
7.3.200.0140.00719.39
7.3.190.0060.01516.60
7.3.180.0100.00716.17
7.3.170.0040.01216.56
7.3.160.0090.00616.46
7.3.120.0060.00614.72
7.2.330.0030.01416.69
7.2.320.0070.01016.57
7.2.310.0070.01016.70
7.2.300.0060.01516.58
7.2.290.0070.01416.54
7.2.60.0040.00716.80
7.2.00.0060.00819.46
7.1.200.0080.00415.96
7.1.100.0070.00718.23
7.1.70.0040.00417.03
7.1.60.0090.00619.82
7.1.50.0070.00417.05
7.1.00.0030.07722.46
7.0.200.0070.00416.73
7.0.140.0030.07022.09
7.0.60.0200.06319.91
7.0.50.0070.05717.89
7.0.40.0100.03720.05
7.0.30.0230.04020.12
7.0.20.0130.04320.19
7.0.10.0070.09320.12
7.0.00.0200.07720.11
5.6.280.0000.07721.13
5.6.210.0000.08720.64
5.6.200.0100.08018.18
5.6.190.0070.08720.33
5.6.180.0300.08020.48
5.6.170.0200.05020.52
5.6.160.0200.06720.39
5.6.150.0070.03718.18
5.6.140.0100.07718.17
5.6.130.0100.07018.21
5.6.120.0000.04320.89
5.6.110.0100.08320.96
5.6.100.0200.06321.13
5.6.90.0070.08321.12
5.6.80.0030.04020.36
5.6.70.3970.04020.50
5.5.350.0130.06720.36
5.5.340.0130.07018.10
5.5.330.0200.06020.23
5.5.320.0230.03720.31
5.5.310.0330.04320.32
5.5.300.0030.04018.08
5.5.290.0000.04318.05
5.5.280.0100.04020.80
5.5.270.0100.04720.87
5.5.260.0030.06320.79
5.5.250.0030.08720.56
5.5.240.0070.04720.07
5.4.450.0500.05719.38
5.4.440.0630.05319.63
5.4.430.0130.05019.32
5.4.420.0170.06719.44
5.4.410.0170.05019.42
5.4.400.0800.00018.50
5.4.390.0830.00018.73
5.4.380.0470.06718.83
5.4.370.1000.05018.59
5.4.360.1070.05018.77
5.4.350.0970.05718.76
5.4.340.1000.05718.81
5.4.320.0040.03712.50
5.4.310.0060.03812.50
5.4.300.0050.03812.50
5.4.290.0060.03712.49
5.4.280.0050.03512.40
5.4.270.0050.03612.40
5.4.260.0070.03912.39
5.4.250.0060.03712.40
5.4.240.0040.03812.39
5.4.230.0050.03812.39
5.4.220.0050.03612.39
5.4.210.0060.03912.39
5.4.200.0070.04112.38
5.4.190.0070.06318.77
5.4.180.0030.05718.95
5.4.170.0030.06018.96
5.4.160.0000.06018.82
5.4.150.0100.06019.08
5.4.140.0070.05316.55
5.4.130.0030.05316.39
5.4.120.0030.05316.30
5.4.110.0070.05316.41
5.4.100.0000.05716.40
5.4.90.0030.05016.52
5.4.80.0030.07316.60
5.4.70.0030.07316.39
5.4.60.0070.05016.52
5.4.50.0070.05316.33
5.4.40.0000.06716.44
5.4.30.0100.06716.39
5.4.20.0070.06716.49
5.4.10.0130.06716.58
5.4.00.0100.05715.80
5.3.290.0050.04012.80
5.3.280.0060.03712.71
5.3.270.0070.05314.57
5.3.260.0130.05014.74
5.3.250.0170.05714.66
5.3.240.0030.05314.68
5.3.230.0130.06014.68
5.3.220.0000.06014.58
5.3.210.0070.07714.64
5.3.200.0170.06014.59
5.3.190.0100.04714.47
5.3.180.0130.04714.55
5.3.170.0030.05714.64
5.3.160.0030.07014.39
5.3.150.0130.06714.79
5.3.140.0170.04314.77
5.3.130.0100.05014.68
5.3.120.0200.04314.45
5.3.110.0200.04714.56
5.3.100.0030.07714.10
5.3.90.0130.06014.18
5.3.80.0130.04314.10
5.3.70.0030.07714.18
5.3.60.0100.06714.07
5.3.50.0070.07014.01
5.3.40.0130.04314.04
5.3.30.0000.05313.93
5.3.20.0170.05013.77
5.3.10.0070.07013.63
5.3.00.0030.07313.60
5.2.170.0100.05311.31
5.2.160.0100.05311.23
5.2.150.0000.04711.05
5.2.140.0030.04310.97
5.2.130.0100.03311.18
5.2.120.0030.06011.29
5.2.110.0070.04311.18
5.2.100.0030.04011.18
5.2.90.0070.03711.16
5.2.80.0030.04311.06
5.2.70.0100.04311.18
5.2.60.0130.05311.07
5.2.50.0070.04311.09
5.2.40.0100.03311.08
5.2.30.0000.04711.14
5.2.20.0000.06010.94
5.2.10.0030.05710.87
5.2.00.0130.03010.68
5.1.60.0030.03310.06
5.1.50.0130.03710.06
5.1.40.0030.0509.98
5.1.30.0100.04010.16
5.1.20.0030.04010.36
5.1.10.0070.03310.16
5.1.00.0000.03710.04
5.0.50.0070.0278.64
5.0.40.0030.0408.38
5.0.30.0030.0438.26
5.0.20.0070.0278.23
5.0.10.0100.0278.14
5.0.00.0000.0438.39
4.4.90.0000.0275.81
4.4.80.0030.0335.82
4.4.70.0070.0235.82
4.4.60.0000.0235.85
4.4.50.0000.0335.90
4.4.40.0070.0275.85
4.4.30.0030.0205.82
4.4.20.0070.0175.90
4.4.10.0000.0235.96
4.4.00.0000.0475.84
4.3.110.0000.0335.74
4.3.100.0000.0235.77
4.3.90.0000.0305.77
4.3.80.0030.0335.76
4.3.70.0030.0275.74
4.3.60.0030.0235.80
4.3.50.0000.0235.66
4.3.40.0130.0275.77
4.3.30.0030.0205.47
4.3.20.0000.0235.47
4.3.10.0030.0235.47
4.3.00.0100.0209.23

preferences:
42.14 ms | 400 KiB | 5 Q