You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running methods via CLI, output buffering is on.
Eg:
public function test() {
for($i = 0; $i <= 10; $i++) {
echo $i; sleep(2);
}
}
this function prints the output all at once after running instead of printing with a 2 second delay. Adding ob_end_flush() outputs the result as expected. I don't think this is the expected behavior for CLI methods?
CI version: 4.0.0-beta1
PHP Version: 7.2.x
The text was updated successfully, but these errors were encountered:
When running methods via CLI, output buffering is on.
Eg:
this function prints the output all at once after running instead of printing with a 2 second delay. Adding ob_end_flush() outputs the result as expected. I don't think this is the expected behavior for CLI methods?
CI version: 4.0.0-beta1
PHP Version: 7.2.x
The text was updated successfully, but these errors were encountered: