```
Warning: Parameter 1 to Language::findVariantLink() expected to be a reference, value given in /srv/mediawiki/php-1.25wmf11/includes/StubObject.php on line 105
Warning: Parameter 2 to Language::findVariantLink() expected to be a reference, value given in /srv/mediawiki/php-1.25wmf11/includes/StubObject.php on line 105
```
```
public function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) {
```
When `$wgLang` or `$wgContLang` is a `StubObject`, `StubObject::__call()` will intercept the method call and then delegate to `StubObject::_call()` to unstub the global and dispatch the call to it. This double indirection (and maybe any indirection?) breaks the ability of HHVM to determine that the arguments passed from the original caller's scope should be references rather than values.