note 43877 added to ref.mcrypt
| From: | kevinatsunshinecertifieddotcom at rn2 dot php dot net | Date: | Wed, 07 Jul 2004 02:26:53 +0000 |
| Subject: | note 43877 added to ref.mcrypt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72806@lists.php.net to get a copy of this message | ||
I've found that certain characters, when encrptyed, cause some php statements to halt. No
error is thrown, but the statement stops processing arguments and returns.
Specifically, when I test for null values being returned from the db, the 'if' clause
always halts and returns an erroneous false when it hits these certain characters.
This happens when testing for null, or using is_null().
This even happens when explicitly testing for specific characters.
Only empty() works for these odd encrypted characters.
Some other php statements also halt unexpectedly. For example, if I try to display these encrypted
values using an echo statement, the echo stops processing it's arguments when it encounters
these characters.
----
Manual Page -- http://www.php.net/manual/en/ref.mcrypt.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43877
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43877&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43877&report=yes
Search -- http://master.php.net/manage/user-notes.php