output_reset_rewrite_vars
Description
The output_reset_rewrite_vars of Output Control for PHP reset URL rewriter values.
Syntax
output_reset_rewrite_vars(): bool
Return
Returns true on success or false on failure.
Examples
1 · return
<?php $name = 'name'; $value = 'value'; output_add_rewrite_var($name, $value); $return = output_reset_rewrite_vars(); var_export($return);
true
2 · output
<?php ini_set('url_rewriter.tags', 'a=href,form='); $name = 'name'; $value = 'value'; output_add_rewrite_var($name, $value); output_reset_rewrite_vars(); echo '<a href="">anchor</a><form><input></form>';
<a href="">anchor</a><form><input></form>