Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- print "no space: <br/>";
- print_r(preg_match('#\s#', "æ,ø,å")); // returns 0
- print "<br/>";
- print "with space: <br/>";
- print_r(preg_match('#\s#', "æ,ø, å")); //returns 1
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement