/hphp/test/zend/bad/ext/standard/tests/strings/strings001.php
PHP | 6 lines | 5 code | 0 blank | 1 comment | 0 complexity | 245a90b278e6ddc01095c142b014c551 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- /* Do not change this test it is a README.TESTING example. */
- $s = "alabala nica".chr(0)."turska panica";
- var_dump(strstr($s, "nic"));
- var_dump(strrchr($s," nic"));
- ?>