Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to run the interactive PHP shell from the command line interface?
Home
PHP
How to run the interactive PHP shell from the command line interface?
0
votes
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
How to run the interactive PHP shell from the command line interface?
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 22, 2019
by
john ganales
Just use the PHP CLI program with the option -a as follows:
php -a
Related questions
+1
vote
Q: What does the PHP error 'Parse error in PHP - unexpected T_variable at line x' means?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How can we connect to a MySQL database from a PHP script?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: Explain how you can update Memcached when you make changes to PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How to initiate a session in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How is it possible to cast types in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How is it possible to set an infinite execution time for PHP script?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
#php-php
#php-server-monitor-script
#php-development
#php-support
#mysql-php
#php-language
#php-programmer
#php
0
votes
Q: How can we determine whether a PHP variable is an instantiated object of a certain class?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
+1
vote
Q: How is the ternary conditional operator used in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How is a constant defined in a PHP script?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How can we define a variable accessible in functions of a PHP script?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
...