#32214 [Opn->Csd]: Parse error, unexpected $

From: Date: Mon, 07 Mar 2005 19:42:34 +0000
Subject: #32214 [Opn->Csd]: Parse error, unexpected $
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75052@lists.php.net to get a copy of this message
ID: 32214 Updated by: sniper@php.net 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

« previous php.bugs (#75052) next »