|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #196 parser error with incorrect eval strings
Submitted: 1998-03-25 12:39 UTC Modified: 1998-03-26 08:14 UTC
From: auke at snt dot utwente dot nl Assigned: zeev (profile)
Status: Closed Package: Reproducible Crash
PHP Version: 3.0b6 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: auke at snt dot utwente dot nl
New email:
PHP Version: OS:


 [1998-03-25 12:39 UTC] auke at snt dot utwente dot nl
  $test="echo \"this is a test\";";
  $test="echo \"and \" another \" test \" it \" is \";";
  echo "well?";

modules: --with-mysql --with-apache
(also gd support)

I didn't change anything in the php3.ini file

This script above seems to do allright the first time, but if you
reload it often enough (usually about 5 times with my apache 1.2.5 and 1.3b3 setup)
it will say something like this:
this is a test
Warning: Unexpected character in input: ' in /export/home/dnd/WWW//test/eval.test.phtml
on line 4

Parse error: parse error in /export/home/dnd/WWW//test/eval.test.phtml on line 6

from then on the php parser is instable and sometimes crashes.
It seems that if you don't push the reload button, but just type enter after the 
url a few times, the parser will die more often...
Guess netscape sends different headers in the latter case.

good luck hunting :)
Auke van Slooten


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-26 08:14 UTC] zeev
This bug should be fixed in the RC.  Waiting for response
from the user...
Indeed it was already fixed in the RC
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Dec 06 16:01:27 2023 UTC