#26345 [Com]: ord() crashes when passing '|' char
ID: 26345
Comment by: mavi_727 at hotmail dot com
Reported By: jaime dot lopez at iic dot uam dot es
Status: No Feedback
Bug Type: Reproducible crash
Operating System: AIX
PHP Version: 4.3.2
New Comment:
Excuse me. I have enjoyed greatly the second blooming. suddenly you
find - at the age of 50, say - that a whole new life has opened before
you. Help me! Can not find sites on the: Casino magic entertainment. I
found only this - <a
href="http://www.idi.ntnu.no/datamuseum/Members/CasinoEntertainment/casino-windsor-entertainment">casino
windsor entertainment</a>. Riverwind casino was pleased in team with
multimedia games, casino entertainment. Casino entertainment,
securityevery desire lot has been known to hire that options and their
high games are demolished at this competition. :confused: Thanks in
advance. Pavel from Lebanon.
Previous Comments:
------------------------------------------------------------------------
[2003-12-01 03:15:29] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-11-23 21:07:56] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-11-21 05:38:22] wez@php.net
strangely, I had a similar sounding problem using:
if (ord($word{0}) >= 127) {
}
under PHP 5 the other day.
------------------------------------------------------------------------
[2003-11-21 05:02:32] jaime dot lopez at iic dot uam dot es
Description:
------------
Apache process hangs out when calling ord() with reproducible
arguments.
Reproduce code:
---------------
function isalpha( $char )
{
return( (ord($char) >= ord("a") and ord($char) <= ord("z")) ||
(ord($char) >= ord("A") and ord($char) <= ord("Z")) );
}
echo is_alpha('|') ;
... PHP hangs ...
Expected result:
----------------
false
Actual result:
--------------
nothing ( php hangs calling ord() )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26345&edit=1
Thread (5 messages)