Function __global->strncmp

Definitions

sources_custom/phpstub.php

  • Binary safe string comparison of the first n characters.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$str1 string required parameter N/A N/A The first string
$str2 string required parameter N/A N/A The second string
$len integer required parameter N/A N/A Up to this length (n)

Return

  • <0 if s1<s2, 0 if s1=s2, >1 if s1>s2
  • Type: integer
  • Set: N/A
  • Range: N/A