Adding back bash prompt

This commit is contained in:
Kris Jordan
2012-07-10 11:44:15 -04:00
parent a53dbb518b
commit eeae783216

View File

@@ -11,7 +11,7 @@ CLI PHP programs are powerful because you can use your app's code directly witho
Try running PHP from your command line: Try running PHP from your command line:
{% highlight bash %} {% highlight bash %}
php -i > php -i
{% endhighlight %} {% endhighlight %}
The `-i` option will print your PHP configuration just like the [`phpinfo`][phpinfo] function. There are a number of other useful [command line options][cli-options], too. The `-i` option will print your PHP configuration just like the [`phpinfo`][phpinfo] function. There are a number of other useful [command line options][cli-options], too.
@@ -32,9 +32,9 @@ PHP sets up two special variables based on the arguments your script is run with
To run our script, above, from the command line: To run our script, above, from the command line:
{% highlight bash %} {% highlight bash %}
php hello.php > php hello.php
Usage: php hello.php [name] Usage: php hello.php [name]
php hello.php world > php hello.php world
Hello, world Hello, world
{% endhighlight %} {% endhighlight %}