@@ -415,7 +415,7 @@ function ob_gzhandler(string $data, int $flags): string|false {}
415
415
* @param int $encoding <p>
416
416
* One of the <b>ZLIB_ENCODING_*</b> constants.
417
417
* </p>
418
- * @param array $options <p>
418
+ * @param array|object $options <p>
419
419
* An associative array which may contain the following elements:
420
420
* <b>level</b>The compression level in range -1..9; defaults to -1.
421
421
* <b>memory</b>The compression memory level in range 1..9; defaults to 8.
@@ -432,7 +432,7 @@ function ob_gzhandler(string $data, int $flags): string|false {}
432
432
*/
433
433
#[Pure]
434
434
#[LanguageLevelTypeAware(["8.0 " => "DeflateContext|false " ], default: "resource|false " )]
435
- function deflate_init (int $ encoding , array $ options = []) {}
435
+ function deflate_init (int $ encoding , #[LanguageLevelTypeAware([ " 8.3 " => " array|object " ], default: " array " )] $ options = []) {}
436
436
437
437
/**
438
438
* Incrementally deflate data
@@ -463,7 +463,7 @@ function deflate_add(#[LanguageLevelTypeAware(["8.0" => "DeflateContext"], defau
463
463
* @param int $encoding <p>
464
464
* One of the ZLIB_ENCODING_* constants.
465
465
* </p>
466
- * @param array $options [optional] <p>
466
+ * @param array|object $options [optional] <p>
467
467
* An associative array which may contain the following elements:
468
468
* <b>level</b>The compression level in range -1..9; defaults to -1.
469
469
* <b>memory</b>The compression memory level in range 1..9; defaults to 8.
@@ -480,7 +480,7 @@ function deflate_add(#[LanguageLevelTypeAware(["8.0" => "DeflateContext"], defau
480
480
*/
481
481
#[Pure]
482
482
#[LanguageLevelTypeAware(["8.0 " => "InflateContext|false " ], default: "resource|false " )]
483
- function inflate_init (int $ encoding , array $ options = []) {}
483
+ function inflate_init (int $ encoding , #[LanguageLevelTypeAware([ " 8.3 " => " array|object " ], default: " array " )] $ options = []) {}
484
484
485
485
/**
486
486
* Incrementally inflate encoded data
0 commit comments