Skip to content

Commit

Permalink
Address review notes
Browse files Browse the repository at this point in the history
  • Loading branch information
apolyakov committed Nov 13, 2024
1 parent 8087f94 commit f9356c8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions builtin-functions/kphp-light/hash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

// ===== SUPPORTED =====

define('ZLIB_ENCODING_RAW', -0x0f);
define('ZLIB_ENCODING_DEFLATE', 0x0f);
define('ZLIB_ENCODING_GZIP', 0x1f);

/** @kphp-extern-func-info */
function base64_decode ($str ::: string, $strict ::: bool = false) ::: string | false;
/** @kphp-extern-func-info */
Expand Down Expand Up @@ -38,11 +42,6 @@ function md5_file ($s ::: string, $raw_output ::: bool = false) ::: string | fal
/** @kphp-extern-func-info generate-stub */
function sha1 ($s ::: string, $raw_output ::: bool = false) ::: string;


define('ZLIB_ENCODING_RAW', -0x0f);
define('ZLIB_ENCODING_DEFLATE', 0x0f);
define('ZLIB_ENCODING_GZIP', 0x1f);

define('ZLIB_NO_FLUSH', 0);
define('ZLIB_PARTIAL_FLUSH', 1);
define('ZLIB_SYNC_FLUSH', 2);
Expand Down

0 comments on commit f9356c8

Please sign in to comment.