Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * error types
- * warning
- * notice
- * fatal error
- * syntax error / parse Error
- * https://www.c-sharpcorner.com/UploadFile/051e29/types-of-error-in-php/
- */
- /*
- * Common reason of syntax errors are:
- Unclosed quotes
- Missing or Extra parentheses
- Unclosed braces
- Missing semicolon
- */
- echo ("Hello world");
- echo "Hello";
- echo "Hello Abar";
- echo "Hello Agamikal";
- /*
- * Fatal errors:
- * php understand but can not run the function
- * like sujon(); function not defined
- * require() also show Fatal errors
- */
- /*
- * Warning :
- * its showing only include if file not getting
- */
- /*
- * Warning :
- * its showing only include if file not getting
- */
- /*
- * Notice :
- * when variable is not defined yet
- * $hello;
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement