From: neel dot get at gmail dot com
Operating system: CentOs
PHP version: 4.4.8
PHP Bug Type: Scripting Engine problem
Bug description: overload() causes Cause
Description:
------------
running on PHP version 4.3.10
Server for Sourceforge.net Projects
This code Returns not output on Browser
Lynx says
Alert!: Unexpected network read error;connection aborted.
Alert!: Unable to access document.
If running the same script through PHP CLI Running version (4.3.9)
returns expected result on terminal
X-Powered-By: PHP/4.3.9
Content-Type: text/plain
called create ()
called enargise ()
Reproduce code:
---------------
<?php
header('Content-Type: text/plain');
class Life{
function __call ($method, $args, &$return){
$return = 'called ' . $method . ' (' . implode (',',
$args) . ')';
return true;
}
}
overload('Life');
$creation = new Life();
echo $creation->create()."\n";
echo $creation->enargise()."\n";
?>
Expected result:
----------------
called create ()
called enargise ()
Actual result:
--------------
NO output on Browser
Lynx reports
Alert!: Unexpected network read error;connection aborted.
Alert!: Unable to access document.
--
Edit bug report at http://bugs.php.net/?id=44820&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=44820&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=44820&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=44820&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44820&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=44820&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44820&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44820&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44820&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44820&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44820&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=44820&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=44820&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44820&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44820&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44820&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44820&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44820&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44820&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44820&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44820&r=mysqlcfg