cara mengambil input dalam php
<?php
// For input
// Hello World
$a = readline('Enter a string: ');
// For output
echo $a;
?>
ZOZO
<?php
// For input
// Hello World
$a = readline('Enter a string: ');
// For output
echo $a;
?>
<?php
echo "What do you want to input? ";
$input = rtrim(fgets(STDIN));
echo "I got it:\n" . $input;