Skip to content

Commit

Permalink
corrected line 38 from li -> li_ele from foreach
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Ortell committed Apr 5, 2012
1 parent f44eeba commit 9636fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/techniques.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

// Iterate over elements as DOMNodes:
foreach ($qp->get() as $li_ele) {
print $li->tagName . PHP_EOL; // Prints 'li' five times.
print $li_ele->tagName . PHP_EOL; // Prints 'li' five times.
}

// Iterate over elements as QueryPath objects
Expand Down

0 comments on commit 9636fcb

Please sign in to comment.