/** * Escapes non-alphanumeric characters to \HH+space */ void zephir_escape_css(zval *return_value, zval *param) { zephir_escape_multi(return_value, param, "\\", sizeof("\\")-1, ' ', 0); }
/** * Escapes non-alphanumeric characters to \xHH+ */ void zephir_escape_js(zval *return_value, zval *param) { zephir_escape_multi(return_value, param, "\\x", sizeof("\\x")-1, '\0', 1); }
/** * Escapes non-alphanumeric characters to &xHH; */ void zephir_escape_htmlattr(zval *return_value, zval *param) { zephir_escape_multi(return_value, param, "&#x", sizeof("&#x")-1, ';', 1); }