From: Sterling Hughes Date: Wed, 2 Jul 2003 04:30:45 +0000 (+0000) Subject: add a test for get_parent_class() bug X-Git-Tag: BEFORE_ARG_INFO~445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc22926f494ad628690c2041f3daf21fa4ebd45c;p=php add a test for get_parent_class() bug --- diff --git a/tests/classes/bug24445.phpt b/tests/classes/bug24445.phpt new file mode 100644 index 0000000000..8cc1db54a2 --- /dev/null +++ b/tests/classes/bug24445.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #24399: get_parent_class() returns the current class when passed an object +--FILE-- + +--EXPECT-- +bool(false) +bool(false)