親切な人が初心者にPHPの関数を使い方を教える (194レス)
親切な人が初心者にPHPの関数を使い方を教える http://medaka.5ch.net/test/read.cgi/php/1068190843/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
105: nobodyさん [sage] 2005/12/30(金) 17:12:50 ID:??? <? class WAR{ var $human;var $arms;var $army;var $rage;var $sadness;var $gain;var $money; function buy_arms( $many = 1){ $cost = 100000; $this->arms += $many; $this->money -= $cost * $many; } function set_arms2human( $many = 1){ $cost = 10000000; $this->human -= $many; $this->army += $many; $this->money -= $cost * $many; $this->gain += $cost * $many; } function attack(){ $cost = 5000000; $this->money -= $cost * $this->army; $this->sadness += $this->army; $this->rage += $this->sadness * 2; $this->army = ''; } function revenge( $rage){ for( $i=0; $rage < $i; $i++){ $this->attack(); } } function cure(){return FALSE;} } ?> http://medaka.5ch.net/test/read.cgi/php/1068190843/105
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 89 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.006s