public function preProcessString($str)
    {
        $str = str_replace("<?php", "", $str);
        $str = str_replace("<?", "", $str);
        $str = str_replace("?>", "", $str);
        $str = str_replace("'", "\x22", $str);

        $str = trim($str);

        return $str;
    }
public function preProcessString($str)
    {
        $str = str_replace("<?php", "", $str);
        $str = str_replace("<?", "", $str);
        $str = str_replace("?>", "", $str);
        $str = str_replace("'", "\x22", $str);

        $str = trim($str);

        return $str;
    }
public function preProcessString ( $ str ) { $ str = str_replace ( "<?php" , "" , $ str ) ; $ str = str_replace ( "<?" , "" , $ str ) ; $ str = str_replace ( "?>" , "" , $ str ) ; $ str = str_replace ( "'" , "\x22" , $ str ) ; $ str = trim ( $ str ) ; return $ str ; }
Pre-process string

@param string $str String to be parsed

@return string
Pre - process string