#37165 [Opn->Bgs]: '\n' not same as ord(10)

From: Date: Sat, 22 Apr 2006 13:36:23 +0000
Subject: #37165 [Opn->Bgs]: '\n' not same as ord(10)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96096@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#96096) next »