1.1 ! misho 1: --TEST-- ! 2: Bug #54454 (substr_compare incorrectly reports equality in some cases) ! 3: --FILE-- ! 4: <?php ! 5: var_dump(substr_compare('/', '/asd', 0, 4)); ! 6: ?> ! 7: --EXPECT-- ! 8: int(-3)