1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

easy php console?

Discussion in 'PHP & Perl' started by Mutikasa, Aug 28, 2015.

  1. Mutikasa

    Mutikasa Power Member

    Joined:
    May 23, 2011
    Messages:
    579
    Likes Received:
    207
    Is there anything like chrome plugin or online where I can write couple of lines php, click run and see the result?
    Right now i am using one from code academy but i have to login etcc...
     
  2. puneetas3

    puneetas3 Senior Member

    Joined:
    Jan 8, 2012
    Messages:
    909
    Likes Received:
    390
    Xampp, need to be setup once but then you can do what you are looking to do. Will look if such online php "compilers" are available like for JS, css and html
     
  3. Mutikasa

    Mutikasa Power Member

    Joined:
    May 23, 2011
    Messages:
    579
    Likes Received:
    207
    Yes, I have wamp. I can do it, but then I have to open new file, then browser etc. Too much clicks.
     
  4. Mutikasa

    Mutikasa Power Member

    Joined:
    May 23, 2011
    Messages:
    579
    Likes Received:
    207
  5. Mutikasa

    Mutikasa Power Member

    Joined:
    May 23, 2011
    Messages:
    579
    Likes Received:
    207
  6. h123er2

    h123er2 Newbie

    Joined:
    Jun 23, 2011
    Messages:
    3
    Likes Received:
    0
    You're lucky unlike other things in PHP it's one of the easiest things to do. When I started off, I too wanted something that I could use on the go, you know like web javascript console? Good news is you can run PHP right from your windows CMD. All you need to do is ser environment variable so that CMD run in conjunction with xampp server.

    Here's a quick easy tutorial on PHP console I wrote couple months ago which talks exactly about this.
    webdevtown.c o m is the blog, search for 'php console'.

    Have a good one. Anything else lemme know ;)