PHP shell?

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
Sette
Forum Newbie
Posts: 3
Joined: Sat Aug 22, 2009 5:29 am

PHP shell?

Post by Sette »

I'm a complete beginner in PHP. Before implementing changes in a program, I'd like to try them out in a small example. I wonder whether there exists something like a PHP shell where I can interactively enter PHP commands and immideately see the result. Previously, I worked a bit in Ruby, and found irb, the interactive Ruby shell, pretty handy. Perhaps something similar exists for PHP as well.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: PHP shell?

Post by VladSun »

It's called PHP CLI
http://www.php-cli.com/
There are 10 types of people in this world, those who understand binary and those who don't
Sette
Forum Newbie
Posts: 3
Joined: Sat Aug 22, 2009 5:29 am

Re: PHP shell?

Post by Sette »

VladSun wrote:It's called PHP CLI
Thank you for your reply!
I will give it a try soon.

Sette
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Re: PHP shell?

Post by Ollie Saunders »

Sette
Forum Newbie
Posts: 3
Joined: Sat Aug 22, 2009 5:29 am

Re: PHP shell?

Post by Sette »

Thank you for the link!


Sette
Post Reply