#45428 [Opn]: PHP echoes nothing when it is told to echo a PHP opening tag

From: Date: Thu, 03 Jul 2008 15:42:22 +0000
Subject: #45428 [Opn]: PHP echoes nothing when it is told to echo a PHP opening tag
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126245@lists.php.net to get a copy of this message
ID: 45428 User updated by: eladnava at gmail dot com Reported By: eladnava at gmail dot com Status: Open Bug Type: Unknown/Other Function Operating System: Linux -PHP Version: 4.4.8 +PHP Version: 5.2.6 New Comment: Incorrect PHP version. Previous Comments: ------------------------------------------------------------------------ [2008-07-03 15:39:42] eladnava at gmail dot com Description: ------------ PHP echoes nothing when it is told to echo a PHP opening tag: echo( "<?php" ); // echoes "" echo( "<?" ); // echoes "" It can echo ?>. Reproduce code: --------------- <?php echo( "<?php" ); // echoes "" echo( "<?" ); // echoes "" ?> Expected result: ---------------- <?php or <? Actual result: -------------- "" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45428&edit=1

« previous php.bugs (#126245) next »