What is the difference between ereg_replace() and eregi_replace()?
The function eregi_replace() is identical to the function ereg_replace() except that it ignores case distinction when matching alphabetic 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.
The goto statement can be placed to enable jumping inside the PHP program. The target is pointed by a label followed by a colon, and the instruction is specified as…
To be able to verify whether a PHP variable is an instantiated object of a certain class we use instanceof.