14 lines
197 B
PHP
14 lines
197 B
PHP
|
<?php
|
||
|
class MethodCallbackByReference
|
||
|
{
|
||
|
public function bar(&$a, &$b, $c)
|
||
|
{
|
||
|
Legacy::bar($a, $b, $c);
|
||
|
}
|
||
|
|
||
|
public function callback(&$a, &$b, $c)
|
||
|
{
|
||
|
$b = 1;
|
||
|
}
|
||
|
}
|