Posted: Sat Aug 26, 2006 4:43 pm
Keep it civil.. even jokingly, that's not very nice ole.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Fixedfeyd wrote:Keep it civil.. even jokingly, that's not very nice ole.
I was trying to cut down on the work done to keep the overhead to a minimum and hopefully be timing the error suppression and little else. On my laptop it returns 11.4 while on my production server it returns 8.2.Oren wrote:I also tested with $fake = true; to see what happens in that case.
This isn't true. There is no such thing as never in programming, I was being a cock. There is uncredibly rare, but not never. Anyway I experienced an incredibly rare occasion just now as this code snippet will demonstrate:I wrote:Never use @. Ever.
Code: Select all
$needle = 'something';
$haystack = ''; // nothing
strrpos($needle, $haystack);
mb_strrpos($needle, $haystack); // generates an E_WARNING telling you that your haystack is empty