Re: PHP 4.0 Bug #6053 Updated: commenting with // and ?>

From: Date: Wed, 09 Aug 2000 15:17:32 +0000
Subject: Re: PHP 4.0 Bug #6053 Updated: commenting with // and ?>
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-28285@lists.php.net to get a copy of this message
<?
       for ($x = 0; $x < 10; $x++) {
               echo "plop($x)";
//              ?>this is x: <?=$x?> blah
       }
?> using the // for debug
I could say it´s also annoying that in brackets "}" aren´t recognized in comments, like for (;;) { test(1); foo(4,4); // boo(3232); } I just want to have boo(3232); commented out, not the bracket, I have to move the bracket either to the next line or the previous one, we all try to be as lazy as possible, but I think we shouldn´t break backwards compatibility on such minor things 2c -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#28285) next »