public function assertionHandler($file, $line, $code)
    {
        if ($this->convertAssertionErrorsToExceptions) {
          
          $exception = new ErrorException('Assertion Failed - Code[ '.$code.' ]', 0, null, $file, $line);
    
          if ($this->throwAssertionExceptions) {
              throw $exception;
          } else {
              $this->fb($exception);
          }
        
        } else {
            $this->fb($code, 'Assertion Failed', FirePHP::ERROR, array('File'=>$file,'Line'=>$line));
        }
    }
public function assertionHandler($file, $line, $code)
    {
        if ($this->convertAssertionErrorsToExceptions) {
          
          $exception = new ErrorException('Assertion Failed - Code[ '.$code.' ]', 0, null, $file, $line);
    
          if ($this->throwAssertionExceptions) {
              throw $exception;
          } else {
              $this->fb($exception);
          }
        
        } else {
            $this->fb($code, 'Assertion Failed', FirePHP::ERROR, array('File'=>$file,'Line'=>$line));
        }
    }
public function assertionHandler ( $ file , $ line , $ code ) { if ( $ this -> convertAssertionErrorsToExceptions ) { $ exception = new ErrorException ( 'Assertion Failed - Code[ ' . $ code . ' ]' , 0 , null , $ file , $ line ) ; if ( $ this -> throwAssertionExceptions ) { throw $ exception ; } else { $ this -> fb ( $ exception ) ; } } else { $ this -> fb ( $ code , 'Assertion Failed' , FirePHP :: ERROR , array ( 'File' => $ file , 'Line' => $ line ) ) ; } }
FirePHP's assertion handler

Logs all assertions to your firebug console and then stops the script.

@param string $file File source of assertion
@param int    $line Line source of assertion
@param mixed  $code Assertion code
FirePHP s assertion handler