sample and test using zend studio