Welcome to WebmasterWorld Guest from 54.158.237.30

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Finally an actual PHP console

     
3:53 pm on Dec 6, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 27, 2003
posts:156
votes: 0


Has anyone else noticed that if you compile PHP 5 with the readline extension, the CLI will act like an actual console in interactive mode.

% php -a
Interactive mode enabled

php > $foo = 1;
php > $bar = 4;
php > echo $foo + $bar;
5
php >

I've been wanting a PHP console for a long time for quickly testing things out... yeah I know it is old news, but it is so darn cool, it deserves to be told again ;)

6:33 pm on Dec 7, 2005 (gmt 0)

Moderator

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 25, 2002
posts:8272
votes: 130


News to me thanks.