1--TEST--
2Test whether strstr() and strrchr() are binary safe.
3--FILE--
4<?php
5/* Do not change this test it is a README.TESTING example. */
6$s = "alabala nica".chr(0)."turska panica";
7var_dump(strstr($s, "nic"));
8var_dump(strrchr($s," nic"));
9?>
10--EXPECTREGEX--
11string\(18\) \"nica\x00turska panica\"
12string\(7\) \" panica\"
13