@Immutable
    public static int crc32(Environment env, Memory value) {
        CRC32 crc = new CRC32();
        crc.update(value.getBinaryBytes(env.getDefaultCharset()));

        return (int) crc.getValue();
    }
Parses the cslashes bitmap returning an actual bitmap.

@param charset the bitmap string

@return the actual bitmap
exts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/standard/StringFunctions.java