[nycphp-talk] strcmp
Waldman, Margaret
Margaret.Waldman at bbdo.com
Mon Jan 9 11:55:41 EST 2012
Looks like == strlen($key_prefixes[$i]) is a better comparison (not not comments about my loop taking almost ixj please)
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Waldman, Margaret
Sent: Monday, January 09, 2012 11:47 AM
To: 'NYPHP Talk'
Subject: Re: [nycphp-talk] strcmp
I was using (strcmp($single_keys[$i], $key_prefixes[$j]) !== false) before. Had to change it to -1. Looks to be.
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Ap | Alsjeblaft!
Sent: Saturday, January 07, 2012 7:02 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] strcmp
Hi Margaret,
According to the page 'Migrating from PHP 5.2.x to PHP 5.3.x' at http://www.php.net/manual/en/migration53.incompatible.php there were no backward incompatible changes made to strcmp(). Are you sure strcmp() is the culprit?
Regards,
Mark
--
Alsjeblaft!
webdevelopment
Stuff I've built: wende.nu<http://wende.nu>, sizzer.nl<http://sizzer.nl>, happycampermusic.com<http://happycampermusic.com>, dazzledkid.com<http://dazzledkid.com/>, arthurjussen.nl<http://arthurjussen.nl>, schradinova.nl<http://schradinova.nl>, roomeleven.nl<http://roomeleven.nl> & studiopino.nl<http://studiopino.nl>
appel at alsjeblaft.nl<mailto:appel at alsjeblaft.nl>
http://www.alsjeblaft.nl/
On Sat, Jan 7, 2012 at 6:40 PM, Waldman, Margaret <Margaret.Waldman at bbdo.com<mailto:Margaret.Waldman at bbdo.com>> wrote:
strcmp
Please consider the environment before printing this e-mail.
This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk at bbdo.com. We appreciate your cooperation.
Please consider the environment before printing this e-mail.
This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk at bbdo.com. We appreciate your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20120109/488d4bfe/attachment.html>
More information about the talk
mailing list