3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { class Foo { } } namespace B { $foo = new \A\Foo; // $class = new \ReflectionClass($foo); $class = new \ReflectionClass('\A\Foo'); echo $class->getShortName(); }

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.5.00.0150.00619.93
8.4.150.0020.00114.05
8.4.140.0170.00517.73
8.4.130.0100.00718.66
8.4.120.0140.00617.82
8.4.110.0090.00618.56
8.4.100.0120.00717.80
8.4.90.0080.01120.58
8.4.80.0110.00818.89
8.4.70.0040.00618.92
8.4.60.0110.01018.83
8.4.50.0030.00619.47
8.4.40.0030.01717.66
8.4.30.0150.00720.70
8.4.20.0040.01517.69
8.4.10.0100.00621.25
8.3.280.0150.00518.19
8.3.270.0120.01016.45
8.3.260.0140.00516.56
8.3.250.0110.00816.51
8.3.240.0040.00416.61
8.3.230.0130.00616.42
8.3.220.0090.01018.67
8.3.210.0090.01018.45
8.3.200.0050.00416.14
8.3.190.0130.00416.48
8.3.180.0080.00916.29
8.3.170.0190.00016.72
8.3.160.0110.00718.29
8.3.150.0080.00016.41
8.3.140.0110.00718.21
8.3.130.0040.00416.27
8.3.120.0040.00418.74
8.3.110.0090.00920.94
8.3.100.0090.00624.06
8.3.90.0000.00826.77
8.3.80.0030.00716.38
8.3.70.0110.00416.58
8.3.60.0120.00316.38
8.3.50.0080.01223.52
8.3.40.0100.01021.76
8.3.30.0170.00318.42
8.3.20.0070.00024.18
8.3.10.0000.00724.66
8.3.00.0070.00026.16
8.2.290.0130.00616.90
8.2.280.0050.00318.26
8.2.270.0030.01516.69
8.2.260.0120.00617.11
8.2.250.0090.00916.49
8.2.240.0050.00517.19
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0150.00326.77
8.2.200.0050.00516.60
8.2.190.0120.00616.75
8.2.180.0120.00625.92
8.2.170.0110.00420.56
8.2.160.0120.00822.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00826.35
8.2.110.0070.00421.12
8.2.100.0040.00817.84
8.2.90.0050.00318.03
8.2.80.0040.00418.22
8.2.70.0050.00317.63
8.2.60.0000.00817.63
8.2.50.0040.00417.55
8.2.40.0040.00417.91
8.2.30.0000.00717.93
8.2.20.0000.00718.13
8.2.10.0000.00819.23
8.2.00.0040.00419.05
8.1.330.0060.00616.09
8.1.320.0110.00915.94
8.1.310.0100.00716.83
8.1.300.0120.00616.79
8.1.290.0060.00318.88
8.1.280.0170.00025.92
8.1.270.0050.00323.99
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00323.75
8.1.230.0080.00421.03
8.1.220.0030.00617.74
8.1.210.0040.00418.93
8.1.200.0040.00417.23
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0030.00518.65
8.1.160.0000.00718.81
8.1.150.0040.00418.86
8.1.140.0040.00418.82
8.1.130.0000.00720.13
8.1.120.0040.00417.41
8.1.110.0060.00317.35
8.1.100.0040.00417.34
8.1.90.0040.00417.41
8.1.80.0030.00617.39
8.1.70.0000.00717.36
8.1.60.0050.00317.50
8.1.50.0050.00217.50
8.1.40.0040.00417.38
8.1.30.0040.00417.55
8.1.20.0050.00317.57
8.1.10.0030.00617.52
8.1.00.0050.00317.50
8.0.300.0070.00020.03
8.0.290.0040.00416.75
8.0.280.0040.00418.39
8.0.270.0000.00718.06
8.0.260.0060.00020.18
8.0.250.0030.00316.97
8.0.240.0000.00716.86
8.0.230.0000.00716.77
8.0.220.0030.00316.65
8.0.210.0040.00316.77
8.0.200.0000.00716.84
8.0.190.0000.00716.75
8.0.180.0040.00416.86
8.0.170.0080.00016.85
8.0.160.0050.00216.72
8.0.150.0030.00516.65
8.0.140.0070.00016.67
8.0.130.0030.00313.22
8.0.120.0040.00416.75
8.0.110.0000.00716.88
8.0.100.0000.00716.68
8.0.90.0040.00416.66
8.0.80.0100.00516.77
8.0.70.0050.00316.93
8.0.60.0040.00416.79
8.0.50.0000.00716.86
8.0.30.0080.00816.89
8.0.20.0240.00917.15
8.0.10.0030.00516.88
8.0.00.0060.01216.56
7.4.330.0000.00515.55
7.4.320.0070.00016.54
7.4.300.0000.00616.50
7.4.290.0040.00416.37
7.4.280.0030.00516.27
7.4.270.0030.00516.52
7.4.260.0030.00313.19
7.4.250.0050.00216.29
7.4.240.0030.00316.53
7.4.230.0030.00316.63
7.4.220.0020.00516.41
7.4.210.0100.00516.41
7.4.200.0000.00716.54
7.4.130.0170.00716.50
7.4.120.0120.00816.48
7.4.110.0120.00916.45
7.4.100.0060.01116.35
7.4.90.0070.01016.42
7.4.80.0040.01316.27
7.4.70.0070.01016.25
7.4.60.0110.00516.27
7.4.50.0070.01016.40
7.4.40.0170.00316.63
7.4.30.0070.01016.42
7.4.20.0130.01016.27
7.4.10.0120.00916.52
7.4.00.0100.00716.39
7.3.330.0000.00715.98
7.3.320.0000.00613.17
7.3.310.0000.00716.07
7.3.300.0030.00316.13
7.3.290.0040.01116.15
7.3.260.0160.00816.22
7.3.230.0070.01016.34
7.3.220.0130.00316.15
7.3.210.0150.00616.19
7.3.200.0080.00916.20
7.3.190.0090.00616.23
7.3.180.0070.01016.23
7.3.170.0110.00616.18
7.3.160.0080.01116.14
7.3.150.0080.00816.16
7.3.140.0090.01216.22
7.3.130.0070.01016.19
7.3.120.0130.01016.23
7.3.110.0100.00716.14
7.3.100.0100.00716.30
7.3.90.0130.00316.13
7.3.80.0100.00716.49
7.3.70.0120.00616.42
7.3.60.0070.01016.28
7.3.50.0060.01016.30
7.3.40.0080.00816.17
7.3.30.0100.00716.26
7.3.20.0140.00416.33
7.3.10.0140.00416.36
7.3.00.0120.00816.29
7.2.340.0060.01116.46
7.2.330.0110.00816.59
7.2.320.0180.00016.42
7.2.310.0070.01016.70
7.2.300.0090.00816.32
7.2.290.0060.01116.66
7.2.280.0100.00716.72
7.2.270.0140.00316.31
7.2.260.0140.01016.52
7.2.250.0060.01616.59
7.2.240.0070.01016.54
7.2.230.0100.00716.54
7.2.220.0070.01016.28
7.2.210.0100.00716.38
7.2.200.0050.01316.42
7.2.190.0060.01016.40
7.2.180.0090.00616.64
7.2.170.0170.00016.58
7.2.160.0140.00416.65
7.2.150.0060.01216.58
7.2.140.0210.00316.56
7.2.130.0100.00716.45
7.2.120.0100.00716.43
7.2.110.0140.00416.66
7.2.100.0090.00916.68
7.2.90.0000.01816.39
7.2.80.0030.01516.62
7.2.70.0110.00816.54
7.2.60.0110.00716.59
7.2.50.0100.00716.58
7.2.40.0140.00916.46
7.2.30.0080.00816.67
7.2.20.0120.00616.58
7.2.10.0180.00016.61
7.2.00.0100.01016.69

preferences:
146.43 ms | 403 KiB | 5 Q