Hello Programmers,

PHP returns an appropriate error code along with the file array.
The error code can be found in the error segment of the file array that is created during the file upload by PHP.

what are the main types of php errors?

How do they different from each other?