Skip to content

Commit

Permalink
Remove concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
dseguy committed May 11, 2015
1 parent 02585ff commit 6c4e4c7
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 6c4e4c7

Please sign in to comment.