PHP (4 at least, dunno about 5) stores classnames in lower case, so:
<?PHP
class Foo
{
}
class Bar extends Foo
{
}
echo get_parent_class('Bar');
echo "\n";
echo get_parent_class('bar');
?>
will output:
foo
foo
|
|
| |||||||||||||||
| Copyright © 2001-2005 The PHP Group All rights reserved. |
This unofficial mirror is operated at:
The Server Pages Last updated: Thu May 19 17:35:34 2005 CDT |