crc32()
function crc32(string $string): int
Calculates the CRC32 polynomial of a string.
Parameters:
$string(string)
Returns: int
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/crc32.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how crc32 is implemented in the compiler, see the internals page.