PHP/Cli: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m →Input e output: typo |
|||
Riga 112:
$nome = trim(fgets($stdin, 100));
if (!(is_string($nome)) { //è per esempio un numero
$stderr =
fwrite($stderr, 'Errore: il nome deve essere una stringa');
}
Riga 118:
[[Categoria:PHP|Command Line Interpreter]]
{{
|