#19175 [Com]: highlight_file bug?

From: Date: Thu, 26 Jun 2008 19:42:45 +0000
Subject: #19175 [Com]: highlight_file bug?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126049@lists.php.net to get a copy of this message
 ID:               19175
 Comment by:       carlmcdade at gmail dot com
 Reported By:      bjarte at gandtech dot com
 Status:           No Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Windows 2000
 PHP Version:      4.2.2
 New Comment:

Same problem with PHP 5.2.5 on Windows XP.


Previous Comments:
------------------------------------------------------------------------

[2005-10-18 01:35:41] el_flipis at yahoo dot es

I'm using PHP 5.0.5 and i experience the same problem. This code:

$desc = fopen("temp.php","w");
fwrite($desc,"<?php".$cphp."?>");
ob_start();
highlight_file("temp.php");
$code_ret = ob_get_contents();
ob_end_clean();
fclose($desc);
unlink("temp.php");
echo $code_ret;

stops after a certain lenght of file. I don't know why it happens, i've
tried whith highlight_string() and the result is the very same.

------------------------------------------------------------------------

[2002-09-23 07:59:38] sniper@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2002-08-29 23:08:35] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

------------------------------------------------------------------------

[2002-08-29 12:07:34] bjarte at gandtech dot com

highlight_file() seams to stop after a sertan length, try highlight a
big file to get the bug. The apache server seams to stop data after a
sertan number of bytes.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19175&edit=1



Thread (5 messages)

« previous php.bugs (#126049) next »