note 10219 added to Classes and Objects
| From: | mgile at luminee dot com | Date: | Tue, 19 Dec 2000 23:06:54 +0000 |
| Subject: | note 10219 added to Classes and Objects | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8926@lists.php.net to get a copy of this message | ||
It seams as though php 4.0 is NOT case sensitive when it comes to class names or constructors.
for example:
<?
class BOB {
function bob ()
{
echo 'bob<br>';
}
function BoB ()
{
echo 'BoB<br>';
}
}
$bob = new Bob();
/* output
BoB
*/
?>
http://www.php.net/manual/language.oop.php