what is the difference between ph4 and php5

Answer Posted / rajesh hothi

in php4 Constructors define as class name like
function class1()
{
}

in php4 Constructors define as__Constructors

function __Constructors()
{
}

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to repeat a string to a specific number of times in php?

534


Can I run php without xampp?

507


Code to upload a file in PHP?

563


What is difference between get and post?

534


Write the statements that are used to connect php with mysql

515






How to convert a json string to an array in php?

559


What are properties in php?

517


How come the code works, but does not for two-dimensional array of mine?

510


Name some of the constants in php and their purpose.

539


How can you get web browser’s details using PHP?

530


How many ways to include array elements in double-quoted strings using php?

568


Explain what are the different errors in php?

559


How do I stop php artisan serve in windows?

508


Why should I store logs in a database rather than a file?

544


Which is better php or wordpress?

530