PHP, CSS, Ajax, webdevelop and everything else.
    Archives for 16 January 2008 (1)
16 January 2008

Zend PHP5 certification Exam study review 7: PHP4 And PHP5

Due to the fact that many hosting providers and live web sites are still using PHP4, and this situation is likely remaining for some time; the PHP5 Certification Exam has a topic on the difference between PHP4 and PHP5. You should have very good knowing that PHP5 has great improvement on which subject as well as deprecations on older code. I did post review on the Language Basic and Function topics in the exam, because I think these topic is too “basic” to write out and you should quickly or already know them. However, this post do start with some basic concept then migrating to the difference made in PHP5 as compare to older version; because I think this post is consider the “Language Level” subjects on PHP. So, here comes “what exactly language construct”…
(more…)

last comments  
Henry Lu
Henry Lu

I agree mcloide for the following reasons: You should never use parentheses around your return variable when returning by reference, ...
mcloide
mcloide

Hi Heena, about the first question, the correct answer would be 3. PHP4 will throw a notice error for using ...
David Adam
David Adam

The answer is 4>$obj1 and $obj2 must be the same instance in php5.
Heena
Heena

yes I tried to post with tag… btw code is here if($obj1===$obj2){ //do something }
David Adam
David Adam

Do you mean post the code containing the php tags: < ?php and ?>?
page 1 of 1