ID: 32214 Updated by: [EMAIL PROTECTED] Reported By: raavo at mariarvutid dot ee -Status: Open +Status: Closed Bug Type: Scripting Engine problem Operating System: Fedora Core release 3 PHP Version: 5CVS-2005-03-07 (dev) New Comment:
Already fixed in CVS.. Previous Comments: ------------------------------------------------------------------------ [2005-03-07 10:12:16] raavo at mariarvutid dot ee Description: ------------ Reproducible parse error. PHP is custom compiled from 5.0.4-dev PHP snapshot and runs in cgi mode. My last compilation (snapshot from 19 Feb 05) is not affected. './configure' '--enable-calendar' '--enable-cgi' '--enable-discard-path' '--enable-exif' '--enable-ftp' '--enable-force-cgi-redirect' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-memory-limit' '--enable-mbregex' '--enable-mbstring=all' '--enable-static-pdflib' '--enable-sqlite-utf8' '--enable-zend-multibyte' '--with-config-file-path=/var/www/conf' '--with-curl' '--with-exec-dir=/var/www/bin/' '--with-gd' '--with-gettext' '--with-freetype-dir' '--with-iconv' '--with-imap' '--with-imap-ssl' '--with-jpeg-dir' '--with-kerberos' '--with-mcrypt' '--with-mm' '--with-mysql' '--with-openssl' '--with-png-dir' '--with-tiff-dir' '--with-xmlrpc' '--with-xsl' '--with-zlib' Reproduce code: --------------- <? if ($a){ //echo "</script>"; } ?> Expected result: ---------------- No error. Actual result: -------------- Parse error: parse error, unexpected $ in /var/www/test.php on line 6 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32214&edit=1