| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2011-02-04 10:27 UTC] aharvey@php.net
 
-Status: Open
+Status: Wont fix
  [2011-02-04 10:27 UTC] aharvey@php.net
  [2011-02-04 12:40 UTC] rubs33 at gmail dot com
 
-Status: Wont fix
+Status: Closed
  [2011-02-04 12:40 UTC] rubs33 at gmail dot com
  | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 15:00:01 2025 UTC | 
Description: ------------ When you set a string variable with a value like "return any_class::any_method();" and use it on "is_callable" PHP core function, the autoloading is invoked trying to load a class named "return any_class". Test script: --------------- <?php function __autoload($class) { printf("Required class: '%s'\n", $class); } $code = 'return foo::bar();'; var_dump(is_callable($code)); Expected result: ---------------- bool(false) Actual result: -------------- Required class: 'return foo' bool(false)