import zend standard tests
[hiphop-php.git] / hphp / test / zend / good / ext-standard-strings / strpos_number.php
blob11e1c3e221321156c20c2dce6d60324de1db64e4
1 <?php
2 // Integer is handles as an octal representation, so nothing to match
3 var_dump(strpos("foo 11", 11));
4 // int(111) is string("o") in octal. Match expected
5 var_dump(strpos("foo bar", 111));
6 // string("11") is contained
7 var_dump(strpos("foo 11", "11"));
8 ?>