Check out example codes for "displayport". It will help you in understanding the concepts better.

Code Example 1

<?php
$hello = readline("hello my friend, how are you?");
?>

Learn ReactJs, React Native from akashmittal.com