PHP 8.5.0 Beta 1 available for testing

Voting

: three minus three?
(Example: nine)

The Note You're Voting On

rjeggens at ijskoud dot org
13 years ago
I lost an hour before I noticed that strpos only returns FALSE as a boolean, never TRUE.. This means that

strpos() !== false

is a different beast then:

strpos() === true

since the latter will never be true. After I found out, The warning in the documentation made a lot more sense.

<< Back to user notes page

To Top