According to PHP documentation
mixed fscanf ( resource $handle , string $format [, mixed &$... ] )
Each call to fscanf() reads one line from the file.
Now I am trying to read this output from a file using single fscanf()
These are line separated inputs.
8
4.0
is the best place to learn
using this code
fscanf("%d
%f
%[^\
]");
but the output I am getting is
8
blank
blank
What is the correct code for it to read using single fscanf?