You Are Here Home > Command Line Interface

Command Line Interface

Here it is in one line of PHP code:

<?php while (1) {  fputs(STDOUT, "\nPHP > "); eval(trim(fgets(STDIN))); } ?>

To run this, save it as php.php, and in command line run:

Widnows> php php.php
Linux> php.php

Command Line Interface
Filed under: PHP   Posted by: Hamid

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment