function functionCallback in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit-mock-objects/tests/_fixture/FunctionCallback.php \functionCallback()
1 string reference to 'functionCallback'
- Framework_MockObjectTest::testFunctionCallback in vendor/
phpunit/ phpunit-mock-objects/ tests/ MockObjectTest.php
File
- vendor/
phpunit/ phpunit-mock-objects/ tests/ _fixture/ FunctionCallback.php, line 2
Code
function functionCallback() {
$args = func_get_args();
if ($args == array(
'foo',
'bar',
)) {
return 'pass';
}
}