Performance tests: Default argumentsat 2006-08-15 in Experiments by friebe (0 comments) Assume we have the following function:<?php What's faster? Calling it via fixture(1, 2) or supplying all the default arguments (fixture(1, 2, array(1, 2), NULL, 'foo');). The answer is: It's equivalent. See this experiment for details. |
|