Snippets tagged “escaping”
3 snippets use this tag.
- How can I replace the deprecated set_magic_quotes_runtime in php?PHP
The set_magic_quotes_runtime function has been deprecated since PHP 5.3 and removed in PHP 7.0.
- How should I escape strings in JSON?Java
In JSON, certain characters must be escaped in strings.
- Laravel - htmlspecialchars() expects parameter 1 to be string, object givenPHP
It looks like you are trying to use the htmlspecialchars() function in Laravel and are encountering an error that says "htmlspecialchars() expects parameter 1 to be string, object given".