Lines Matching refs:code
180 $code = $this->getCode();
181 if ($code !== '220'){
182 throw new CodeException('220', $code, array_pop($this->resultStack));
197 $code = $this->pushStack($in);
198 if ($code !== '220'){
199 throw new CodeException('220', $code, array_pop($this->resultStack));
216 $code = $this->pushStack($in);
217 if ($code !== '250'){
218 throw new CodeException('250', $code, array_pop($this->resultStack));
241 $code = $this->pushStack($in);
242 if ($code !== '334'){
243 throw new CodeException('334', $code, array_pop($this->resultStack));
246 $code = $this->pushStack($in);
247 if ($code !== '334'){
248 throw new CodeException('334', $code, array_pop($this->resultStack));
251 $code = $this->pushStack($in);
252 if ($code !== '235'){
253 throw new CodeException('235', $code, array_pop($this->resultStack));
267 $code = $this->pushStack($in);
268 if ($code !== '250') {
269 throw new CodeException('250', $code, array_pop($this->resultStack));
284 $code = $this->pushStack($in);
285 if ($code !== '250') {
286 throw new CodeException('250', $code, array_pop($this->resultStack));
302 $code = $this->pushStack($in);
303 if ($code !== '354') {
304 throw new CodeException('354', $code, array_pop($this->resultStack));
307 $code = $this->pushStack($in);
308 if ($code !== '250'){
309 throw new CodeException('250', $code, array_pop($this->resultStack));
323 $code = $this->pushStack($in);
324 if ($code !== '221'){
325 throw new CodeException('221', $code, array_pop($this->resultStack));
349 $code = substr($str,0,3);
350 return $code;