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

How to remove html tags from data in php?

0 Answers  


What is php good for?

0 Answers  


How to call php function from javascript using ajax?

0 Answers  


Can a super () and this () keywords be in same constructor?

0 Answers  


Is polymorphism inherited?

0 Answers  






How can we set and destroy the cookie in php?

0 Answers  


What is apache and php?

0 Answers  


What is a composer in PHP?

0 Answers  


Whether One-line comment begin with pound sing(#) in php?

2 Answers  


Which is the best web server?

0 Answers  


How to set a value in session? How to remove data from a session?

0 Answers  


How to assigning a new character in a string using php?

0 Answers  


Categories