Ok, this is the last part of my reviews. This post listed some WEIRD and STRANGE questions I found in the phparch’s simulator exam. You may think these are some advanced features of the PHP5 language, but some of them are actually mention in the GUIDE also. However, some of the questions, I found that there maybe some errors in the question itself; in this case, I marked with the “*” in front of the question. Therefore, some of the answer I gave maybe not right, or maybe I get the meaning of the questions wrong. So, if you have any comment on this post, please feel free to comment or send me a message. Thanks!
(more…)
Zend PHP5 certification Exam study review 12: supplementary III
I suggest to do some mock test.
thank you for posting. its really helpful. I have got my ZCE exam day after tomorrow. Please suggest what all ...
Thanks for this study guide!!! It was really useful and easy to understand. I just passed the exam this afternoon ...
Hello, it is the 2nd answer. :)
hi, what is the right answer for this * When writing portable database code using PDO, what is the PDO::ATTR_CASE attribute ...
Zend PHP5 certification Exam study review 11: supplementary II
In this and the up-coming Post, I listed some extra questions I found during I took the phparch’s Vulcan Zend PHP 5 Certification Testings. This post listed some EASIER but will not be frequently asked in the actual exam I think. But, they are worthy noted here, they can also serve as check points for you previously learned knowledge.
(more…)
"The ????? function is used to generate a file resource in the file system with a randomly-generated filename to be ...
(2) and (3) of course, and I would also consider taking (4) "Setting credential information as system environment variables", as, according to ...
Unlike the old MySQL extension, the new MySQLi extension requires that you provide what when performing a query when using ...
My Answer would be: (2) Moving all database credentials outside of the document root (3) Restricting access to files not designed ...
Hello I am prepareing ZCE. Anybody can the answer of the following question when working with a database which of ...
Zend PHP5 certification Exam study review 10: Supplementary I
Since I mentioned before, I didn’t included the Language Basic and Function topics in these series of reviews, because I think you should already have a good knowledge about them. Anyway, if you have more time, then you can following this post to review some of these features in PHP. It mainly includes PHP’s String(since it is so important), Array, and Function feature; also, it contain some extra information just I think worthy to be reminded.
(more…)
Hi admin, About the question "Can you define an abstract method as private?". I don't think abstract method can be private, ...
Hi, This is why: The first time, str_replace replace the "a" to "b" in string "abc", ...
Could you explain why str_replace(array('a','b','c'),array('b','c','a'),'abc') returns 'aaa' string instead of 'bca' ? Simply can`t understand thist trick!
Zend PHP5 certification Exam study review 9: OOP Design&Theory
Here is the second topic regarding the OOP paradigm. Trust me, read more about Design Pattern, don’t just for pass the exam sake. The exam regard to the Design Pattern and general OOP theory is very basic. Anyway, following I listed some basic Design Pattern may tested in the exam. Also, I think you should look into the SPL(standard PHP Library) and PECL(PHP Extension Community Library) and PEAR(PHP Extension and Application Repository).
(more…)
No, the real exam was actually easier than the mock exam. At least when I took it. :)
I am really appreciate your effort for ZCE. My Questions: sure if you have a free time to answer me ...
Hi Max. I don't know the completed list. I have watched this tutoiral: http://www.vtc.com/products/Design-Patterns-tutorials.htm This may help?
Since there are many types of design patterns, would you please give us a list here? Thank you very much ...
J, thanks for your comment. I knew the 2nd version of the study guide is out. Not sure if it ...
Zend PHP5 certification Exam study review 8: OOP In PHP 5
Object Oriented Programming is the norm in modern software programming. Sadly, prior PHP4, PHP lack a great OOP language support. PHP5 changes all that. That’s why the Exam has two topics especially regarding this area: the actual OOP feature in PHP5 and OOP design and theory. This post is a brief review on PHP5 OOP feature, you will spent some time on OOP in PHP if you are a well experienced structure-style programmer in PHP4 I think. OOP is actually easier once you shift you ideas around
. Because, in life, not in one moment, we are not dealing with OBJECTS.
(more…)
the answer is 1.
Hi admin, I have a question, please give me a help, Q: The __method is automatically called when the object is created, ...
Oops, you are right. Yes, it is obvious that the "This is never displayed" is never displayed! :)
Hi admin, Thank you for your post. It is a good article for ZCE review. I just have a question to ask ...
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…)
I agree mcloide for the following reasons: You should never use parentheses around your return variable when returning by reference, ...
Hi Heena, about the first question, the correct answer would be 3. PHP4 will throw a notice error for using ...
The answer is 4>$obj1 and $obj2 must be the same instance in php5.
yes I tried to post with tag… btw code is here if($obj1===$obj2){ //do something }
Do you mean post the code containing the php tags: < ?php and ?>?
Zend PHP5 certification Exam study review 6: Security
Security is very important for any application, particularly for web application. So the exam requires you have at least a very well understanding how the security problems actually affect todays web applications innovation. You must know some common security issues, the security issues not just regarding PHP itself. Since PHP is an embedded language, you should know the security defense on all three level, that is Web Server level, Data base level and PHP itself. In the rest of this post, list out a summary on this vast topic on Security. Be sure to check other sections(such as topics on Web Programming, Database, PHP Command Line Interface, etc) that related to security considerations.
(more…)
Eniglhteinng the world, one helpful article at a time.
bOro, I think another answer maybe 1). The session here maybe refer to the linux session, not the the "session" ...
I am puzzled by the following question: When using a function such as strip_tags, are markup-based attacks still possible? a. No, ...
Hi since a while I've been searching the web to find any information about Zend Cert and I have to ...
Hi, very nice brief, well done. About the Heena's question: "A fingerprint of a string can be determined using w..." ...
Zend PHP5 certification Exam study review 5: Database and SQL
Although the GUIDE says the Exam is database neutral, but in fact, it is somewhat regarding the Mysql database. Anyway, you should have good understanding with the SQL, such as joins, indices, primary keys, multi query, ect. Regarding PHP, you should read something about the new mysqli extension as well as the PDO object.
(more…)
Zend PHP5 certification Exam study review 4: Web Programming, Web Features
Finally, we get into the WEB PROGRAMMING. This is what php was made for! This is a VERY VERY important aspect in the exam. Make sure you have understood how COOKIE, SESSION, HTTP headers, SUPER GLOBALS, etc works in PHP. Also, the exam requires you know some of the PHP configuration directive (in the php.ini file) regarding PHP’s Web Features, such as “magic qoutes gpc”, “safe mode” etc. And in this area, many security issues also related. You should know some implements in PHP to avoid common security problems, such as what FORM TOKENS for; what’s Browser Fingerprinting for, and so on.
(more…)
The default value of "output_compression_level" is -1, NOT 6. Please recheck :)
Hi, the answer is 3> do not provide a cookie expiration time.
how does one create a cookie which will exist only until the browser session is terminated? 1> you cannot create cookie ...
Zend PHP5 certification Exam study review 3: XML & Web Service
Following previous review on Streams and Network, here is the XML and Web Service. This is more and more important area in php I think since most Web2.0 applications use XML and Web Service technology. Also, PHP5 comes a new XML extension, SimpleXML. The exam seems requires you know the difference between SAX (Simple API for XML) and SimpleXML extension and DOM extension in PHP. (more…)


