Bug #2529 Updated: show_source() displays php-code in one long line

From: Date: Sun, 16 Jun 2002 18:16:04 +0000
Subject: Bug #2529 Updated: show_source() displays php-code in one long line
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10767@lists.php.net to get a copy of this message
ID: 2529 Updated by: sander@php.net Reported By: sven@buente.de -Status: Open +Status: Bogus Bug Type: Misbehaving function Operating System: Windows 9x/NT PHP Version: 3.0.11 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [1999-10-15 06:03:59] sven@buente.de Sample: ...HTML Code... <?php echo "<pre>"; show_source("test.phtml"); echo "</pre>\n"; ?> ...HTML Code... This file created with Notepad, will display the following on execution: ...HTML Code... echo<pre>;show_source(index.phtml);echo</pre>\n; ...HTML Code... Shouldn't it be: ...HTML Code... <?php echo "<pre>"; show_source("index.phtml"); echo "</pre>\n"; ?> ...HTML Code... This occured on precompiled Win32-binary. Please contact me if you need further information. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=2529&edit=1

« previous php.bugs (#10767) next »