From: Hannes Magnusson Date: Tue, 28 Jul 2009 22:25:31 +0000 (+0000) Subject: MFH: Fixed bug #44144 & add test X-Git-Tag: php-5.4.0alpha1~191^2~2929 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d136f42e2d9e817d12dd72889e081e1608d5562;p=php MFH: Fixed bug #44144 & add test --- diff --git a/ext/spl/tests/bug44144.phpt b/ext/spl/tests/bug44144.phpt new file mode 100644 index 0000000000..2933d2f220 --- /dev/null +++ b/ext/spl/tests/bug44144.phpt @@ -0,0 +1,27 @@ +--TEST-- +Bug #44144 (spl_autoload_functions() should return object instance when appropriate) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +array(1) { + [0]=> + array(2) { + [0]=> + object(Foo)#%d (0) { + } + [1]=> + string(15) "nonstaticMethod" + } +} + +