What could the intention be of someone using "\0" in comparison be?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


As in, while my first guess would be that they'd meant to use just the
number 0, what would your guesstimate be relating to why someone would in
fact use the following syntax as part of determining if a certain
phrase/string was included in a variable's value?

//start excerpt...
if (strpos ($text, "<b>") >= "\0")
//end excerpt



Jacob Kruger
Blind Biker
Skype: BlindZA
...Roger Wilco wants to welcome you...to the space janitor's closet...

PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux