All Questions
The latest stable version of PHP is
PHP is an open source server side scripting language used to develop dynamic websites . PHP stands for
Rasmus Lerdorf known as the father of PHP . Php was created by Rasmus Lerdorf In 1995 .
The latest stable version of Apache is 2.4.16, released on 14th july 2015.
Unset is used to delete(destroy) a variable whereas unlink used to delete a file.
array_merge merges the elements of one or more than one array such that the value of one array appended at the end of first array. If the arrays have same strings key then the
There are some difference between session and cookies thath are as following:-
Unset is used to delete(destroy) a variable whereas unlink used to delete a file.
setcookie() function is used to set cookies in php.To declare Cookies syntax will be:- setcookie(name, value, expire, path, domain);name : Na
var_dump() function is used to display structured information(type and value) about one or more variable.syntax:- var_dump(variable1,variable2,.....variablen);e.g&
Unset is used to delete(destroy) a variable whereas unlink used to delete a file.
This function replace some characters with some other characters in a string , this function is case sensitive.syntax:- str_replace(find,replace,string);find:-requ
include() function gives the warning when specified file not found but all script will be continually executed.e.g. <?php &nb
final class is a class that can not be inherited.Its protect the methods of class to be overriden by the child classes.e.g. final class baseclass &n
Interface : An interface does not contain any code,it contain only declaration of methods,pr
echo() and print() function both are used to show the output on the visitors screen but in echo we can take one or more parameters.print() has a return value of true or
There are some difference between PHP4 and PHP5 that are as following:- 1) In PHP5 abstract classes are used but not used in PHP4. 2)
This function replace some characters with some other
There are mainly three types of error in php. These are - (1) Notice error (2) Warning error &nb
Ob_start used to active the output buffering .When output buffering is on all output of the page sent at one time to the browser ,otherwise sometimes we face headers already sent type erro
.htaccess is a configuration file running on Apache server.These .htaccess file used to change the functionality and features of apache web server .e.g .htac
Web services converts our applicaton into a web-application ,which can publish its functions and messages to the internet users.The main web services platform is XML and HTTP.Web services
A static method is accessible without needing instantiation of a class. It means there is no need to make an object to call the static methods .Static methods and propert
No, multiple inheritance is not supported by PHP
In PHP we can define constants with the keyword
We can change the time zones by using date_default_timezone_set() function.e.g :<?php date_default_timezone_set('America/Los_
We can destroy session by:
What is the syntax to send a mail in
In PHP mail () function is used to send mails.Syntax:mail (to , subject ,message ,headers, parameters);
The ternary operator is a short form of doing if statement. We called it ternary operator because it takes three operands ie. 1 – condition , 2- result for true ,3 –result for false.
When string is in single quotes php will not evaluate it . If there is a string with single quotes
strstr and stristr both are used to search for the first occurrence of a string inside another stri
when the string is evaluated in numeric context it wo
The default session timeout is 24 minutes (1440 secon
With autoloadersPHP is given a last chance to l