Klassen-Definition

Die öffnende Klammer einer Klassen-Deklaration beginnt auf einer neuen Zeile:

<?php
class FooBar
{

    
//... ihr Code

}
?>

Funktionsaufrufe (Previous) Funktionsdefinitionen (Next)
Last updated: Sun, 19 Dec 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

Note by: user@example.com
If we put a starting braces for control structure on same row,then why not same with classes