mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
9 lines
162 B
PHP
9 lines
162 B
PHP
--TEST--
|
|
Bug #54454 (substr_compare incorrectly reports equality in some cases)
|
|
--FILE--
|
|
<?php
|
|
var_dump(substr_compare('/', '/asd', 0, 4));
|
|
?>
|
|
--EXPECT--
|
|
int(-3)
|