1--TEST--
2Test whether strstr() and strrchr() are binary safe.
3--FILE--
4<?php
5$s = "alabala nica".chr(0)."turska panica";
6var_dump(strstr($s, "nic"));
7var_dump(strrchr($s," nic"));
8?>
9--EXPECTREGEX--
10string\(18\) \"nica\x00turska panica\"
11string\(7\) \" panica\"
12