#22536 [Opn->Bgs]: Comments # and // BUG

From: Date: Tue, 04 Mar 2003 16:15:40 +0000
Subject: #22536 [Opn->Bgs]: Comments # and // BUG
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34775@lists.php.net to get a copy of this message
ID: 22536 Updated by: sniper@php.net Reported By: zort at linuxbr dot com dot br -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Win98 PHP Version: 4.3.1 New Comment: RTFM: http://www.php.net/manual/en/language.basic-syntax.comments.php Previous Comments: ------------------------------------------------------------------------ [2003-03-04 06:53:12] zort at linuxbr dot com dot br Comments # and // BUG. NOT BUG: <?php #---pega o xml----- $data = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> <get> <id_game>1026587</id_game> </get>"; /* $data = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> <gamestatus> <id_game>1026587</id_game> <jogadores> </jogadores> <mapa> </mapa> </gamestatus>"; */ #------------------ ?> BUGS: <?php #---pega o xml----- $data = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> <get> <id_game>1026587</id_game> </get>"; # $data = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> # # <gamestatus> # <id_game>1026587</id_game> # <jogadores> # # </jogadores> # <mapa> # # </mapa> # </gamestatus>"; #------------------ ?> OR: <?php #---pega o xml----- $data = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> <get> <id_game>1026587</id_game> </get>"; // $data = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> // // <gamestatus> // <id_game>1026587</id_game> // <jogadores> // // </jogadores> // <mapa> // // </mapa> // </gamestatus>"; #------------------ ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22536&edit=1

« previous php.bugs (#34775) next »