note 10219 modified in language.oop by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 19:42:02 +0000 |
| Subject: | note 10219 modified in language.oop by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25273@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
*/
?>
--was--
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/en/language.oop.php