- Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.30, 5.6.7 - 5.6.14
- Fatal error: Call-time pass-by-reference has been removed in /in/ai9mg on line 11
Process exited with code 255.
<?php
class A {
public function exec(array $context) {
$context['bla'] = 'hoi';
}
}
class B extends A {
public function exec(array $context) {
parent::exec(&$context);
var_dump($context);
}
}
$b = new B();
$b->exec([]);