what is the difference between ph4 and php5

Answers were Sorted based on User's Feedback



what is the difference between ph4 and php5..

Answer / m.zeb khan

The main difference is PHP5 has much more focus on Object
Oriented Programming. In PHP5 you can pass functions by
reference, you can have abstract classes, interfaces etc.

Is This Answer Correct ?    26 Yes 5 No

what is the difference between ph4 and php5..

Answer / 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

More PHP Interview Questions

What is php simple definition?

0 Answers  


What is the special meaning of __sleep and __wakeup?

0 Answers  


how set session expire time in php?

4 Answers  


What is php artisan tinker?

0 Answers  


how php works with oracle?

1 Answers  






What are php magic quotes?

0 Answers  


What is php session_start() and session_destroy() function?

0 Answers  


How to write a program to make chess?

0 Answers  


What does empty mean in php?

0 Answers  


Why sessions are used in php?

0 Answers  


When should you use a stored procedure?

0 Answers  


What are the functions to be used to get the image's properties (size, width and height)?

0 Answers  


Categories