3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public static function doSomething() { echo "Did it!\n"; } } $r = new ReflectionMethod('MyClass', 'doSomething'); $args = array(); $r->invoke('WTF?', array()); $r->invokeArgs('MyClass', $args);

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.4.10.0030.00619.46
8.3.140.0040.00418.96
8.3.130.0030.00616.73
8.3.120.0130.00320.70
8.3.110.0080.00016.54
8.3.100.0090.00016.75
8.3.90.0030.00516.63
8.3.80.0040.00716.65
8.3.70.0100.01016.58
8.3.60.0030.01716.63
8.3.50.0140.00421.92
8.3.40.0030.01418.67
8.3.30.0040.01118.70
8.3.20.0040.00421.89
8.3.10.0070.00021.88
8.3.00.0080.00019.85
8.2.260.0160.00316.89
8.2.250.0040.00418.30
8.2.240.0040.00418.93
8.2.230.0080.00020.94
8.2.220.0030.00624.06
8.2.210.0040.00426.77
8.2.200.0060.00316.63
8.2.190.0150.00616.63
8.2.180.0070.00725.92
8.2.170.0090.00922.96
8.2.160.0070.00720.38
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.23
8.2.110.0030.00620.88
8.2.100.0000.01119.39
8.2.90.0040.00418.03
8.2.80.0000.00918.86
8.2.70.0000.00917.63
8.2.60.0000.00917.63
8.2.50.0030.00517.63
8.2.40.0000.00822.32
8.2.30.0000.00719.22
8.2.20.0070.00017.68
8.2.10.0040.00418.00
8.2.00.0060.00317.98
8.1.310.0100.00016.06
8.1.300.0040.00418.56
8.1.290.0090.00030.84
8.1.280.0150.00325.92
8.1.270.0030.01023.84
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00022.19
8.1.230.0070.00720.72
8.1.220.0080.00017.76
8.1.210.0030.00518.97
8.1.200.0050.00517.30
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0030.00322.14
8.1.150.0070.00018.88
8.1.140.0030.00519.56
8.1.130.0030.00317.43
8.1.120.0030.00317.42
8.1.110.0040.00417.41
8.1.100.0070.00317.38
8.1.90.0040.00417.39
8.1.80.0040.00417.38
8.1.70.0070.00017.37
8.1.60.0040.00417.41
8.1.50.0080.00017.41
8.1.40.0000.00817.39
8.1.30.0040.00417.60
8.1.20.0040.00417.73
8.1.10.0040.00417.55
8.1.00.0000.00717.51
8.0.300.0000.00720.14
8.0.290.0040.00416.75
8.0.280.0030.00318.39
8.0.270.0040.00416.86
8.0.260.0030.00316.75
8.0.250.0030.00316.98
8.0.240.0040.00416.96
8.0.230.0000.00816.86
8.0.220.0030.00316.89
8.0.210.0000.00716.96
8.0.200.0000.00616.97
8.0.190.0000.00816.97
8.0.180.0000.00716.97
8.0.170.0000.00716.89
8.0.160.0040.00416.90
8.0.150.0070.00016.96
8.0.140.0050.00316.92
8.0.130.0000.00613.25
8.0.120.0040.00416.77
8.0.110.0050.00316.92
8.0.100.0050.00216.85
8.0.90.0000.00716.70
8.0.80.0000.01416.90
8.0.70.0060.00316.95
8.0.60.0070.00016.87
8.0.50.0000.00816.99
8.0.30.0120.00517.21
8.0.20.0070.01117.40
8.0.10.0080.00017.03
8.0.00.0090.01516.96
7.4.330.0050.00015.08
7.4.320.0000.00616.37
7.4.300.0030.00316.44
7.4.290.0070.00016.34
7.4.280.0030.00616.42
7.4.270.0030.00316.56
7.4.260.0030.00316.43
7.4.250.0060.00316.51
7.4.240.0020.00516.42
7.4.230.0030.00316.56
7.4.220.0090.01216.64
7.4.210.0070.01016.48
7.4.200.0000.00716.37
7.4.160.0060.00916.52
7.4.150.0080.00817.40
7.4.140.0090.00917.86
7.4.130.0070.00916.46
7.4.120.0110.01216.41
7.4.110.0080.00816.62
7.4.100.0180.00016.63
7.4.90.0130.00516.63
7.4.80.0130.00319.39
7.4.70.0070.01016.55
7.4.60.0030.01316.30
7.4.50.0030.01016.20
7.4.40.0140.00416.50
7.4.30.0070.01016.39
7.4.00.0000.01314.96
7.3.330.0050.00013.07
7.3.320.0060.00013.26
7.3.310.0070.00016.29
7.3.300.0000.00716.20
7.3.290.0050.01116.24
7.3.280.0040.01516.21
7.3.270.0070.01017.40
7.3.260.0030.01316.33
7.3.250.0100.00816.27
7.3.240.0090.01216.36
7.3.230.0030.01316.39
7.3.210.0070.01016.14
7.3.200.0090.01016.31
7.3.190.0030.01316.20
7.3.180.0140.00716.49
7.3.170.0160.00616.44
7.3.160.0100.00716.30
7.3.120.0060.00914.92
7.3.110.0040.01114.92
7.3.100.0100.00714.39
7.3.90.0070.00714.53
7.3.80.0040.01115.04
7.3.70.0000.01514.54
7.3.60.0070.00714.66
7.3.50.0070.00414.73
7.3.40.0120.00014.71
7.3.30.0100.00314.57
7.3.20.0030.00616.58
7.3.10.0060.00816.55
7.3.00.0070.00716.29
7.2.330.0100.01016.68
7.2.320.0110.00916.26
7.2.310.0110.00516.36
7.2.300.0090.01216.51
7.2.290.0150.00716.52
7.2.240.0030.00914.77
7.2.230.0030.00915.10
7.2.220.0030.01314.76
7.2.210.0060.00914.96
7.2.200.0070.00414.99
7.2.190.0090.00615.03
7.2.180.0030.01014.81
7.2.170.0060.00914.77
7.2.160.0030.01314.93
7.2.150.0000.01416.84
7.2.140.0030.00516.77
7.2.130.0030.01016.68
7.2.120.0030.00716.76
7.2.110.0060.00616.45
7.2.100.0030.01316.95
7.2.90.0040.00416.73
7.2.80.0070.00716.88
7.2.70.0030.01016.69
7.2.60.0060.00816.76
7.2.50.0050.00916.88
7.2.40.0060.00916.89
7.2.30.0000.01516.73
7.2.20.0000.01416.68
7.2.10.0030.01016.85
7.2.00.0060.00316.66
7.1.330.0030.01215.71
7.1.320.0030.00915.46
7.1.310.0060.00615.78
7.1.300.0070.00715.79
7.1.290.0090.00615.74
7.1.280.0030.00915.44
7.1.270.0030.01015.38
7.1.260.0000.01215.81
7.1.250.0130.00315.52
7.1.200.0030.00615.79
7.1.70.0050.00217.11
7.1.60.0040.00819.75
7.1.50.0100.01416.83
7.1.00.0030.07722.41
7.0.200.0250.00715.02
7.0.90.0670.08019.98
7.0.80.0530.06319.93
7.0.70.0530.09020.01
7.0.60.0370.06019.95
7.0.50.0430.05720.33
7.0.40.0200.05020.23
7.0.30.0570.06320.43
7.0.20.0370.06720.21
7.0.10.0270.08020.33
7.0.00.0470.06320.22
5.6.240.0170.08320.72
5.6.230.0230.07320.53
5.6.220.0200.05720.48
5.6.210.0170.05720.59
5.6.200.0130.06021.11
5.6.190.0100.06721.18
5.6.180.0130.05721.12
5.6.170.0100.06321.08
5.6.160.0130.06321.02
5.6.150.0170.06321.06
5.6.140.0200.05321.09
5.6.130.0200.06721.18
5.6.120.0170.07321.01
5.6.110.0130.09021.09
5.6.100.0030.07021.00
5.6.90.0130.06721.06
5.6.80.0130.06720.40
5.6.70.0070.06720.52
5.6.60.0130.05720.45
5.6.50.0030.07020.49
5.6.40.0170.07320.46
5.6.30.0200.05720.53
5.6.20.0200.07720.41
5.6.10.0070.08720.37
5.6.00.0130.05320.53

preferences:
16.37 ms | 403 KiB | 5 Q