5.1以降、arrayのタイプヒンティングはできるのな
http://jp.php.net/manual/ja/language.oop5.typehinting.php

でもstringとintegerはできないってorz
中途半端杉