Library/Statements/ThrowStatement.php
private function throwStringException(CodePrinter $printer, $class, $message, $expression)
    {
        $message = add_slashes($message);
        $path = Compiler::getShortUserPath($expression['file']);
        $printer->output(
            sprintf(
                'ZEPHIR_THROW_EXCEPTION_DEBUG_STR(%s, "%s", "%s", %s);',
                $class,
                $message,
                $path,
                $expression['line']
            )
        );
        $printer->output('return;');
    }
private function throwStringException(CodePrinter $printer, $class, $message, $expression)
    {
        $message = add_slashes($message);
        $path = Compiler::getShortUserPath($expression['file']);
        $printer->output(
            sprintf(
                'ZEPHIR_THROW_EXCEPTION_DEBUG_STR(%s, "%s", "%s", %s);',
                $class,
                $message,
                $path,
                $expression['line']
            )
        );
        $printer->output('return;');
    }
private function throwStringException ( CodePrinter $ printer , $ class , $ message , $ expression ) { $ message = add_slashes ( $ message ) ; $ path = Compiler :: getShortUserPath ( $ expression [ 'file' ] ) ; $ printer -> output ( sprintf ( 'ZEPHIR_THROW_EXCEPTION_DEBUG_STR(%s, "%s", "%s", %s);' , $ class , $ message , $ path , $ expression [ 'line' ] ) ) ; $ printer -> output ( 'return;' ) ; }
Throws an exception escaping the data.

@param CodePrinter $printer
@param string      $class
@param string      $message
@param array       $expression
Throws an exception escaping the data .