ID:               24776
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bliberma at eesus dot jnj dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: win2000
 PHP Version:      4.3.1
 New Comment:

If you use multi-line strings they contain line endings of the php file
itself. Not a bug.


Previous Comments:
------------------------------------------------------------------------

[2003-07-23 14:58:37] bliberma at eesus dot jnj dot com

Description:
------------
When a php source file is in msdos format (native format for win2000),
the EOL (CR/LF) is sent intact to oracle.  This seems to be ok for
vanilla SQL, but it breaks PL/SQL.  The same thing happens under HP/UX
when the php source file is in msdos format (but since this is a
non-native, perhaps it isn't a bug in this case).  I am using the
binary supplied by php.net (running as a cgi).  Here is the actual
error produced:

ORA-06550: line 1, column 18: PLS-00103: Encountered the symbol "" when
expecting one of the following: begin declare exit for goto if loop mod
null pragma raise return select update while << close current delete
fetch lock insert open rollback savepoint set sql execute commit forall
The symbol "" was ignored.

Transforming the source file from msdos format to unix format
eliminates the error.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24776&edit=1

Reply via email to