--TEST-- Bug #54674 mysqlnd valid_sjis_(head|tail) is using invalid operator and range. --EXTENSIONS-- mysqli --SKIPIF-- --INI-- mysqli.max_links = 1 mysqli.allow_persistent = Off mysqli.max_persistent = 0 mysqli.reconnect = Off --FILE-- set_charset('sjis'); var_dump($link->real_escape_string($japanese_so) === $japanese_so); mysqli_close($link); print "done!"; ?> --EXPECT-- bool(true) done!