Merge pull request #521 from dave1010/patch-2

Use strict equality comparison when comparing ints
This commit is contained in:
Phil Sturgeon
2015-01-06 10:29:54 -05:00

View File

@@ -26,7 +26,7 @@ Let's write a simple "Hello, $name" CLI program. To try it out, create a file na
{% highlight php %}
<?php
if ($argc != 2) {
if ($argc !== 2) {
echo "Usage: php hello.php [name].\n";
exit(1);
}