php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44820 overload() causes Cause
Submitted: 2008-04-24 16:22 UTC Modified: 2008-06-01 15:50 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: neel dot basu dot z at gmail dot com Assigned:
Status: Wont fix Package: Scripting Engine problem
PHP Version: 4.3.10 OS: CentOs
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: neel dot basu dot z at gmail dot com
New email:
PHP Version: OS:

 

 [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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-24 16:33 UTC] neel dot get at gmail dot com
version Corrected
 [2008-04-28 06:02 UTC] crrodriguez at suse dot de
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.

Thanks for your interest in PHP.
 [2008-06-01 15:49 UTC] neel dot get at gmail dot com
Sourceforge.net's PHP version have that Bug and I asked sourceforge Team to fix it with teh latest Update. But that replied that they are planing to Upgrade to PHP5 within few days.
But They didnt mention the Length of that "Few Days"
 [2008-06-01 15:50 UTC] neel dot basu dot z at gmail dot com
{{ Email Updated }}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 14:01:29 2024 UTC