From: bliberma at eesus dot jnj dot com Operating system: win2000 PHP version: 4.3.1 PHP Bug Type: OCI8 related Bug description: dos style EOLs sent to oracle, breaking pl/sql
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 bug report at http://bugs.php.net/?id=24776&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24776&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24776&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24776&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24776&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24776&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24776&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24776&r=support Expected behavior: http://bugs.php.net/fix.php?id=24776&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24776&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24776&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24776&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24776&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24776&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24776&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24776&r=gnused