[php-maint] Bug#340643: // followed of /* */ ,
the tag ?> in // is consideration
Marcelo Jorge Vieira (metal)
marcelo.vieira at minc.gov.br
Thu Nov 24 19:54:46 UTC 2005
Package: php4
Version: 4.4.0-4
Severity: important
Tags: sarge, sid
when i execute the code below, the desired exit would be "aaaa", only
that,
the tag ?> of the // (line comment) is being taken in consideration.
showing the code below the line comment. (the same it happens in version
4.3.2 and 4.3.10-16)
<?
print "aaaa";
//EXAMPLE TO USE
//<?php readfile(); ?>
/**
*
*
* @since 09/11/2005
* @author Marcelo Jorge Vieira <metal at alucinados.com>
* @access public
*/
function statusHtmlRow($strIconset, $arrData)
{
print "hhhhhhhhhh";
}
?>
otherwise, if i use the /* */ (block comment), the tag isn't taken into
consideration.
<?
print "aaaa";
/*
EXAMPLE TO USE
<?php readfile(); ?>
*/
/**
*
*
* @since 09/11/2005
* @author Marcelo Jorge Vieira <metal at alucinados.com>
* @access public
*/
function statusHtmlRow($strIconset, $arrData)
{
print "hhhhhhhhhh";
}
?>
--
Marcelo Jorge Vieira (metal)
alma alucinada - http://metal.alucinados.com
jabber - metal at alucinados.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20051124/19354f76/attachment.pgp
More information about the pkg-php-maint
mailing list