php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18953 T_INLINE_HTML parser error
Submitted: 2002-08-16 22:22 UTC Modified: 2002-09-14 00:23 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: fclever at verinform dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.2.2 OS: Win32
Private report: No CVE-ID: None
 [2002-08-16 22:22 UTC] fclever at verinform dot com
I randomly get error messages like this:

Parse error: parse error, unexpected T_INLINE_HTML in e:\verinform\pm\www\inc\ui\wizard\CWizardFrameSet.php on line 734

The line number seems random as well. In this specific case it is a comment /** bla */.

I do not know how to reproduce it because when you press refersh it does not happen. (Apache on Win32).

If you can tell me more about T_INLINE_HTML I might be able to produce more information.

thanks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-16 23:33 UTC] kalowsky@php.net
Theres certainly a lot of Win32 machines out there, think you can narrow it down a bit?

Also, can you tell us what (if any) extensions for PHP you're running (session, ODBC, mbstring, etc etc) ?
 [2002-08-17 00:29 UTC] fclever at verinfom dot com
It occurs on Windows N% 4.0 SP 6 and Windows 2000 SP2.
The following extensions are enabled:
- OCI8
- GD 2
- XSLT (Sablot)
- Session

This seems to happen primarly with scripts that are heavily Object Oriented. It does not seem to be load related.

thanks.
 [2002-08-17 01:22 UTC] fclever at verinform dot com
mistyped email.
 [2002-08-17 04:39 UTC] edink@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-08-19 14:44 UTC] fclever at verinform dot com
The latest 4.3.0-dev snapshot crashes very frequently.
The latest STABLE snapshot (4.2.3-dev) performs significantly more stable.
 [2002-08-19 15:38 UTC] ddreier at mbuti dot org
I have run into the same problem, running the same extensions, under Windows NT 4. It is a fairly significant issue for me.
 [2002-09-14 00:23 UTC] fclever at verinform dot com
We have been using PHP 4.2.3 snapshoots, PHP 4.2.3RC1 and PHP 4.2.3 for a while now and the problem does not occur anymore at all.
We are running this on production servers, thus it must have gotten fixed one way or another.
 [2010-09-07 12:46 UTC] htekinfo at yahoo dot com
I had the same problem with php 5, windows, apache2. Some small scripts still worked, but most didn't, and in different directories of the web server. As I could not find anything that had changed, I opened the Apache log files to find an error or external attack. Nothing, but the files were huge, and that was the key:

The server log files were simply too big (2-3 years of logs) !

I suppose Apache did send some error bytes that were inserted - spliced - into the php script ? Just rename the big files and with new apache log files, no more T_INLINE_HTML problems.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 16:01:33 2025 UTC