Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<readline_list_historyreadline_read_history>
^Readline FunctionsLast updated: Mon, 26 Oct 2026

readline_on_new_line

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

readline_on_new_line — Inform readline that the cursor has moved to a new line

Description

function readline_on_new_line(): void

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

This function is only available if the readline library PHP was built against supports it. It is not available on Windows.

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also


<readline_list_historyreadline_read_history>
^Readline FunctionsLast updated: Mon, 26 Oct 2026