Cara Meminta Input Pengguna di PHP

<?php
echo "What do you want to input? ";
$input = rtrim(fgets(STDIN));
echo "I got it:\n" . $input;
Cooperative Chicken