what is the dirrence in PHP4 & PHP5 . ?

Answers were Sorted based on User's Feedback



what is the dirrence in PHP4 & PHP5 . ?..

Answer / nagu

php5 has advanced zend engine.. it also have the oops
concepts in php..in php4 version oops concept is minimized..

Is This Answer Correct ?    38 Yes 3 No

what is the dirrence in PHP4 & PHP5 . ?..

Answer / leelu

Difference between php4/5

PHP5
----
Strong OOPS support
1) Data Encapsulation (public, private, protect
visibility for member variables and methods)
2) Concepts like Abstraction, Inheritance,
Reflections(reverse engineering APIs)
3) More Magic Functions like __construct, __destruct,
__call, __get, __set
4)Type Hinting (as in C , we can specify the data type
the argument will be taking in function)
5) late static bindings etc..

Is This Answer Correct ?    20 Yes 1 No

what is the dirrence in PHP4 & PHP5 . ?..

Answer / gaurav rishi

PHP5 is the latest version and have more feature than PHP4 e.g. opps concept

Is This Answer Correct ?    8 Yes 2 No

what is the dirrence in PHP4 & PHP5 . ?..

Answer / jackal

Answer is your head. Giving wrong answer.

Is This Answer Correct ?    6 Yes 4 No

what is the dirrence in PHP4 & PHP5 . ?..

Answer / rajkumar

it allows to data inheritance, polimorphisum,encapsulation
and dynamic binind is accepted in that programme is caleed
as a php5 and php4

Is This Answer Correct ?    2 Yes 1 No

what is the dirrence in PHP4 & PHP5 . ?..

Answer / michael jerold

php5 has oops concept. no possible in php4

Is This Answer Correct ?    9 Yes 9 No

what is the dirrence in PHP4 & PHP5 . ?..

Answer / sathya

PHP5 for the most part is backwards compatible with PHP4,
but there are a couple key changes that might break your
PHP4 script in a PHP5 environment. If you aren't already, I
stronly suggest you start developing for PHP5. Many hosts
these days offer a PHP5 environment, or a dual PHP4/PHP5
setup so you should be fine on that end.

Is This Answer Correct ?    1 Yes 2 No

what is the dirrence in PHP4 & PHP5 . ?..

Answer / raju

In php5 oops concept is avialable in full version but php4
oops concopt is their but it has some limitaions.

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More PHP Interview Questions

Why do we use php?

0 Answers  


I created a cookie with the value like '1A2A',now i want to update this value regularly (about 20 times in a minute) with the value '1A2A3A' , 3A is the new value,new value will vary on the request it may be 3A or 4A or 100A ,some times the cookie is updating with new value but not every time.Can any body suggest the solution

1 Answers  


why header() gives the error like header already sent in php please explain in brief

1 Answers   KMK,


What are php data types?

0 Answers  


Are php variables global?

0 Answers  






What are the difference between echo and print?

0 Answers  


Do you know how to delete a file from the system?

0 Answers  


How to get the ip address of the client?

0 Answers  


Is it possible to extend the execution time of a php script?

0 Answers  


Is php an oop?

0 Answers  


Differences between get, post and request methods ?

0 Answers  


how to select the multiple data in selection button

1 Answers   xasis technologies,


Categories