ID:               21938
 Comment by:       chris at antiochwebhost dot com
 Reported By:      arne dot brachhold at co4 dot de
 Status:           No Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Windows 2000
 PHP Version:      4.3.1-dev
 New Comment:

I too am having this problem...

Example:

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in
/home/httpd/vhosts/soundthetrumpet.org/httpdocs/Admin_Center/Communicator.php
on line 540

-

There is absolutely no reason that I should be having this problem as
that entire section of the file is non-php.

I'm using v4.3.3 strangely enough, so I'm not sure if this is a version
issue.


Previous Comments:
------------------------------------------------------------------------

[2003-04-08 14:39:33] duerra at yahoo dot com

I am having this problem is as well.  It doesn't happen in all my
scripts, but mainly on the larger ones.  The only consistency here is
that it's telling me that the error occures BEFORE it actually does,
whether it's telling me 10 lines or 50 lines, though, isn't
consistent.

Example:  

//line 145
echo "something"

PHP may tell me that I have an error on line 105, or something like
that.

This is very peculiar, but it is also very existent.  Any word yet on
what could be going wrong??

------------------------------------------------------------------------

[2003-02-20 08:04:37] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-02-13 02:21:22] [EMAIL PROTECTED]

What was the result when testing with CGI binary?
(on command line!)

I can't reproduce this with even over 1000 lines of code..


------------------------------------------------------------------------

[2003-02-05 03:45:55] arne dot brachhold at co4 dot de

It shows the correct line on short scripts like yours.
But when I create a script, write 20 times

if(isset($blubb)) {


}

ans then blubb(); which is now on line 88, it tells me the error is on
line 66. As longer the script is as higher is the difference.

Sorry at the moment i don't have the time to test this with the CGI
Binary. But i can do this on weekend.

------------------------------------------------------------------------

[2003-02-04 18:19:09] [EMAIL PROTECTED]

Using PHP 4.3.1-dev and running this script:

<?php

   blubb();

?>

What line is the error reported on? (using PHP CLI binary)
And what about with PHP CGI binary ?

For me, it says the error is on line 3, which is correct.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21938

-- 
Edit this bug report at http://bugs.php.net/?id=21938&edit=1

Reply via email to