I tried starting PHP's interactive shell by executing the command "PHP -a" without the qutation marks but all I got is blank space. What could be wrong?
I am using Windows
I tried starting PHP's interactive shell by executing the command "PHP -a" without the qutation marks but all I got is blank space. What could be wrong?
I am using Windows
In Windows, press Enter after your ending PHP tag and then hit Ctrl-Z to denote the end-of-file:
C:\>php -a
Interactive mode enabled
<?php
echo "Hello, world!";
?>
^Z
Hello, world!
It works I tried it