What are the different types of Errors in PHP?
Answers were Sorted based on User's Feedback
Answer / guru
Parse error:
The parse errors php is the syntax error. It stops the execution of the script in php. The common reasons for occur parse in php as follows:
1.unclosed quotes
2.missing semicolon
3.unclosed braces
4.missing parentheses
5.add extra parentheses
Fatal error in php:
The fatal error will occur when you call the undefined function in php. It stop the execution of the php script.
Waring in php:
The warning is occurred when you include the file but the file is not found in php. It does not stop the execution of the php script.
Noticed Error:
The noticed error is occurred when you use undefined variable. It does not stop execution of the php script
For more details visit: http://www.phponwebsites.com/2014/06/php-types-of-errors.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / phponwebsites
Basically four types errors is occurred in php. There are:
1. Parse error
2. Fatal error
3. Warning
4. Noticed error
Parse error:
The parse errors php is the syntax error. It stops the execution of the script in php. The common reasons for occur parse in php as follows:
1.unclosed quotes
2.missing semicolon
3.unclosed braces
4.missing parentheses
5.add extra parentheses
Fatal error:
The fatal error will occur when you call the undefined function in php. It stop the execution of the php script.
Waring in php:
The warning is occurred when you include the file but the file is not found in php. It does not stop the execution of the php script.
For more details visit http://www.phponwebsites.com/2014/06/php-types-of-errors.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kumar
IS IT A CHATING SITE?I DON'T THING ONE CAN GET HIS ANSWER VISITING THIS SITE.PLEASE STOP CHATING AND USE IT IN A PROPER WAY.
I HAD TO WRITE IT SORRY.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / abcd
WARNING - Run-time warnings (non-fatal errors). Execution of
the script is not halted.
NOTICE - Run-time notices. Indicate that the script
encountered something that could indicate an error, but
could also happen in the normal course of running a script.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / lakshmi
A Error is a kind of oversight. We can say a mistake is a state of having wrong or false information or a lapse is characterized as a surprising, invalid project state from which it is difficult to recuperate.
Error can likewise be characterized as "a deviation from exactness or accuracy". A "slip-up" is a blunder brought about by a blame: the issue being confusion, heedlessness, or absent mindedness. A lapse message with filename, line number and a message depicting the slip is sent to the program.
checkout this http://askxpert.com/46/what-are-the-different-types-of-errors-in-php
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / seemant saxena
Dear concern,
This is seemant. Kindly help me. i have done BE in it
stream, but i am not more knowledge in computer language.
so i have start leaning with php.
so kindly suggest me what will be do in stating.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / dfsgfsd
e-compile error
e-warning error
e-parse error
e-fatal error
e-recoverable error
e-all
e-user error
e-user_compile_error
| Is This Answer Correct ? | 16 Yes | 19 No |
Answer / naveed
hello every body, this is naveed. iam a mca fresher. so
please tell me that which mnc's are hiring for php or
joomla??
my email id is :- naveed.87mca@gmail.com
thank u
| Is This Answer Correct ? | 8 Yes | 17 No |
Answer / yamini
HAI,
THIS IS YAMINI ,I AM TRYING ON PHP.SO,CAN U SEND ME 2
YEARS EXPERIENCED RESUME..
REGARDS,
YAMINI
| Is This Answer Correct ? | 30 Yes | 44 No |
Answer / sankar
hi YAMINI i have 2 years experience resume and me also if u
want send ur emailid i will send this is my email id
sankar.sakthi@g-antssoft.com,sankarlogin@gmail.com
| Is This Answer Correct ? | 9 Yes | 38 No |
Explain me the difference between include and require?
i start a new session with : session_start(); then i set some session variable like this : $_SESSION['name']=$_POST['name'];\ and some another variables. at bottom of page i set header to diffrent page : header('location: index.php'); exit(); now in new page (index.php i can't access to my session variables, like $_SESSION['name']) what's wrong ? thanks. here is my files : a.php ======================================== session_start(); require ('config.inc.php'); if(isset($_POST)) foreach($_POST as $v=>$k) { $items[$v]=$k; } $sql="SELECT * FROM members WHERE username='{$items['user']}' AND pass=MD5('{$items['Password']}') "; $res=mysql_query($sql); $row=mysql_fetch_assoc($res); if($row['username']) { $_SESSION['type']=$row['type']; $_SESSION['name']=$row['name']; $_SESSION['family']=$row['family']; $_SESSION['username']=$row['username']; $_SESSION['date']=$row['date']; } header('location: admin.php'); exit(); ====================================== admin.php ===================================== <?php session_start(); if(!isset($_SESSION['admin'])) { header('location: index.php'); exit(); } require ('config.inc.php'); ?> . . . =================================
What is the difference between rest and soap?
Differentiate between php5 and php7?
how can we check mail function with '127.0.0.1' (before submitting a site?
What is repository in php?
If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b? Can anyone explain how's the value of $$b=100
15 Answers ABC, Asan, Indivar, Swistro Marketing Solutions,
How to get the directory name out of a file path name?
What is meant by session in php?
How can we extract string ?allinterview.com ? from a string ?http://info@allinterview.com? using regular expression of PHP?
Explain the difference between mysql_connect and mysql_pconnect?
What is difference between base_url and site_url?