[php-src] PR #17057: Add sapi_windows_console_size()

From: Date: Thu, 05 Dec 2024 19:09:50 +0000
Subject: [php-src] PR #17057: Add sapi_windows_console_size()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29897@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17057 Author: cmb69 This function is supposed to retrieve the width and height of a console window on Windows. It expects a single stream argument, and if that is a console, returns its width and height as two element array (aka. pair). On failure the function returns false. --- ````php var_dump(sapi_windows_console_size(STDOUT)); ```` outputs something like ```` array(2) { [0]=> int(80) [1]=> int(25) } ```` I'm just dropping this here for discussion.

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