crc32

Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Calculates the crc32 polynomial of a string
crc32(string $string): int
        }




        return 
crc32($value ?? '');

    }

}
        if (LivewireManager::$currentCompilingViewPath !== null) {


            
$cachedKey "'l" crc32(LivewireManager::$currentCompilingViewPath) . "-" LivewireManager::$currentCompilingChildCounter "'";




            
LivewireManager::$currentCompilingChildCounter++;
        $identifier = new Identifier($identifier);



        return 
strtoupper(dechex(crc32($identifier->getName())));

    }



    protected function 
getCommentOnTableSQL(string $tableName, ?string $comment): string
    protected function _generateIdentifierName($columnNames$prefix ''$maxSize 30)

    {

        
$hash implode(''array_map(static function ($column): string {

            return 
dechex(crc32($column));

        }, 
$columnNames));



        return 
strtoupper(substr($prefix '_' $hash0$maxSize));