Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- php54.php:
- <?namespace foo;
- function htmlspecialchars($s,$flags=null,$encoding=""){ //html2specialchars_decore NO!
- if ($flags==null)$flags=(ENT_COMPAT|ENT_HTML401);
- return \htmlspecialchars($s,$flags,$encoding)."debug";
- }
- ?>
- common.php:
- require_once "php54.php";
- use foo;
- echo htmlspecialchars("ะขะตัั");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement