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
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
No comments yet.
RSS feed for comments on this post. TrackBack URL