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