4 function readline($prompt="") {
11 $c = fread(STDIN
, "1");
12 if ($c == "\n") { // && ($c == "\r") //May be later on oher systems
24 $find = readline("Co hledat: ");
28 $line = (" ".readline());
29 $pos = strpos($line, $find);
32 {} else { echo (trim($line)."\n"); }
This page took 0.288832 seconds and 4 git commands to generate.