php sample help

Implementation example
  $sm = new xxxxControl_created();
  $sm->Start();
  while($sm->IsEnd()==FALSE)
  {
    $sm->Update();
  }