Skip to content

Commit

Permalink
Merge pull request #10 from dseguy/fixecho
Browse files Browse the repository at this point in the history
Saving some memory for echo.
  • Loading branch information
jgedarovich committed May 5, 2016
2 parents 6212c7b + 6c4e4c7 commit 979d8a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TryLib/Util/PHPOptions/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
// well ... actually, arguments with no trailing '=' can be used multiple times
// and add 1 to the variable each time. (which will stay True as a boolean)
// Try using -v multiple times to see.
print "verbose level: ". $opt->v. "\n";
echo "verbose level: ", $opt->v, "\n";

// Access arguments both by short and long argument names
print "short arg file name: ". $opt->f. "\n";
print "long arg file name: ". $opt->indexfile. "\n";
echo "short arg file name: ", $opt->f, "\n";
echo "long arg file name: ", $opt->indexfile, "\n";

// A short argument of '#' means the program expects an argument like -4 or -8
print "-# should be an integer: ". $opt->compress. "\n";
echo "-# should be an integer: ", $opt->compress, "\n";

0 comments on commit 979d8a5

Please sign in to comment.