#49393 [Com]: Comment Block exiting prematurally

From: Date: Fri, 28 Aug 2009 01:17:17 +0000
Subject: #49393 [Com]: Comment Block exiting prematurally
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-141645@lists.php.net to get a copy of this message
 ID:               49393
 Comment by:       carsten_sttgt at gmx dot de
 Reported By:      mudoch at gmail dot com
 Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Win XPsp3
 PHP Version:      5.3.0
 New Comment:

> verses the action in 5.2.5 where the code was written and tested.

In your 5.2.5 installation short_open_tags was enabled. In your current
installation it's not.

Regards,
Carsten


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

[2009-08-27 19:16:08] sjoerd@php.net

Thank you for your bug report.

I was unable to reproduce the bug you described. Are you sure there is
no ?> somewhere in the comment? Did you supplied the right example code?
Is there some non-ASCII character in your file? It may help us if you
put the file up for download somewhere.

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

[2009-08-27 19:00:02] mudoch at gmail dot com

Description:
------------
The comment block /* ... */ will exit at the first > in the block
verses the action in 5.2.5 where the code was written and tested.



Reproduce code:
---------------
<?
/* *
 * @author Karim Mribti
 * @license LGPL >= 2.1
 * @package barcode-mribti
 * @copyright 2001 Karim Mribti
 * @see image.php
 * @version $Id$
 * 
 * barcode site home page
 * Adapted from 0.0.7a on 2007-05-24 by Frédéric G. MARAND for Agorus
S.A.
 * 
 * May2009 Lawrence Sall - modified for a cleaner fit, adjust util.php
for
 * desired defaults.
 * 
 *  
*/
include("home.php");
?>

Expected result:
----------------
Page in home.php to be displayed

Actual result:
--------------
= 2.1 * @package barcode-mribti * @copyright 2001 Karim Mribti * @see
image.php * @version $Id$ * * barcode site home page * Adapted from
0.0.7a on 2007-05-24 by Frédéric G. MARAND for Agorus S.A. * * May2009
Lawrence Sall - modified for a cleaner fit, adjust util.php for *
desired defaults. * * */ include("home.php"); ?>


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


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



Thread (4 messages)

« previous php.bugs (#141645) next »