|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-04-24 16:22 UTC] neel dot basu dot z 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 02:00:01 2025 UTC |
{{ Email Updated }}