#37165 [Opn->Bgs]: '\n' not same as ord(10)
ID: 37165
Updated by: bjori@php.net
Reported By: plperez at stanford dot edu
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: MAC OS X
PHP Version: 4CVS-2006-04-22 (snap)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2006-04-22 13:16:48] plperez at stanford dot edu
Description:
------------
'\n' not same as ord(10)
Reproduce code:
---------------
if ('\n' != ord(10)) echo "oups";
else echo "ok";
Expected result:
----------------
ok
Actual result:
--------------
oups
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37165&edit=1
Thread (2 messages)