[php-src] PR #13101: Mark ob_start's callback parameter nullable

From: Date: Tue, 09 Jan 2024 12:16:57 +0000
Subject: [php-src] PR #13101: Mark ob_start's callback parameter nullable
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-24698@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13101 Author: haszi Mark ob_start()'s callable $callback parameter nullable in the stub file. This parameter has intentionally been nullable so that user-defined $chunk_size and $flags can be set while still using the default output handler. This PR doesn't change the acceptable type of the callable or the current behavior of ob_start(), it just makes the type declaration explicit. This code ```php var_dump(ob_start(null)); ``` results in this output (with or without this PR) ``` bool(true) ```

« previous php.git-pulls (#24698) next »