Drupal investigation

MethodCallbackByReference.php 197B

1234567891011121314
  1. <?php
  2. class MethodCallbackByReference
  3. {
  4. public function bar(&$a, &$b, $c)
  5. {
  6. Legacy::bar($a, $b, $c);
  7. }
  8. public function callback(&$a, &$b, $c)
  9. {
  10. $b = 1;
  11. }
  12. }