What do I need to do to allow the readline functions to work?

The following short program fails when run from the command line:

$line = readline("Input data: ");
print $line;

Execution command and error message:

C:\>php -q myscript.php
<b>Fatal error</b>:  Call to undefined function:  readline() in
 on line <b>2</b><br>

My system:
Windows 2000
PHP version 4.1.1
I installed PHP from binaries.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to