php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24018 Parse error on a high number of scripting tags
Submitted: 2003-06-04 11:05 UTC Modified: 2003-06-04 11:42 UTC
From: erika34 at libertysurf dot fr Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.1 OS: Red Hat
Private report: No CVE-ID: None
 [2003-06-04 11:05 UTC] erika34 at libertysurf dot fr
Hi,

Firstly, my php version is 4.1.2, but I don't want to upgrade just to test this "bug". 

I receive a parse error on a file which contains 497 lines of :


<?php $i++ ; echo $i.'<br>' ; ?>
<?php $i++ ; echo $i.'<br>' ; ?>
<?php $i++ ; echo $i.'<br>' ; ?>
...

It works until 496 lines, but not for 497 !!!

Is there a limit on the maximum number of php tags in a script (I modified the memory_limit (8M to 24M), but no difference) ?

Thanks in advance.

Erika

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-04 11:42 UTC] wez@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Can\'t reproduce with 4.3.2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 23:01:28 2024 UTC