diff options
| author | Remi Collet <remi@remirepo.net> | 2025-11-07 07:31:43 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2025-11-07 07:31:43 +0100 |
| commit | 3ff6ccdda55f9407c5ed50abbebb9c516e7a1d95 (patch) | |
| tree | 724d8e489a3aee5ce70d07575ab80ebc5a3b2b57 /REFLECTION | |
| parent | 908d75e2dcfce8fa7836ec3beaa8d69dcd313d1d (diff) | |
Diffstat (limited to 'REFLECTION')
| -rw-r--r-- | REFLECTION | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -1,14 +1,20 @@ -Extension [ <persistent> extension #92 lz4 version 0.5.0 ] { +Extension [ <persistent> extension #96 lz4 version 0.6.0 ] { - Dependencies { Dependency [ apcu (Optional) ] } - - Constants [4] { + - Constants [10] { Constant [ int LZ4_CLEVEL_MIN ] { 2 } Constant [ int LZ4_CLEVEL_MAX ] { 12 } Constant [ int LZ4_VERSION_NUMBER ] { 11000 } Constant [ string LZ4_VERSION_TEXT ] { 1.10.0 } + Constant [ int LZ4_CHECKSUM_FRAME ] { 1 } + Constant [ int LZ4_CHECKSUM_BLOCK ] { 2 } + Constant [ int LZ4_BLOCK_SIZE_64KB ] { 4 } + Constant [ int LZ4_BLOCK_SIZE_256KB ] { 5 } + Constant [ int LZ4_BLOCK_SIZE_1MB ] { 6 } + Constant [ int LZ4_BLOCK_SIZE_4MB ] { 7 } } - Functions { @@ -28,6 +34,21 @@ Extension [ <persistent> extension #92 lz4 version 0.5.0 ] { Parameter #2 [ <optional> $offset = <default> ] } } + Function [ <internal:lz4> function lz4_compress_frame ] { + + - Parameters [4] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $level = <default> ] + Parameter #2 [ <optional> $max_block_size = <default> ] + Parameter #3 [ <optional> $checksums = <default> ] + } + } + Function [ <internal:lz4> function lz4_uncompress_frame ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } } } |
