PhpAmqpLib/Wire/IO/AbstractIO.php
public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = null)
    {
        // throwing an exception in an error handler will halt execution
        //   set the last error and continue
        $this->last_error = compact('errno', 'errstr', 'errfile', 'errline', 'errcontext');
    }
public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = null)
    {
        // throwing an exception in an error handler will halt execution
        //   set the last error and continue
        $this->last_error = compact('errno', 'errstr', 'errfile', 'errline', 'errcontext');
    }
public function error_handler ( $ errno , $ errstr , $ errfile , $ errline , $ errcontext = null ) { // throwing an exception in an error handler will halt execution //   set the last error and continue $ this -> last_error = compact ( 'errno' , 'errstr' , 'errfile' , 'errline' , 'errcontext' ) ; }
Internal error handler to deal with stream and socket errors.

@param  int $errno
@param  string $errstr
@param  string $errfile
@param  int $errline
@param  array $errcontext
@return void
Internal error handler to deal with stream and socket errors .