Bug #74889 [Com]: ob_implicit_flush expects int instead of bool (on boolean value)

From: Date: Mon, 24 Jul 2017 21:26:49 +0000
Subject: Bug #74889 [Com]: ob_implicit_flush expects int instead of bool (on boolean value)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210296@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74889&edit=1 ID: 74889 Comment by: michal dot brzuchalski at gmail dot com Reported by: love at sickpeople dot se Summary: ob_implicit_flush expects int instead of bool (on boolean value) Status: Open Type: Bug Package: *General Issues PHP Version: 7.2.0alpha3 Block user comment: N Private report: N New Comment: It's not a bug it's a Feature Request. Previous Comments: ------------------------------------------------------------------------ [2017-07-10 04:22:35] love at sickpeople dot se Description: ------------ Note that the documentation states "int" and not "bool". I think "bool" would be more suitable, since the value should be true or false. Test script: --------------- declare(strict_types=1); ob_implicit_flush (true); Expected result: ---------------- No TypeError. Actual result: -------------- TypeError. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74889&edit=1

« previous php.bugs (#210296) next »