PHP 4.0 Bug #5448: Backslashes in here files not happy

From: Date: Fri, 07 Jul 2000 23:14:32 +0000
Subject: PHP 4.0 Bug #5448: Backslashes in here files not happy
Groups: php.dev 
Request: Send a blank email to php-dev+get-23756@lists.php.net to get a copy of this message
From: claw@kanga.nu Operating system: Debian Linux Woody PHP version: 4.0.1pl2 PHP Bug Type: Scripting Engine problem Bug description: Backslashes in here files not happy The following file: http://www.kanga.nu/~claw/backslash.php http://www.kanga.nu/~claw/backslash.phps Which reads: --<cut>--<? $var = <<< END_VAR /(o__. _____| \ |OcO| ---------/|-/|-( ,__)-------| | |--------+++++++++/|_| - |_ ----------- /\/ |/ |/ _ \++++++C+O+M+P+L|E+X+I+T+Y+++++O+F+++/f| `-' | |\/ / \/ "++++++D+|+S+T+R+I+B+U+T+E+D+( u| | ___| . .____. /______________| "|++++++S+Y+S+T+E+M+S+\n|_)___(_/----------- _| /| |_ || |_ |____| | "++++++++\| | | | \ /__/LL__,) LL__,) | / (__|__) \ END_VAR; ?> <html> <body> Boo! </body> </html> --<cut>-- Generates the following syslog warnings: Jul 6 16:12:47 bush apache: PHP Warning: Unexpected character in input: '\' (ASCII=92) state=5 in /home/claw/public_html/backslash.php on line 11 Jul 6 16:12:47 bush apache: PHP Warning: Unexpected character in input: '\' (ASCII=92) state=5 in /home/claw/public_html/backslash.php on line 12 This is not the problem with reading \n in here files which was reported as the last fix.

« previous php.dev (#23756) next »