3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function a() { return 'a'; } } class B extends A { public function a() { return 'b'; } } $method = new \ReflectionFunction('strlen'); var_dump($method->getFileName());

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.0170.00316.38
8.3.50.0110.01121.92
8.3.40.0090.01218.67
8.3.30.0070.00718.83
8.3.20.0080.00620.34
8.3.10.0070.00023.61
8.3.00.0030.00519.05
8.2.180.0120.00616.63
8.2.170.0030.01222.96
8.2.160.0060.00620.43
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0030.01026.16
8.2.120.0040.00422.14
8.2.110.0090.00022.30
8.2.100.0060.00617.66
8.2.90.0030.00519.10
8.2.80.0040.00418.04
8.2.70.0040.00417.38
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0070.00018.22
8.2.30.0040.00417.92
8.2.20.0080.00017.61
8.2.10.0060.00317.91
8.2.00.0040.00717.49
8.1.280.0190.00025.92
8.1.270.0030.00523.91
8.1.260.0090.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00323.75
8.1.230.0070.00318.97
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0050.00317.29
8.1.180.0040.00418.10
8.1.170.0000.00918.59
8.1.160.0050.00321.95
8.1.150.0040.00418.62
8.1.140.0030.00617.44
8.1.130.0030.00317.81
8.1.120.0000.00717.43
8.1.110.0000.00717.29
8.1.100.0000.00717.44
8.1.90.0000.00717.35
8.1.80.0030.00617.43
8.1.70.0000.00717.30
8.1.60.0040.00717.51
8.1.50.0040.00417.49
8.1.40.0080.00017.41
8.1.30.0080.00017.54
8.1.20.0000.00717.59
8.1.10.0040.00417.48
8.1.00.0050.00317.47
8.0.300.0040.00418.77
8.0.290.0040.00417.04
8.0.280.0030.00318.38
8.0.270.0000.00717.13
8.0.260.0030.00316.66
8.0.250.0000.00816.90
8.0.240.0000.00716.75
8.0.230.0000.00716.90
8.0.220.0040.00416.82
8.0.210.0040.00416.75
8.0.200.0030.00316.83
8.0.190.0040.00416.80
8.0.180.0030.00716.88
8.0.170.0080.00016.82
8.0.160.0080.00016.68
8.0.150.0060.00316.78
8.0.140.0030.00516.71
8.0.130.0000.00713.21
8.0.120.0040.00416.71
8.0.110.0000.00716.75
8.0.100.0040.00416.64
8.0.90.0050.00316.77
8.0.80.0000.01516.84
8.0.70.0070.00016.64
8.0.60.0040.00416.89
8.0.50.0060.00316.81
8.0.30.0090.01017.05
8.0.20.0080.01017.40
8.0.10.0060.00316.71
8.0.00.0060.01116.61
7.4.330.0000.00515.00
7.4.320.0030.00316.49
7.4.300.0000.00616.41
7.4.290.0000.00716.57
7.4.280.0030.00316.50
7.4.270.0040.00416.36
7.4.260.0030.00616.43
7.4.250.0040.00416.43
7.4.240.0020.00516.50
7.4.230.0070.00016.47
7.4.220.0070.01116.44
7.4.210.0060.01016.52
7.4.200.0000.00816.60
7.4.190.0000.00716.41
7.4.160.0100.00716.48
7.4.150.0060.01317.40
7.4.140.0160.00517.86
7.4.130.0090.00716.51
7.4.120.0070.01016.41
7.4.110.0090.00916.48
7.4.100.0070.01116.52
7.4.90.0070.01016.37
7.4.80.0110.00519.39
7.4.70.0130.00316.38
7.4.60.0160.00716.52
7.4.50.0040.00416.50
7.4.40.0130.00322.77
7.4.30.0060.01016.38
7.4.00.0100.00715.05
7.3.330.0050.00013.26
7.3.320.0020.00213.22
7.3.310.0000.00716.13
7.3.300.0030.00316.28
7.3.290.0030.01216.23
7.3.280.0090.00816.22
7.3.270.0130.00617.40
7.3.260.0120.00616.28
7.3.250.0160.00516.36
7.3.240.0030.01416.32
7.3.230.0040.01116.39
7.3.210.0160.00016.25
7.3.200.0060.01519.39
7.3.190.0080.01416.34
7.3.180.0090.00616.26
7.3.170.0080.00816.27
7.3.160.0090.00616.52
7.3.120.0110.00314.70
7.2.330.0030.01416.49
7.2.320.0070.01416.32
7.2.310.0090.00916.50
7.2.300.0000.01616.54
7.2.290.0130.00316.53
7.2.60.0070.00716.70
7.2.00.0070.00419.50
7.1.200.0040.00815.40
7.1.100.0410.00717.71
7.1.70.0030.00917.11
7.1.60.0090.00919.33
7.1.50.0060.01616.62
7.1.00.0000.07722.35
7.0.200.0030.00716.66
7.0.140.0070.07022.00
7.0.60.0000.04319.93
7.0.50.0030.07317.84
7.0.40.0130.08320.25
7.0.30.0230.07720.30
7.0.20.0300.05320.08
7.0.10.0070.04020.07
7.0.00.0030.08720.27
5.6.280.0070.07021.00
5.6.210.0200.07320.73
5.6.200.0070.05018.18
5.6.190.0070.06020.77
5.6.180.0470.06020.48
5.6.170.0270.06720.39
5.6.160.0070.08720.44
5.6.150.0100.06018.16
5.6.140.0100.05318.22
5.6.130.0100.06318.18
5.6.120.0100.06321.04
5.6.110.0170.07320.99
5.6.100.0100.04321.14
5.6.90.0070.08321.10
5.6.80.0000.04720.40
5.6.70.4470.03320.36
5.5.350.0130.08320.41
5.5.340.0300.05018.02
5.5.330.0000.05020.27
5.5.320.0300.04720.24
5.5.310.0200.04020.34
5.5.300.0030.04017.94
5.5.290.0130.03717.95
5.5.280.0100.04320.87
5.5.270.0070.07720.86
5.5.260.0170.07320.89
5.5.250.0100.07020.69
5.5.240.0270.06720.12
5.4.450.0230.05719.56
5.4.440.0670.05319.55
5.4.430.0370.05719.52
5.4.420.0370.06319.45
5.4.410.0630.06019.27
5.4.400.0700.06018.92
5.4.390.0570.05019.23
5.4.380.0230.06318.75
5.4.370.0230.06318.80
5.4.360.0270.05318.80
5.4.350.0270.05318.57
5.4.340.0200.06018.56
5.4.320.0060.03612.50
5.4.310.0090.04612.50
5.4.300.0120.03012.50
5.4.290.0070.03612.50
5.4.280.0030.03712.39
5.4.270.0070.03612.40
5.4.260.0090.03412.39
5.4.250.0070.04012.40
5.4.240.0110.03312.39
5.4.230.0050.03812.39
5.4.220.0090.03812.39
5.4.210.0110.03212.39
5.4.200.0050.04012.39
5.4.190.0170.04212.39
5.4.180.0160.04112.39
5.4.170.0130.04412.40
5.4.160.0200.03912.39
5.4.150.0140.04512.39
5.4.140.0180.04012.07
5.4.130.0160.04312.06
5.4.120.0200.03612.01
5.4.110.0150.04112.01
5.4.100.0200.03912.01
5.4.90.0170.04412.01
5.4.80.0140.04812.01
5.4.70.0170.03912.01
5.4.60.0230.06412.01
5.4.50.0120.04412.00
5.4.40.0120.04412.00
5.4.30.0190.04212.00
5.4.20.0320.08611.99
5.4.10.0200.04211.99
5.4.00.0160.04111.48
5.3.290.0050.03912.80
5.3.280.0080.03512.70
5.3.270.0170.04612.72
5.3.260.0170.04512.72
5.3.250.0190.04512.72
5.3.240.0140.04612.71
5.3.230.0200.04312.71
5.3.220.0160.04412.68
5.3.210.0180.04312.68
5.3.200.0170.04312.68
5.3.190.0140.04612.68
5.3.180.0140.04612.68
5.3.170.0220.06812.67
5.3.160.0410.07912.68
5.3.150.0130.04512.67
5.3.140.0170.04112.66
5.3.130.0160.04312.66
5.3.120.0260.09412.66
5.3.110.0140.04612.66
5.3.100.0180.04212.13
5.3.90.0180.03912.11
5.3.80.0170.04212.10
5.3.70.0170.04212.10
5.3.60.0170.04312.08
5.3.50.0170.07412.03
5.3.40.0120.04812.03
5.3.30.0210.04412.00
5.3.20.0340.09311.78
5.3.10.0160.04111.74
5.3.00.0130.04611.72
5.2.170.0130.0379.22
5.2.160.0120.0379.22
5.2.150.0160.0339.22
5.2.140.0250.0849.22
5.2.130.0110.0369.18
5.2.120.0160.0319.18
5.2.110.0150.0349.18
5.2.100.0090.0379.19
5.2.90.0120.0349.18
5.2.80.0140.0339.17
5.2.70.0130.0359.17
5.2.60.0110.0379.13
5.2.50.0120.0369.09
5.2.40.0070.0409.07
5.2.30.0110.0369.05
5.2.20.0400.0369.04
5.2.10.0110.0348.95
5.2.00.0130.0338.80
5.1.60.0100.0308.09
5.1.50.0110.0298.08
5.1.40.0090.0308.07
5.1.30.0120.0298.41
5.1.20.0140.0278.45
5.1.10.0130.0298.16
5.1.00.0130.0288.16
5.0.50.0070.0296.64
5.0.40.0110.0216.49
5.0.30.0160.0306.31
5.0.20.0110.0226.29
5.0.10.0110.0226.25
5.0.00.0100.0346.25
4.4.90.0090.0164.78
4.4.80.0080.0174.75
4.4.70.0120.0154.75
4.4.60.0100.0164.76
4.4.50.0090.0194.77
4.4.40.0050.0314.71
4.4.30.0050.0214.76
4.4.20.0070.0194.85
4.4.10.0070.0194.84
4.4.00.0040.0334.76
4.3.110.0080.0164.67
4.3.100.0060.0184.66
4.3.90.0100.0134.64
4.3.80.0060.0284.58
4.3.70.0060.0174.63
4.3.60.0050.0184.63
4.3.50.0090.0154.63
4.3.40.0060.0274.54
4.3.30.0040.0193.30
4.3.20.0040.0193.29
4.3.10.0020.0203.24
4.3.00.0030.0237.83

preferences:
41.21 ms | 401 KiB | 5 Q