ID: 44820 User updated by: neel dot get at gmail dot com Reported By: neel dot get at gmail dot com Status: Open Bug Type: Scripting Engine problem Operating System: CentOs -PHP Version: 4.4.8 +PHP Version: 4.3.10 New Comment:
version Corrected Previous Comments: ------------------------------------------------------------------------ [2008-04-24 16:22:37] neel dot get at gmail dot com 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 this bug report at http://bugs.php.net/?id=44820&edit=1