What are the three classes of errors that can occur in PHP?
The three basic classes of errors are notices (non-critical), warnings (serious errors) and fatal errors (critical errors).
The three basic classes of errors are notices (non-critical), warnings (serious errors) and fatal errors (critical errors).
Yes, we use the urlencode() function to be able to protect special characters.
The function eregi_replace() is identical to the function ereg_replace() except that it ignores case distinction when matching alphabetic characters.
It is possible to use the document.form.submit() function to submit the form. For example: <input type=button value="SUBMIT" onClick="document.form.submit()">
for is expressed as follows: for (expr1; expr2; expr3) statement The first expression is executed once at the beginning. In each iteration, expr2 is evaluated. If it is TRUE, the…
The string function strstr(string allString, string occ) returns part of allString from the first occurrence of occ to the end of allString. This function is case-sensitive. stristr() is identical to…
The boolean function isset determines if a variable is set and is not NULL.
The function parse_ini_file() enables us to load in the ini file specified in filename and returns the settings in it in an associative array.
Exception::__toString gives the String representation of the exception.
Exception::getMessage lets us getting the Exception message and Exception::getLine lets us getting the line in which the exception occurred.