1--TEST-- 2Bug #37138 (autoloader tries to load callback'ed self and parent) 3--FILE-- 4<?php 5spl_autoload_register(function ($CN) { var_dump ($CN); }); 6class st { 7 public static function e () {echo ("EHLO\n");} 8 public static function e2 () {call_user_func (array ('self', 'e'));} 9} 10class stch extends st { 11 public static function g () {call_user_func (array ('parent', 'e'));} 12} 13st::e (); 14st::e2 (); 15stch::g (); 16?> 17--EXPECT-- 18EHLO 19EHLO 20EHLO 21