title: Why file upload error codes in php miss number '5'?
body: <p>I am writing a custom error handling / reporting function for PHP file upload and I noticed that the error codes returned are numbered from 0 to 8 except 5.</p>
  
  <p>Is this a typo in the source I am using or is it really this way? If it is so, I am curious why they have skipped number '5'.</p>
  
  <p>Thanks.</p>
  
  <p><strong>Edit</strong>
  In response to <code>Pekka</code>, here are the error codes from PHP manual.</p>
  
  <pre>
  0 | UPLOAD_ERR_OK         | There is no error, the file uploaded with success.
  1 | UPLOAD_ERR_INI_SIZE   | Size exceeds upload_max_filesize in php.ini.
  2 | UPLOAD_ERR_FORM_SIZE  | Size exceeds MAX_FILE_SIZE specified in HTML form.
  3 | UPLOAD_ERR_PARTIAL    | The uploaded file was only partially uploaded.
  4 | UPLOAD_ERR_NO_FILE    | No file was uploaded.
  <del>5</del> | <del>UPLOAD_ERROR_E</del>        | As explained by @Progman, removed in rev.  81792
  6 | UPLOAD_ERR_NO_TMP_DIR | Missing a temporary folder.
  7 | UPLOAD_ERR_CANT_WRITE | Failed to write file to disk.
  8 | UPLOAD_ERR_EXTENSION  | File upload stopped by extension.
  </pre>