Voting

: max(five, seven)?
(Example: nine)

The Note You're Voting On

sam marshall
4 years ago
When using the -R flag, the name of the variable containing the content of the current line (not including the LF) is $argn.

For example you can do this code:

cat file.txt | php -R 'echo $argn . "\n";'

This will just output each line of the input file without doing anything to it.

<< Back to user notes page

To Top