Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Finally an actual PHP console



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

10+ Year Member

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;
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)

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

News to me thanks.

Featured Threads

Hot Threads This Week

Hot Threads This Month