Doc #66220 [Opn->Nab]: Class name case-sensitivity

From: Date: Tue, 03 Dec 2013 00:23:20 +0000
Subject: Doc #66220 [Opn->Nab]: Class name case-sensitivity
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10670@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66220&edit=1 ID: 66220 Updated by: bjori@php.net Reported by: info at websivu dot com Summary: Class name case-sensitivity -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Why? Class names are not case sensitive. Previous Comments: ------------------------------------------------------------------------ [2013-12-02 18:38:29] info at websivu dot com Description: ------------ --- From manual page: http://www.php.net/language.oop5.visibility --- For typing convention/consistency, class instantiation in the example #2 should be written with a capital letter. Is now: $myFoo = new foo(); Should be: $myFoo = new Foo(); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66220&edit=1

« previous php.doc.bugs (#10670) next »