![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #33605 (substr_compare crashes) 3: --FILE-- 4: <?php 5: $res = substr_compare("aa", "a", -99999999, 0, 0); 6: var_dump($res); 7: 8: ?> 9: --EXPECTF-- 10: Warning: substr_compare(): The length must be greater than zero in %s on line %d 11: bool(false)