strcasecmp

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Binary safe case-insensitive string comparison
strcasecmp(string $string1string $string2): int
    public function prefetch()

    {

        return 
strcasecmp($this->server->get('HTTP_X_MOZ') ?? '''prefetch') === ||

               
strcasecmp($this->headers->get('Purpose') ?? '''prefetch') === 0;

    }
    public function prefetch()

    {

        return 
strcasecmp($this->server->get('HTTP_X_MOZ') ?? '''prefetch') === ||

               
strcasecmp($this->headers->get('Purpose') ?? '''prefetch') === 0;

    }
            array_filter(

                
$this->schemaManager->listSequences(),

                static function (
Sequence $sequence) use ($sequenceName): bool {

                    return 
strcasecmp($sequence->getName(), $sequenceName) === 0;

                }

            )

        )[
0] ?? null;
        $publicKey $connection->getServerPublicHostKey() ?: 'no-public-key';

        
$fingerprint $this->getFingerprintFromPublicKey($publicKey);



        if (
!== strcasecmp($this->hostFingerprint$fingerprint)) {

            throw 
UnableToEstablishAuthenticityOfHost::becauseTheAuthenticityCantBeEstablished($this->host);

        }

    }
        $publicKey $connection->getServerPublicHostKey() ?: 'no-public-key';

        
$fingerprint $this->getFingerprintFromPublicKey($publicKey);



        if (
!== strcasecmp($this->hostFingerprint$fingerprint)) {

            throw 
UnableToEstablishAuthenticityOfHost::becauseTheAuthenticityCantBeEstablished($this->host);

        }

    }
    public function endsWith($haystack$needle)

    {

        return 
strcasecmp(substr($haystackstrlen($haystack) - strlen($needle)), $needle) === 0;

    }
        foreach (array_keys(BasePackage::$supportedLinkTypes) as $linkType) {

            if (
$this->validateArray($linkType) && isset($this->config[$linkType])) {

                foreach (
$this->config[$linkType] as $package => $constraint) {

                    if (
=== strcasecmp($package$this->config['name'])) {

                        
$this->errors[] = $linkType.'.'.$package.' : a package cannot set a '.$linkType.' on itself';

                        unset(
$this->config[$linkType][$package]);

                        continue;
    {

        if (
Str::contains($value'.')) {

            
$reference Str::before($value'.');

            if (
strcasecmp($model$reference) === 0) {

                return 
Str::after($value'.');

            }

        }