So functions/methods in PHP are case insensitive?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-05-01T11:48:55Z Indexed on 2010/05/01 11:57 UTC
Read the original article Hit count: 252

Filed under:
|
|
function ag()
{
    echo '2';
}

Ag();
class test {
    function clMe()
    {
        echo 'hi';
    }
}

$instance = new test;
$instance->clme();

But that's the not case with variables,

what's the rationale in it?

© Stack Overflow or respective owner

Related posts about php

Related posts about case-insensitive