--- while(str_replace(' ', ' ', ' f dfd 34 dsf ')) { } ---
This results in PHP obviously becoming stuck in an infinite loop. The semantecs of it make complete sense, str_replace will always return TRUE.
My question is this: Shouldn't there be some type of detection for this that would at least cause PHP to throw a warning?
Regards,
Joe Estock (guru)
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php