diff --git a/reference/spl/splfileobject/fscanf.xml b/reference/spl/splfileobject/fscanf.xml index 2e61bdd9ba..bfc5281486 100644 --- a/reference/spl/splfileobject/fscanf.xml +++ b/reference/spl/splfileobject/fscanf.xml @@ -69,7 +69,7 @@ $file = new SplFileObject("misc.txt"); while ($userinfo = $file->fscanf("%s %s %s")) { list ($name, $profession, $countrycode) = $userinfo; - // Do something with $name $professi + // Do something with $name $profession $countrycode } ?> ]]>