readline_list_history

FunctionReturn type changed in PHP 8.0

Lists the history.

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

readline_list_history Function synopsis

readline_list_history(): array

Parameters

readline_list_history does not take any parameters.

Return value

Typearray

Changes to the readline_list_history Function

PHP 8.0

  • Return type added: array
- readline_list_history()
+ readline_list_history(): array

PHP 7.4

  • Function added

PHP 5.6

  • Function removed

readline_list_history 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 Yes
PHP 5.4Unsupported Yes
PHP 5.3Unsupported Yes