Advertisement
arif11015

class-3-part-21-error.php

Aug 12th, 2021
1,474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.76 KB | None | 0 0
  1. <?php
  2. /*
  3.  * error types
  4.  * warning
  5.  * notice
  6.  * fatal error
  7.  * syntax error / parse Error
  8.  * https://www.c-sharpcorner.com/UploadFile/051e29/types-of-error-in-php/
  9.  */
  10. /*
  11.  * Common reason of syntax errors are:
  12.     Unclosed quotes
  13.     Missing or Extra parentheses
  14.     Unclosed braces
  15.     Missing semicolon
  16.  */
  17. echo ("Hello world");
  18. echo "Hello";
  19. echo "Hello Abar";
  20. echo "Hello Agamikal";
  21.  
  22. /*
  23.  * Fatal errors:
  24.  * php understand but can not run the function
  25.  * like sujon(); function not defined
  26.  * require() also show Fatal errors
  27.  */
  28.  
  29. /*
  30.  * Warning :
  31.  * its showing only include if file not getting
  32.  */
  33.  
  34.  
  35. /*
  36.  * Warning :
  37.  * its showing only include if file not getting
  38.  */
  39.  
  40. /*
  41.  * Notice :
  42.  * when variable is not defined yet
  43.  * $hello;
  44.  */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement