tdog.blog header

Small typo in source code of XML book….

April 30th, 2006 by Tom Myer

Hi there! Welcome to our blog. Don't forget to sign up for our free RSS feed. We Triple Dog Dare Ya! And thanks for visiting!

Here’s another errata notice. Sharp-eyed reader in the Netherlands Andries Blauuw noticed that rpcserver.php wasn’t working too well.

On line 18, he saw this line as the culprit:


while (($file = readdir($handle)) !== FALSE)) {

Andries removed the extra parentheses after FALSE and ended up with:


while (($file = readdir($handle)) !== FALSE) {

Tags: No Comments

Leave A Comment

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.