Example #1 readline() Example. <?php //get 3 commands from user for ($i=0; $i < 3; $i++) { $line = readline("Command: "); readline_add_history($line); }
確定! 回上一頁