From:             raavo at mariarvutid dot ee
Operating system: Fedora Core release 3
PHP version:      5CVS-2005-03-07 (dev)
PHP Bug Type:     Scripting Engine problem
Bug description:  Parse error, unexpected $

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 bug report at http://bugs.php.net/?id=32214&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32214&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32214&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32214&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32214&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32214&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32214&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32214&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32214&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32214&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32214&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32214&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32214&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32214&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32214&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32214&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32214&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32214&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32214&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32214&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32214&r=mysqlcfg

Reply via email to