mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-20 04:11:44 +02:00
Fix highlighter consistency
- in some places php would not be highlighted as the `<?php` tag was missing - in one place there was a duplicate `<?php` tage - replaced `bash` with `console` for better highlighting - ensured all console snippets are wrapped within highlighting code - wrapped ini examples in highlighting code
This commit is contained in:
@@ -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:
|
||||
|
||||
{% highlight bash %}
|
||||
{% highlight console %}
|
||||
> php -i
|
||||
{% endhighlight %}
|
||||
|
||||
@@ -37,7 +37,7 @@ The `exit()` expression is used with a non-zero number to let the shell know tha
|
||||
|
||||
To run our script, above, from the command line:
|
||||
|
||||
{% highlight bash %}
|
||||
{% highlight console %}
|
||||
> php hello.php
|
||||
Usage: php hello.php [name]
|
||||
> php hello.php world
|
||||
|
Reference in New Issue
Block a user