Working with Files in PHP, Part 3
Subject:   line !== 'false'
Date:   2003-03-12 15:22:26
From:   anonymous2
The article states that you need to use the !== comparison operator:
"Without this type of comparison, the while loop would end prematurely if a directory (or filename) existed with the name of false"

I can't seem to get the loop to stop when it encounters a directory named false even if I leave out the !== and use != instead.

Using windows.

1 to 1 of 1
  1. line !== 'false'
    2003-03-12 16:39:03  John Coggeshall | O'Reilly Author [View]

    • line !== 'false'
      2005-03-17 10:11:01  Cerro [View]

1 to 1 of 1