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.