previous関数コール (Previous) (Next) 関数定義next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Japanese | Polish | Spanish | Turkish

クラス定義

クラスの宣言時には、いったん改行した後に開始波カッコをつけるようにします。

<?php
class Foo_Bar
{

    
//... コードをここに書きます

}
?>

previous関数コール (Previous) (Next) 関数定義next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
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