PHP 4.0 Bug #7946: Recognition of <script> tags broken ?
| From: | bbak at wob-interactive dot de | Date: | Thu, 23 Nov 2000 13:33:51 +0000 |
| Subject: | PHP 4.0 Bug #7946: Recognition of <script> tags broken ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39006@lists.php.net to get a copy of this message | ||
From: bbak@wob-interactive.de
Operating system: Suse Linux 6.4
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: Recognition of <script> tags broken ?
After uprading to PHP4.0.3pl1 we had some strange problems with our client-side Javascripts.
Something (we assume PHP)began quoting Javascript Objects:
the original js-source: var d=document;
became: var d="document;"
With older versions of PHP we had no problems (using the same source files of course).
Changing from inline Javascript to external Javascript with
<script Language="Javascript" src="somefile.js"
type="text/Javascript"> solved the problem.
--
Edit Bug report at: http://bugs.php.net/?id=7946&edit=1