473,385 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

official interactive PHP?

I just wonder if there is an official interactive PHP interpreter?

kind of like the one IDLE for Python or irb for Ruby.

Sep 26 '07 #1
4 1963
On Sep 26, 2:36 pm, Summercool <Summercooln...@gmail.comwrote:
I just wonder if there is an official interactive PHP interpreter?

kind of like the one IDLE for Python or irb for Ruby.
php -a

Sep 26 '07 #2
On Sep 26, 11:59 am, ZeldorBlat <zeldorb...@gmail.comwrote:
On Sep 26, 2:36 pm, Summercool <Summercooln...@gmail.comwrote:
I just wonder if there is an official interactive PHP interpreter?
kind of like the one IDLE for Python or irb for Ruby.

php -a
is it true that you have to keep on typing

<? php statements ?>

on each line?

anything just to test the programming side and let you omit the <?
php ? ?
Sep 26 '07 #3
Summercool wrote:
On Sep 26, 11:59 am, ZeldorBlat <zeldorb...@gmail.comwrote:
>On Sep 26, 2:36 pm, Summercool <Summercooln...@gmail.comwrote:
>>I just wonder if there is an official interactive PHP interpreter?
kind of like the one IDLE for Python or irb for Ruby.
php -a

is it true that you have to keep on typing

<? php statements ?>

on each line?

anything just to test the programming side and let you omit the <?
php ? ?

<?php
first statement
second statement
third statement
?>

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 26 '07 #4
Summercool wrote:
On Sep 26, 11:59 am, ZeldorBlat <zeldorb...@gmail.comwrote:
>On Sep 26, 2:36 pm, Summercool <Summercooln...@gmail.comwrote:
>>I just wonder if there is an official interactive PHP interpreter?
kind of like the one IDLE for Python or irb for Ruby.
php -a

is it true that you have to keep on typing

<? php statements ?>

on each line?

anything just to test the programming side and let you omit the <?
php ? ?

php -a is only truly "interactive" when compiled with readline support,
otherwise it waits for eof before executing anything. You still don't
need <?...?with it. There's also -r option for immediate code execution.
--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
Sep 26 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Miki Tebeka | last post by:
Hello All, If there a way a script can tell Python to enter interactive mode even if the -i command line switch was not given? I want py2exe to create an interactive session, without writing...
20
by: Joe | last post by:
When you run "python -i scriptname.py" after the script completes you left at the interactive command prompt. Is there a way to have this occur from a running program? In other words can I...
2
by: Charles Krug | last post by:
List: I'm trying to us pylab to see what I'm doing with some DSP algorithms, in case my posts about convolution and ffts weren't giving it away. I've been using pylab's plot function, but I'm...
2
by: siggy2 | last post by:
Hi All, (sorry for my bad english) I wrote a __tiny__ and __stupid__ recursive script directly into pythonwin interactive window with a time.sleep(1) and a print before each recursion... I...
1
by: Nick Palmer | last post by:
As the title suggests, I've got a question about running an ASP.NET app on a server that has no interactive desktop login. In all our testing of our app here,the server always had an interactive...
2
by: WJ | last post by:
I have three ASPX pages: 1. "WebForm1.aspx" is interactive, responsible for calling a web site (https://www.payMe.com) with $$$. It is working fine. 2. "WebForm2.aspx" is non-interactive, a...
3
by: Lubomir | last post by:
Hi, I read that interactive windows services will not be allowed to run under Wista. I would like to ask what exactly is the interactive service. It is supposed to be a service that communicates...
13
by: dmh2000 | last post by:
I am experimenting with the interactive interpreter environments of Python and Ruby and I ran into what seems to be a fundamental difference. However I may be doing something wrong in Python....
8
by: james.kirin39 | last post by:
Hi everyone, After having used Python on Linux for some time, I now have to do Python coding on Windows. I am big fan of the interactive Python shell to test, eg, regexps. Is there an...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.