Dein Ausdruck ergibt in beiden Fällen true - weil du in beiden Fällen einen Wert zurückgibst, der bei der Umwandlung in einen boole'schen Wert true ergibt.
I don't believe in rebirth. Actually, I never did in my whole lives.
[color=red]"An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it."[/color] Mohandas Karamchand Gandhi (Mahatma Gandhi) (Source)
[color=red]"An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it."[/color] Mohandas Karamchand Gandhi (Mahatma Gandhi) (Source)
Original geschrieben von ollimagic Geht auch nicht.
Ist ja auch der gleiche Käse.
Noch mal:
Das Ergebnis von strpos ist es, welches du typgenau überprüfen musst - also mach das auch.
Noch bevor du überhaupt zwei strpos-Ergebnisse per Oder verknüpfst.
Kommentar