note 61592 modified in ref.bcompiler by danbrown
| From: | danbrown@php.net | Date: | Thu, 18 Feb 2010 14:33:49 +0000 |
| Subject: | note 61592 modified in ref.bcompiler by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166136@lists.php.net to get a copy of this message | ||
Creating a function after checking if a function exists using function_exists will result in a
"Zero Sized Reply" error.
<?php
this does NOT work any longer:
if (!function_exists("file_get_contents")) {
function file_get_contents($filename, $use_include_path = 0)
{ /*...define your own function here...*/ }
}
?>
Apache returns: "Zero Sized Reply" after compilation.
--was--
Creating a function after checking if a function exists using function_exists will result in a
"Zero Sized Reply" error.
this does NOT work any longer:
if (!function_exists("file_get_contents")) {
function file_get_contents($filename, $use_include_path = 0)
{ ...define your own function here... }
}
Apache returns: "Zero Sized Reply" after compilation.
http://php.net/manual/en/ref.bcompiler.php