3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { function foo($a, $b) {} } $max = 5*1e1; $object = new A; $t = microtime (true); for ($i=0; $i<$max; $i++) { $object->foo(1, 'foo'); } echo $max.' x A::foo: '.round((microtime(true)-$t)*1e6, 2)." µs\n"; $t = microtime (true); for ($i=0; $i<$max; $i++) { call_user_func_array(array($object, 'foo'), array(1, 'foo')); } echo $max.' x call_user_func_array: '.round((microtime(true)-$t)*1e6, 2)." µs\n"; $t = microtime (true); $ref = new ReflectionMethod($object, 'foo'); for ($i=0; $i<$max; $i++) { $ref->invokeArgs($object, array(1, 'foo')); } echo $max.' x ReflectionMethod::invokeArgs: '.round((microtime(true)-$t)*1e6, 2)." µs\n"; $t = microtime (true); for ($j=0; $j<$max/10; $j++) { $ref = new ReflectionMethod($object, 'foo'); for ($i=0; $i<10; $i++) { $ref->invokeArgs($object, array(1, 'foo')); } } echo ($max/10).' x (10 x ReflectionMethod::invokeArgs): '.round((microtime(true)-$t)*1e6, 2)." µs\n";
Output for 7.1.0
50 x A::foo: 14.07 µs 50 x call_user_func_array: 15.02 µs 50 x ReflectionMethod::invokeArgs: 20.98 µs 5 x (10 x ReflectionMethod::invokeArgs): 20.03 µs
Output for 7.0.14
50 x A::foo: 13.11 µs 50 x call_user_func_array: 15.02 µs 50 x ReflectionMethod::invokeArgs: 20.98 µs 5 x (10 x ReflectionMethod::invokeArgs): 20.03 µs
Output for 7.0.6
50 x A::foo: 10.97 µs 50 x call_user_func_array: 13.11 µs 50 x ReflectionMethod::invokeArgs: 19.07 µs 5 x (10 x ReflectionMethod::invokeArgs): 18.12 µs
Output for 7.0.5
50 x A::foo: 6.2 µs 50 x call_user_func_array: 12.87 µs 50 x ReflectionMethod::invokeArgs: 20.98 µs 5 x (10 x ReflectionMethod::invokeArgs): 14.78 µs
Output for 7.0.4
50 x A::foo: 10.97 µs 50 x call_user_func_array: 12.87 µs 50 x ReflectionMethod::invokeArgs: 19.07 µs 5 x (10 x ReflectionMethod::invokeArgs): 17.88 µs
Output for 7.0.3
50 x A::foo: 10.97 µs 50 x call_user_func_array: 11.21 µs 50 x ReflectionMethod::invokeArgs: 15.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 15.02 µs
Output for 7.0.2
50 x A::foo: 12.87 µs 50 x call_user_func_array: 11.92 µs 50 x ReflectionMethod::invokeArgs: 18.84 µs 5 x (10 x ReflectionMethod::invokeArgs): 40.05 µs
Output for 7.0.1
50 x A::foo: 9.06 µs 50 x call_user_func_array: 8.11 µs 50 x ReflectionMethod::invokeArgs: 12.87 µs 5 x (10 x ReflectionMethod::invokeArgs): 12.16 µs
Output for 7.0.0
50 x A::foo: 9.06 µs 50 x call_user_func_array: 8.11 µs 50 x ReflectionMethod::invokeArgs: 11.92 µs 5 x (10 x ReflectionMethod::invokeArgs): 11.92 µs
Output for hhvm-3.12.0
50 x A::foo: 30.04 µs 50 x call_user_func_array: 36 µs 50 x ReflectionMethod::invokeArgs: 127.08 µs 5 x (10 x ReflectionMethod::invokeArgs): 103 µs
Output for hhvm-3.10.0
50 x A::foo: 15.02 µs 50 x call_user_func_array: 18.12 µs 50 x ReflectionMethod::invokeArgs: 66.04 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.98 µs
Output for 5.6.28
50 x A::foo: 25.03 µs 50 x call_user_func_array: 62.94 µs 50 x ReflectionMethod::invokeArgs: 47.92 µs 5 x (10 x ReflectionMethod::invokeArgs): 95.13 µs
Output for 5.6.21
50 x A::foo: 20.03 µs 50 x call_user_func_array: 53.17 µs 50 x ReflectionMethod::invokeArgs: 38.86 µs 5 x (10 x ReflectionMethod::invokeArgs): 36.95 µs
Output for 5.6.20
50 x A::foo: 24.08 µs 50 x call_user_func_array: 102.04 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 46.01 µs
Output for 5.6.19
50 x A::foo: 14.07 µs 50 x call_user_func_array: 32.19 µs 50 x ReflectionMethod::invokeArgs: 24.08 µs 5 x (10 x ReflectionMethod::invokeArgs): 24.8 µs
Output for 5.6.18
50 x A::foo: 16.93 µs 50 x call_user_func_array: 35.05 µs 50 x ReflectionMethod::invokeArgs: 25.99 µs 5 x (10 x ReflectionMethod::invokeArgs): 25.03 µs
Output for 5.6.17
50 x A::foo: 17.88 µs 50 x call_user_func_array: 37.91 µs 50 x ReflectionMethod::invokeArgs: 26.94 µs 5 x (10 x ReflectionMethod::invokeArgs): 25.99 µs
Output for 5.6.16
50 x A::foo: 19.07 µs 50 x call_user_func_array: 46.01 µs 50 x ReflectionMethod::invokeArgs: 33.86 µs 5 x (10 x ReflectionMethod::invokeArgs): 30.99 µs
Output for 5.6.15
50 x A::foo: 18.12 µs 50 x call_user_func_array: 51.02 µs 50 x ReflectionMethod::invokeArgs: 31.95 µs 5 x (10 x ReflectionMethod::invokeArgs): 30.04 µs
Output for 5.6.14
50 x A::foo: 24.08 µs 50 x call_user_func_array: 60.08 µs 50 x ReflectionMethod::invokeArgs: 43.87 µs 5 x (10 x ReflectionMethod::invokeArgs): 40.05 µs
Output for 5.6.13
50 x A::foo: 15.02 µs 50 x call_user_func_array: 39.1 µs 50 x ReflectionMethod::invokeArgs: 29.09 µs 5 x (10 x ReflectionMethod::invokeArgs): 25.99 µs
Output for 5.6.12
50 x A::foo: 25.99 µs 50 x call_user_func_array: 66.04 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 49.11 µs
Output for 5.6.11
50 x A::foo: 24.08 µs 50 x call_user_func_array: 77.96 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 41.01 µs
Output for 5.6.10
50 x A::foo: 21.22 µs 50 x call_user_func_array: 52.93 µs 50 x ReflectionMethod::invokeArgs: 39.1 µs 5 x (10 x ReflectionMethod::invokeArgs): 36 µs
Output for 5.6.9
50 x A::foo: 15.97 µs 50 x call_user_func_array: 40.05 µs 50 x ReflectionMethod::invokeArgs: 30.04 µs 5 x (10 x ReflectionMethod::invokeArgs): 31.95 µs
Output for 5.6.8
50 x A::foo: 18.12 µs 50 x call_user_func_array: 46.01 µs 50 x ReflectionMethod::invokeArgs: 32.9 µs 5 x (10 x ReflectionMethod::invokeArgs): 30.99 µs
Output for 5.6.7
50 x A::foo: 18.12 µs 50 x call_user_func_array: 38.86 µs 50 x ReflectionMethod::invokeArgs: 29.09 µs 5 x (10 x ReflectionMethod::invokeArgs): 26.94 µs
Output for 5.5.35
50 x A::foo: 20.98 µs 50 x call_user_func_array: 56.03 µs 50 x ReflectionMethod::invokeArgs: 40.77 µs 5 x (10 x ReflectionMethod::invokeArgs): 38.15 µs
Output for 5.5.34
50 x A::foo: 20.03 µs 50 x call_user_func_array: 49.83 µs 50 x ReflectionMethod::invokeArgs: 36 µs 5 x (10 x ReflectionMethod::invokeArgs): 33.86 µs
Output for 5.5.33
50 x A::foo: 13.83 µs 50 x call_user_func_array: 31.95 µs 50 x ReflectionMethod::invokeArgs: 25.03 µs 5 x (10 x ReflectionMethod::invokeArgs): 25.03 µs
Output for 5.5.32
50 x A::foo: 23.84 µs 50 x call_user_func_array: 51.98 µs 50 x ReflectionMethod::invokeArgs: 36.95 µs 5 x (10 x ReflectionMethod::invokeArgs): 33.86 µs
Output for 5.5.31
50 x A::foo: 25.03 µs 50 x call_user_func_array: 55.07 µs 50 x ReflectionMethod::invokeArgs: 38.86 µs 5 x (10 x ReflectionMethod::invokeArgs): 36.95 µs
Output for 5.5.30
50 x A::foo: 22.89 µs 50 x call_user_func_array: 56.98 µs 50 x ReflectionMethod::invokeArgs: 43.15 µs 5 x (10 x ReflectionMethod::invokeArgs): 38.86 µs
Output for 5.5.29
50 x A::foo: 15.97 µs 50 x call_user_func_array: 51.98 µs 50 x ReflectionMethod::invokeArgs: 35.05 µs 5 x (10 x ReflectionMethod::invokeArgs): 31.95 µs
Output for 5.5.28
50 x A::foo: 21.93 µs 50 x call_user_func_array: 57.94 µs 50 x ReflectionMethod::invokeArgs: 41.01 µs 5 x (10 x ReflectionMethod::invokeArgs): 38.15 µs
Output for 5.5.27
50 x A::foo: 20.98 µs 50 x call_user_func_array: 67.95 µs 50 x ReflectionMethod::invokeArgs: 44.11 µs 5 x (10 x ReflectionMethod::invokeArgs): 41.96 µs
Output for 5.5.26
50 x A::foo: 21.93 µs 50 x call_user_func_array: 56.98 µs 50 x ReflectionMethod::invokeArgs: 41.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 38.86 µs
Output for 5.5.25
50 x A::foo: 20.03 µs 50 x call_user_func_array: 51.98 µs 50 x ReflectionMethod::invokeArgs: 39.1 µs 5 x (10 x ReflectionMethod::invokeArgs): 36 µs
Output for 5.5.24
50 x A::foo: 15.02 µs 50 x call_user_func_array: 37.91 µs 50 x ReflectionMethod::invokeArgs: 27.89 µs 5 x (10 x ReflectionMethod::invokeArgs): 25.99 µs
Output for 5.4.45
50 x A::foo: 28.13 µs 50 x call_user_func_array: 44.11 µs 50 x ReflectionMethod::invokeArgs: 36.95 µs 5 x (10 x ReflectionMethod::invokeArgs): 35.05 µs
Output for 5.4.44
50 x A::foo: 33.14 µs 50 x call_user_func_array: 56.03 µs 50 x ReflectionMethod::invokeArgs: 39.82 µs 5 x (10 x ReflectionMethod::invokeArgs): 34.81 µs
Output for 5.4.43
50 x A::foo: 30.04 µs 50 x call_user_func_array: 45.06 µs 50 x ReflectionMethod::invokeArgs: 37.91 µs 5 x (10 x ReflectionMethod::invokeArgs): 39.1 µs
Output for 5.4.42
50 x A::foo: 25.99 µs 50 x call_user_func_array: 39.1 µs 50 x ReflectionMethod::invokeArgs: 69.14 µs 5 x (10 x ReflectionMethod::invokeArgs): 44.82 µs
Output for 5.4.41
50 x A::foo: 30.04 µs 50 x call_user_func_array: 64.85 µs 50 x ReflectionMethod::invokeArgs: 41.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 36 µs
Output for 5.4.40
50 x A::foo: 20.98 µs 50 x call_user_func_array: 41.96 µs 50 x ReflectionMethod::invokeArgs: 55.79 µs 5 x (10 x ReflectionMethod::invokeArgs): 36.95 µs
Output for 5.4.39
50 x A::foo: 25.99 µs 50 x call_user_func_array: 49.83 µs 50 x ReflectionMethod::invokeArgs: 39.1 µs 5 x (10 x ReflectionMethod::invokeArgs): 40.05 µs
Output for 5.4.38
50 x A::foo: 38.15 µs 50 x call_user_func_array: 110.86 µs 50 x ReflectionMethod::invokeArgs: 72.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 76.06 µs
Output for 5.4.37
50 x A::foo: 32.9 µs 50 x call_user_func_array: 115.16 µs 50 x ReflectionMethod::invokeArgs: 67.95 µs 5 x (10 x ReflectionMethod::invokeArgs): 68.9 µs
Output for 5.4.36
50 x A::foo: 34.09 µs 50 x call_user_func_array: 75.82 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 43.87 µs
Output for 5.4.35
50 x A::foo: 37.91 µs 50 x call_user_func_array: 72 µs 50 x ReflectionMethod::invokeArgs: 70.1 µs 5 x (10 x ReflectionMethod::invokeArgs): 73.91 µs
Output for 5.4.34
50 x A::foo: 36 µs 50 x call_user_func_array: 90.12 µs 50 x ReflectionMethod::invokeArgs: 77.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 41.96 µs
Output for 5.4.32
50 x A::foo: 31.95 µs 50 x call_user_func_array: 36.95 µs 50 x ReflectionMethod::invokeArgs: 29.09 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.03 µs
Output for 5.4.31
50 x A::foo: 21.93 µs 50 x call_user_func_array: 36 µs 50 x ReflectionMethod::invokeArgs: 42.92 µs 5 x (10 x ReflectionMethod::invokeArgs): 62.94 µs
Output for 5.4.30
50 x A::foo: 24.08 µs 50 x call_user_func_array: 37.91 µs 50 x ReflectionMethod::invokeArgs: 46.01 µs 5 x (10 x ReflectionMethod::invokeArgs): 30.99 µs
Output for 5.4.29
50 x A::foo: 23.84 µs 50 x call_user_func_array: 43.15 µs 50 x ReflectionMethod::invokeArgs: 34.81 µs 5 x (10 x ReflectionMethod::invokeArgs): 35.05 µs
Output for 5.4.28
50 x A::foo: 24.08 µs 50 x call_user_func_array: 141.14 µs 50 x ReflectionMethod::invokeArgs: 45.06 µs 5 x (10 x ReflectionMethod::invokeArgs): 34.09 µs
Output for 5.4.27
50 x A::foo: 48.88 µs 50 x call_user_func_array: 40.05 µs 50 x ReflectionMethod::invokeArgs: 46.01 µs 5 x (10 x ReflectionMethod::invokeArgs): 50.07 µs
Output for 5.4.26
50 x A::foo: 25.99 µs 50 x call_user_func_array: 92.98 µs 50 x ReflectionMethod::invokeArgs: 95.84 µs 5 x (10 x ReflectionMethod::invokeArgs): 87.02 µs
Output for 5.4.25
50 x A::foo: 35.05 µs 50 x call_user_func_array: 84.88 µs 50 x ReflectionMethod::invokeArgs: 36 µs 5 x (10 x ReflectionMethod::invokeArgs): 42.92 µs
Output for 5.4.24
50 x A::foo: 26.94 µs 50 x call_user_func_array: 40.05 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 46.97 µs
Output for 5.4.23
50 x A::foo: 31.95 µs 50 x call_user_func_array: 87.98 µs 50 x ReflectionMethod::invokeArgs: 106.81 µs 5 x (10 x ReflectionMethod::invokeArgs): 123.02 µs
Output for 5.4.22
50 x A::foo: 36.95 µs 50 x call_user_func_array: 89.17 µs 50 x ReflectionMethod::invokeArgs: 144 µs 5 x (10 x ReflectionMethod::invokeArgs): 63.9 µs
Output for 5.4.21
50 x A::foo: 46.97 µs 50 x call_user_func_array: 100.85 µs 50 x ReflectionMethod::invokeArgs: 77.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 80.11 µs
Output for 5.4.20
50 x A::foo: 36.95 µs 50 x call_user_func_array: 92.98 µs 50 x ReflectionMethod::invokeArgs: 66.04 µs 5 x (10 x ReflectionMethod::invokeArgs): 68.9 µs
Output for 5.4.19
50 x A::foo: 35.05 µs 50 x call_user_func_array: 64.85 µs 50 x ReflectionMethod::invokeArgs: 49.11 µs 5 x (10 x ReflectionMethod::invokeArgs): 52.93 µs
Output for 5.4.18
50 x A::foo: 26.94 µs 50 x call_user_func_array: 72.96 µs 50 x ReflectionMethod::invokeArgs: 131.85 µs 5 x (10 x ReflectionMethod::invokeArgs): 168.09 µs
Output for 5.4.17
50 x A::foo: 25.99 µs 50 x call_user_func_array: 38.86 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 39.1 µs
Output for 5.4.16
50 x A::foo: 58.17 µs 50 x call_user_func_array: 86.07 µs 50 x ReflectionMethod::invokeArgs: 32.19 µs 5 x (10 x ReflectionMethod::invokeArgs): 36 µs
Output for 5.4.15
50 x A::foo: 49.83 µs 50 x call_user_func_array: 94.89 µs 50 x ReflectionMethod::invokeArgs: 79.87 µs 5 x (10 x ReflectionMethod::invokeArgs): 77.96 µs
Output for 5.4.14
50 x A::foo: 32.9 µs 50 x call_user_func_array: 92.98 µs 50 x ReflectionMethod::invokeArgs: 63.9 µs 5 x (10 x ReflectionMethod::invokeArgs): 68.9 µs
Output for 5.4.13
50 x A::foo: 26.94 µs 50 x call_user_func_array: 42.92 µs 50 x ReflectionMethod::invokeArgs: 49.11 µs 5 x (10 x ReflectionMethod::invokeArgs): 77.01 µs
Output for 5.4.12
50 x A::foo: 28.13 µs 50 x call_user_func_array: 87.98 µs 50 x ReflectionMethod::invokeArgs: 35.05 µs 5 x (10 x ReflectionMethod::invokeArgs): 51.98 µs
Output for 5.4.11
50 x A::foo: 38.15 µs 50 x call_user_func_array: 95.84 µs 50 x ReflectionMethod::invokeArgs: 109.91 µs 5 x (10 x ReflectionMethod::invokeArgs): 126.12 µs
Output for 5.4.10
50 x A::foo: 7081.03 µs 50 x call_user_func_array: 81.06 µs 50 x ReflectionMethod::invokeArgs: 61.04 µs 5 x (10 x ReflectionMethod::invokeArgs): 67 µs
Output for 5.4.9
50 x A::foo: 25.99 µs 50 x call_user_func_array: 111.1 µs 50 x ReflectionMethod::invokeArgs: 83.92 µs 5 x (10 x ReflectionMethod::invokeArgs): 183.11 µs
Output for 5.4.8
50 x A::foo: 33.86 µs 50 x call_user_func_array: 118.97 µs 50 x ReflectionMethod::invokeArgs: 77.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 103 µs
Output for 5.4.7
50 x A::foo: 40.05 µs 50 x call_user_func_array: 111.1 µs 50 x ReflectionMethod::invokeArgs: 81.06 µs 5 x (10 x ReflectionMethod::invokeArgs): 38.15 µs
Output for 5.4.6
50 x A::foo: 40.05 µs 50 x call_user_func_array: 72 µs 50 x ReflectionMethod::invokeArgs: 38.86 µs 5 x (10 x ReflectionMethod::invokeArgs): 36 µs
Output for 5.4.5
50 x A::foo: 38.86 µs 50 x call_user_func_array: 101.09 µs 50 x ReflectionMethod::invokeArgs: 68.19 µs 5 x (10 x ReflectionMethod::invokeArgs): 65.09 µs
Output for 5.4.4
50 x A::foo: 37.91 µs 50 x call_user_func_array: 90.12 µs 50 x ReflectionMethod::invokeArgs: 104.9 µs 5 x (10 x ReflectionMethod::invokeArgs): 92.98 µs
Output for 5.4.3
50 x A::foo: 33.86 µs 50 x call_user_func_array: 100.14 µs 50 x ReflectionMethod::invokeArgs: 71.05 µs 5 x (10 x ReflectionMethod::invokeArgs): 103.95 µs
Output for 5.4.2
50 x A::foo: 36 µs 50 x call_user_func_array: 110.15 µs 50 x ReflectionMethod::invokeArgs: 79.87 µs 5 x (10 x ReflectionMethod::invokeArgs): 75.82 µs
Output for 5.4.1
50 x A::foo: 25.99 µs 50 x call_user_func_array: 91.08 µs 50 x ReflectionMethod::invokeArgs: 80.11 µs 5 x (10 x ReflectionMethod::invokeArgs): 0 µs
Output for 5.4.0
50 x A::foo: 37.91 µs 50 x call_user_func_array: 113.96 µs 50 x ReflectionMethod::invokeArgs: 83.92 µs 5 x (10 x ReflectionMethod::invokeArgs): 259.16 µs
Output for 5.3.29
50 x A::foo: 36 µs 50 x call_user_func_array: 81.06 µs 50 x ReflectionMethod::invokeArgs: 55.79 µs 5 x (10 x ReflectionMethod::invokeArgs): 58.17 µs
Output for 5.3.28
50 x A::foo: 40.05 µs 50 x call_user_func_array: 103.95 µs 50 x ReflectionMethod::invokeArgs: 82.02 µs 5 x (10 x ReflectionMethod::invokeArgs): 125.17 µs
Output for 5.3.27
50 x A::foo: 44.11 µs 50 x call_user_func_array: 113.01 µs 50 x ReflectionMethod::invokeArgs: 89.88 µs 5 x (10 x ReflectionMethod::invokeArgs): 113.01 µs
Output for 5.3.26
50 x A::foo: 26.94 µs 50 x call_user_func_array: 111.1 µs 50 x ReflectionMethod::invokeArgs: 81.06 µs 5 x (10 x ReflectionMethod::invokeArgs): 73.19 µs
Output for 5.3.25
50 x A::foo: 40.05 µs 50 x call_user_func_array: 79.15 µs 50 x ReflectionMethod::invokeArgs: 80.11 µs 5 x (10 x ReflectionMethod::invokeArgs): 21.93 µs
Output for 5.3.24
50 x A::foo: 29.09 µs 50 x call_user_func_array: 82.02 µs 50 x ReflectionMethod::invokeArgs: 47.92 µs 5 x (10 x ReflectionMethod::invokeArgs): 42.92 µs
Output for 5.3.23
50 x A::foo: 25.99 µs 50 x call_user_func_array: 51.02 µs 50 x ReflectionMethod::invokeArgs: 47.92 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.03 µs
Output for 5.3.22
50 x A::foo: 32.19 µs 50 x call_user_func_array: 83.92 µs 50 x ReflectionMethod::invokeArgs: 49.11 µs 5 x (10 x ReflectionMethod::invokeArgs): 45.06 µs
Output for 5.3.21
50 x A::foo: 26.23 µs 50 x call_user_func_array: 41.96 µs 50 x ReflectionMethod::invokeArgs: 53.88 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.03 µs
Output for 5.3.20
50 x A::foo: 41.96 µs 50 x call_user_func_array: 44.82 µs 50 x ReflectionMethod::invokeArgs: 6546.02 µs 5 x (10 x ReflectionMethod::invokeArgs): 117.06 µs
Output for 5.3.19
50 x A::foo: 27.18 µs 50 x call_user_func_array: 45.06 µs 50 x ReflectionMethod::invokeArgs: 56.03 µs 5 x (10 x ReflectionMethod::invokeArgs): 53.17 µs
Output for 5.3.18
50 x A::foo: 41.01 µs 50 x call_user_func_array: 77.96 µs 50 x ReflectionMethod::invokeArgs: 40.05 µs 5 x (10 x ReflectionMethod::invokeArgs): 39.1 µs
Output for 5.3.17
50 x A::foo: 25.99 µs 50 x call_user_func_array: 97.99 µs 50 x ReflectionMethod::invokeArgs: 65.8 µs 5 x (10 x ReflectionMethod::invokeArgs): 72.96 µs
Output for 5.3.16
50 x A::foo: 40.05 µs 50 x call_user_func_array: 1485.11 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 40.05 µs
Output for 5.3.15
50 x A::foo: 29.09 µs 50 x call_user_func_array: 85.12 µs 50 x ReflectionMethod::invokeArgs: 104.9 µs 5 x (10 x ReflectionMethod::invokeArgs): 57.94 µs
Output for 5.3.14
50 x A::foo: 25.99 µs 50 x call_user_func_array: 46.01 µs 50 x ReflectionMethod::invokeArgs: 52.93 µs 5 x (10 x ReflectionMethod::invokeArgs): 54.12 µs
Output for 5.3.13
50 x A::foo: 126.84 µs 50 x call_user_func_array: 154.02 µs 50 x ReflectionMethod::invokeArgs: 164.99 µs 5 x (10 x ReflectionMethod::invokeArgs): 146.87 µs
Output for 5.3.12
50 x A::foo: 37.91 µs 50 x call_user_func_array: 61.99 µs 50 x ReflectionMethod::invokeArgs: 45.78 µs 5 x (10 x ReflectionMethod::invokeArgs): 41.01 µs
Output for 5.3.11
50 x A::foo: 56.98 µs 50 x call_user_func_array: 176.91 µs 50 x ReflectionMethod::invokeArgs: 57.94 µs 5 x (10 x ReflectionMethod::invokeArgs): 40.05 µs
Output for 5.3.10
50 x A::foo: 244.86 µs 50 x call_user_func_array: 44.82 µs 50 x ReflectionMethod::invokeArgs: 56.03 µs 5 x (10 x ReflectionMethod::invokeArgs): 221.01 µs
Output for 5.3.9
50 x A::foo: 25.03 µs 50 x call_user_func_array: 92.98 µs 50 x ReflectionMethod::invokeArgs: 44.82 µs 5 x (10 x ReflectionMethod::invokeArgs): 38.15 µs
Output for 5.3.8
50 x A::foo: 26.94 µs 50 x call_user_func_array: 58.17 µs 50 x ReflectionMethod::invokeArgs: 61.99 µs 5 x (10 x ReflectionMethod::invokeArgs): 41.01 µs
Output for 5.3.7
50 x A::foo: 28.85 µs 50 x call_user_func_array: 42.92 µs 50 x ReflectionMethod::invokeArgs: 87.02 µs 5 x (10 x ReflectionMethod::invokeArgs): 668.05 µs
Output for 5.3.6
50 x A::foo: 41.01 µs 50 x call_user_func_array: 98.94 µs 50 x ReflectionMethod::invokeArgs: 97.04 µs 5 x (10 x ReflectionMethod::invokeArgs): 72.96 µs
Output for 5.3.5
50 x A::foo: 27.89 µs 50 x call_user_func_array: 41.01 µs 50 x ReflectionMethod::invokeArgs: 34.09 µs 5 x (10 x ReflectionMethod::invokeArgs): 36.95 µs
Output for 5.3.4
50 x A::foo: 28.13 µs 50 x call_user_func_array: 87.98 µs 50 x ReflectionMethod::invokeArgs: 35.05 µs 5 x (10 x ReflectionMethod::invokeArgs): 37.91 µs
Output for 5.3.3
50 x A::foo: 26.94 µs 50 x call_user_func_array: 161.17 µs 50 x ReflectionMethod::invokeArgs: 36 µs 5 x (10 x ReflectionMethod::invokeArgs): 37.91 µs
Output for 5.3.2
50 x A::foo: 25.99 µs 50 x call_user_func_array: 56.03 µs 50 x ReflectionMethod::invokeArgs: 39.1 µs 5 x (10 x ReflectionMethod::invokeArgs): 52.93 µs
Output for 5.3.1
50 x A::foo: 25.99 µs 50 x call_user_func_array: 59.13 µs 50 x ReflectionMethod::invokeArgs: 41.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.03 µs
Output for 5.3.0
50 x A::foo: 38.86 µs 50 x call_user_func_array: 53.88 µs 50 x ReflectionMethod::invokeArgs: 59.13 µs 5 x (10 x ReflectionMethod::invokeArgs): 78.92 µs
Output for 5.2.17
50 x A::foo: 30.04 µs 50 x call_user_func_array: 51.98 µs 50 x ReflectionMethod::invokeArgs: 94.89 µs 5 x (10 x ReflectionMethod::invokeArgs): 40.05 µs
Output for 5.2.16
50 x A::foo: 32.19 µs 50 x call_user_func_array: 183.82 µs 50 x ReflectionMethod::invokeArgs: 122.07 µs 5 x (10 x ReflectionMethod::invokeArgs): 117.06 µs
Output for 5.2.15
50 x A::foo: 45.06 µs 50 x call_user_func_array: 129.94 µs 50 x ReflectionMethod::invokeArgs: 111.1 µs 5 x (10 x ReflectionMethod::invokeArgs): 59.13 µs
Output for 5.2.14
50 x A::foo: 46.97 µs 50 x call_user_func_array: 92.98 µs 50 x ReflectionMethod::invokeArgs: 55.07 µs 5 x (10 x ReflectionMethod::invokeArgs): 52.93 µs
Output for 5.2.13
50 x A::foo: 33.14 µs 50 x call_user_func_array: 97.99 µs 50 x ReflectionMethod::invokeArgs: 57.94 µs 5 x (10 x ReflectionMethod::invokeArgs): 62.94 µs
Output for 5.2.12
50 x A::foo: 32.19 µs 50 x call_user_func_array: 51.98 µs 50 x ReflectionMethod::invokeArgs: 38.15 µs 5 x (10 x ReflectionMethod::invokeArgs): 38.15 µs
Output for 5.2.11
50 x A::foo: 33.14 µs 50 x call_user_func_array: 96.08 µs 50 x ReflectionMethod::invokeArgs: 56.98 µs 5 x (10 x ReflectionMethod::invokeArgs): 41.01 µs
Output for 5.2.10
50 x A::foo: 45.06 µs 50 x call_user_func_array: 176.91 µs 50 x ReflectionMethod::invokeArgs: 41.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.03 µs
Output for 5.2.9
50 x A::foo: 30.04 µs 50 x call_user_func_array: 92.98 µs 50 x ReflectionMethod::invokeArgs: 53.88 µs 5 x (10 x ReflectionMethod::invokeArgs): 55.07 µs
Output for 5.2.8
50 x A::foo: 41.01 µs 50 x call_user_func_array: 73.91 µs 50 x ReflectionMethod::invokeArgs: 46.01 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.03 µs
Output for 5.2.7
50 x A::foo: 47.92 µs 50 x call_user_func_array: 124.93 µs 50 x ReflectionMethod::invokeArgs: 144 µs 5 x (10 x ReflectionMethod::invokeArgs): 162.84 µs
Output for 5.2.6
50 x A::foo: 2093.08 µs 50 x call_user_func_array: 61.04 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 40.05 µs
Output for 5.2.5
50 x A::foo: 51.98 µs 50 x call_user_func_array: 67.95 µs 50 x ReflectionMethod::invokeArgs: 58.89 µs 5 x (10 x ReflectionMethod::invokeArgs): 44.11 µs
Output for 5.2.4
50 x A::foo: 44.82 µs 50 x call_user_func_array: 1231.91 µs 50 x ReflectionMethod::invokeArgs: 95.13 µs 5 x (10 x ReflectionMethod::invokeArgs): 816.11 µs
Output for 5.2.3
50 x A::foo: 30.99 µs 50 x call_user_func_array: 58.17 µs 50 x ReflectionMethod::invokeArgs: 41.01 µs 5 x (10 x ReflectionMethod::invokeArgs): 59.13 µs
Output for 5.2.2
50 x A::foo: 46.01 µs 50 x call_user_func_array: 62.94 µs 50 x ReflectionMethod::invokeArgs: 41.96 µs 5 x (10 x ReflectionMethod::invokeArgs): 56.98 µs
Output for 5.2.1
50 x A::foo: 32.9 µs 50 x call_user_func_array: 80.11 µs 50 x ReflectionMethod::invokeArgs: 87.98 µs 5 x (10 x ReflectionMethod::invokeArgs): 64.13 µs
Output for 5.2.0
50 x A::foo: 73.19 µs 50 x call_user_func_array: 104.9 µs 50 x ReflectionMethod::invokeArgs: 189.78 µs 5 x (10 x ReflectionMethod::invokeArgs): 193.12 µs
Output for 5.1.6
50 x A::foo: 33.86 µs 50 x call_user_func_array: 51.98 µs 50 x ReflectionMethod::invokeArgs: 36.95 µs 5 x (10 x ReflectionMethod::invokeArgs): 54.12 µs
Output for 5.1.5
50 x A::foo: 31.95 µs 50 x call_user_func_array: 55.07 µs 50 x ReflectionMethod::invokeArgs: 38.15 µs 5 x (10 x ReflectionMethod::invokeArgs): 52.93 µs
Output for 5.1.4
50 x A::foo: 34.09 µs 50 x call_user_func_array: 61.04 µs 50 x ReflectionMethod::invokeArgs: 41.01 µs 5 x (10 x ReflectionMethod::invokeArgs): 53.88 µs
Output for 5.1.3
50 x A::foo: 39.1 µs 50 x call_user_func_array: 79.15 µs 50 x ReflectionMethod::invokeArgs: 46.97 µs 5 x (10 x ReflectionMethod::invokeArgs): 3.1 µs
Output for 5.1.2
50 x A::foo: 56.03 µs 50 x call_user_func_array: 52.93 µs 50 x ReflectionMethod::invokeArgs: 36 µs 5 x (10 x ReflectionMethod::invokeArgs): 52.93 µs
Output for 5.1.1
50 x A::foo: 35.05 µs 50 x call_user_func_array: 53.88 µs 50 x ReflectionMethod::invokeArgs: 37.91 µs 5 x (10 x ReflectionMethod::invokeArgs): 52.93 µs
Output for 5.1.0
50 x A::foo: 48.16 µs 50 x call_user_func_array: 103.95 µs 50 x ReflectionMethod::invokeArgs: 139 µs 5 x (10 x ReflectionMethod::invokeArgs): 88.93 µs
Output for 5.0.5
50 x A::foo: 43.15 µs 50 x call_user_func_array: 77.01 µs Fatal error: Call to undefined method ReflectionMethod::invokeArgs() in /in/MZGjr on line 24
Process exited with code 255.
Output for 5.0.4
50 x A::foo: 65.09 µs 50 x call_user_func_array: 158.07 µs Fatal error: Call to undefined method ReflectionMethod::invokeArgs() in /in/MZGjr on line 24
Process exited with code 255.
Output for 5.0.3
50 x A::foo: 90.12 µs 50 x call_user_func_array: 82.97 µs Fatal error: Call to undefined method ReflectionMethod::invokeArgs() in /in/MZGjr on line 24
Process exited with code 255.
Output for 5.0.2
50 x A::foo: 74.86 µs 50 x call_user_func_array: 128.03 µs Fatal error: Call to undefined method ReflectionMethod::invokeArgs() in /in/MZGjr on line 24
Process exited with code 255.
Output for 5.0.1
50 x A::foo: 45.06 µs 50 x call_user_func_array: 82.02 µs Fatal error: Call to undefined method ReflectionMethod::invokeArgs() in /in/MZGjr on line 24
Process exited with code 255.
Output for 5.0.0
50 x A::foo: 41.96 µs 50 x call_user_func_array: 59.84 µs Fatal error: Call to undefined method ReflectionMethod::invokeArgs() in /in/MZGjr on line 24
Process exited with code 255.
Output for 4.4.9
50 x A::foo: 54 µs 50 x call_user_func_array: 99 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.8
50 x A::foo: 53 µs 50 x call_user_func_array: 80 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.7
50 x A::foo: 54 µs 50 x call_user_func_array: 85 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.6
50 x A::foo: 84 µs 50 x call_user_func_array: 123 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.5
50 x A::foo: 247 µs 50 x call_user_func_array: 58 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.4
50 x A::foo: 67 µs 50 x call_user_func_array: 123 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.3
50 x A::foo: 53 µs 50 x call_user_func_array: 61 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.2
50 x A::foo: 0 µs 50 x call_user_func_array: 13 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.1
50 x A::foo: 86 µs 50 x call_user_func_array: 138 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.4.0
50 x A::foo: 89 µs 50 x call_user_func_array: 141 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.11
50 x A::foo: 86 µs 50 x call_user_func_array: 140 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.10
50 x A::foo: 125 µs 50 x call_user_func_array: 0 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.9
50 x A::foo: 45 µs 50 x call_user_func_array: 211 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.8
50 x A::foo: 210 µs 50 x call_user_func_array: 167 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.7
50 x A::foo: 75 µs 50 x call_user_func_array: 295 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.6
50 x A::foo: 91 µs 50 x call_user_func_array: 111 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.5
50 x A::foo: 79 µs 50 x call_user_func_array: 122 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.4
50 x A::foo: 50 µs 50 x call_user_func_array: 60 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.3
50 x A::foo: 74 µs 50 x call_user_func_array: 177 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.2
50 x A::foo: 46 µs 50 x call_user_func_array: 70 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Process exited with code 255.
Output for 4.3.1
50 x A::foo: 68 µs 50 x call_user_func_array: 102 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22
Output for 4.3.0
50 x A::foo: 55 µs 50 x call_user_func_array: 82 µs Fatal error: Cannot instantiate non-existent class: reflectionmethod in /in/MZGjr on line 22