php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32214 Parse error, unexpected $
Submitted: 2005-03-07 10:12 UTC Modified: 2005-03-07 20:42 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: raavo at mariarvutid dot ee Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2005-03-07 (dev) OS: Fedora Core release 3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: raavo at mariarvutid dot ee
New email:
PHP Version: OS:

 

 [2005-03-07 10:12 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-07 20:42 UTC] sniper@php.net
Already fixed in CVS..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 26 01:00:03 2025 UTC