readline_on_new_line

FunctionReturn type changed in PHP 8.0

Inform readline that the cursor has moved to a new line.

PHP 5.3
PHP 5.4
Removed
PHP 5.5-5.6
PHP 7
PHP 8.0
Improved
PHP 8.1
PHP 8.2-8.3
PHP 8.4
PHP 8.5
PHP 8.6

readline_on_new_line Function synopsis

readline_on_new_line(): void

Parameters

readline_on_new_line does not take any parameters.

Return value

The readline_on_new_line function is a void function; it does not return any values.

Changes to the readline_on_new_line Function

PHP 8.0

  • Return type added: void
- readline_on_new_line()
+ readline_on_new_line(): void

PHP 5.6

  • Function added

PHP 5.4

  • Function removed

readline_on_new_line Function Availability

PHP VersionAvailability
PHP 8.6Upcoming Release No
PHP 8.5Supported (Latest) No
PHP 8.4Supported No
PHP 8.3Security-Fixes Only No
PHP 8.2Security-Fixes Only No
PHP 8.1Unsupported No
PHP 8.0Unsupported No
PHP 7.4Unsupported No
PHP 7.3Unsupported No
PHP 7.2Unsupported No
PHP 7.1Unsupported No
PHP 7.0Unsupported No
PHP 5.6Unsupported No
PHP 5.5Unsupported No
PHP 5.4Unsupported No
PHP 5.3Unsupported Yes