php[world] 2018 - Call for Speakers

Voting

Please answer this simple SPAM challenge: max(one, one)?
(Example: nine)

The Note You're Voting On

apmuthu at usa dot net
6 months ago
Adding a pause() function to PHP waiting for any user input returning it:

<?php
function pause() {
   
$handle = fopen ("php://stdin","r");
    do {
$line = fgets($handle); } while ($line == '');
   
fclose($handle);
    return
$line;
}
?>

<< Back to user notes page

To Top