original_string: function ext_addslashes($text) {
          if (empty($this->config->sybasequoting)) {
              $text = str_replace('\\', '\\\\', $text);
              $text = str_replace(array('\'', '"', "\0"), array('\\\'', '\\"', '\\0'), $text);
          } else {
              $text = str_replace("'", "''", $text);
          }
          return $text;
      }
code: function ext_addslashes($text) {
          if (empty($this->config->sybasequoting)) {
              $text = str_replace('\\', '\\\\', $text);
              $text = str_replace(array('\'', '"', "\0"), array('\\\'', '\\"', '\\0'), $text);
          } else {
              $text = str_replace("'", "''", $text);
          }
          return $text;
      }
code_tokens: function ext_addslashes ( $ text ) { if ( empty ( $ this -> config -> sybasequoting ) ) { $ text = str_replace ( '\\' , '\\\\' , $ text ) ; $ text = str_replace ( array ( '\'' , '"' , "\0" ) , array ( '\\\'' , '\\"' , '\\0' ) , $ text ) ; } else { $ text = str_replace ( "'" , "''" , $ text ) ; } return $ text ; }
docstring: Add slashes, we can not use placeholders or system functions.
  
  @param string $text
  @return string
docstring_tokens: Add slashes we can not use placeholders or system functions .