code: private function phpIniReady(array $setup_list = [], array $check_list = []) {
          foreach ($setup_list as $name => $value) {
              ini_set($name, $value);
          }
          foreach ($check_list as $name => $value) {
              if (ini_get($name) != $value) {
                  throw new \RuntimeException("PHP ini [$name] should be $value");
              }
          }
      }
docs: php ini检测
  @param array $setup_list
  @param array $check_list
  @throws \RuntimeException