title: How to read console/user input in PHP?
body: <p>I use <code>gets</code> to get an user input in Ruby.</p>
  
  <pre><code># in 0015.rb
  input_num = gets.to_i
  p "Your input number is #{input_num}."
  </code></pre>
  
  <p>And I use it in a terminal.</p>
  
  <pre><code>➜  rubytest: ruby 0015.rb
  24
  "Your input number is 24."    
  </code></pre>
  
  <p>Can I do like this in PHP with terminal?</p>