Possible duplicate:
Invalid call transfer time
While it can be registered somewhere on the Internet, I cannot find a solution to my problem. Starting with the PHP 5.4 update, skipped links are removed.
Now I have a problem with this section of code, and I hope someone can see what I'm trying to do with it so that they can help me with a solution to overcome my forwarding problem.
Below is the code:
public function trigger_hooks( $command, &$client, $input ) { if( isset( $this->hooks[$command] ) ) { foreach( $this->hooks[$command] as $func ) { PS3socket::debug( 'Triggering Hook \'' . $func . '\' for \'' . $command . '\'' ); $continue = call_user_func( $func, &$this, &$client, $input ); if( $continue === FALSE ) { break; } } } }
.
function pass-by-reference public php class
Sam Smith Sep 07 '12 at 17:33 2012-09-07 17:33
source share