PHP 7 >= 7.2.0, PHP 8
sapi_windows_vt100_support - Get or set VT100 support for the specified stream associated to an output buffer of a Windows console.
Code Examples

Example #1 sapi_windows_vt100_support default state

Result: true true
PHP Version:

Example #2 sapi_windows_vt100_support changing state

Result: true false
PHP Version:

Example #3 Example usage of VT100 support enabled

Result: Just forgot a letter.
PHP Version: