Bug #61697 [Asn]: spl_autoload_functions returns lambda functions incorrectly

From: Date: Tue, 25 Jun 2013 05:18:59 +0000
Subject: Bug #61697 [Asn]: spl_autoload_functions returns lambda functions incorrectly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-179775@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61697&edit=1

 ID:                 61697
 Updated by:         laruence@php.net
 Reported by:        stadli at gmx dot de
 Summary:            spl_autoload_functions returns lambda functions
                     incorrectly
 Status:             Assigned
 Type:               Bug
 Package:            SPL related
 PHP Version:        5.4.0
 Assigned To:        dsp
 Block user comment: N
 Private report:     N

 New Comment:

hmm, thanks for the reminding, I'd like to see this could happen in 5.5

@dsp, what do you think?


Previous Comments:
------------------------------------------------------------------------
[2013-06-24 18:12:05] felipe@php.net

David, what about this change on 5.5?

------------------------------------------------------------------------
[2013-03-11 04:09:41] stadli at gmx dot de

Is there a reason, why this fix still hasn't been implemented?

I'd like to see this bug fixed in PHP 5.5

------------------------------------------------------------------------
[2012-04-12 05:21:32] laruence@php.net

I have made a patch for this, but there is a BC break, that is, 
spl_autoload_functions return lambad_function with name "__lambad_function" 
previously.

after patched, it will return string like "lambad_1".

------------------------------------------------------------------------
[2012-04-12 05:19:39] laruence@php.net

The following patch has been added/updated:

Patch Name: bug61697.phpt
Revision:   1334207979
URL:        https://bugs.php.net/patch-display.php?bug=61697&patch=bug61697.phpt&revision=1334207979

------------------------------------------------------------------------
[2012-04-12 05:16:05] laruence@php.net

The following patch has been added/updated:

Patch Name: bug61697.patch
Revision:   1334207765
URL:        https://bugs.php.net/patch-display.php?bug=61697&patch=bug61697.patch&revision=1334207765

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61697


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61697&edit=1


Thread (12 messages)

« previous php.bugs (#179775) next »