Andy-H Posted October 31, 2012 Share Posted October 31, 2012 Hi, I recently attended the PHPNW conference in Manchester, which was great =] In the post-conference email, I received a voucher code for 50% off the ZCE exam voucher, and my employer offered to pay for it, result! =D Now that the voucher is paid for, I have been looking for relevant study material to prepare for the exam, but it is scarce. I was just wondering if anyone has done the ZCE, and any decent advice or reading material for preparation would be much appreciated. I have found a few practice tests and read the free 5.3 study guide from zend.com, which aside from making me realise I need to RTFM (well, a few sections) a few times, wasn't a great deal of help. Also, does anyone know the pass rate? Zend seem to actively avoid disclosing this, which makes no sense at all to me, but these things happen. Thanks for any help. Quote Link to comment Share on other sites More sharing options...
ignace Posted November 1, 2012 Share Posted November 1, 2012 PHP has it's own test @ http://www.blueshoes.org/en/developer/syntax_exam/ That said Zend also offers practice exams. These can also be found online as some users put these questions online. Quote Link to comment Share on other sites More sharing options...
Andy-H Posted November 1, 2012 Author Share Posted November 1, 2012 (edited) AFAIK Zend only offer the practice exams if you purchase their ZCE training? That test is REALLY easy, also, this is quoted from the page, although I know this isn't relevant to the questions asked on there: "This test was created based on php 4.0.5, and is updated for php 4.2.2." Thanks for the reply Edited November 1, 2012 by Andy-H Quote Link to comment Share on other sites More sharing options...
ignace Posted November 1, 2012 Share Posted November 1, 2012 (edited) Then answer this question: What is the output of both programs? (no cheating by executing them) // no longer works in php >= 5.4 but a good exercise never the less (bonus: tell why this does not work in PHP >= 5.4) foreach (range(1,5) as $key) { if ($key === 2) continue print $key; } $var = 10; while ($var --> 1); echo $var; These are typical ZCE questions. Edited November 1, 2012 by ignace Quote Link to comment Share on other sites More sharing options...
Andy-H Posted November 1, 2012 Author Share Posted November 1, 2012 (edited) First one prints 1345, I don't know why it doesn't work in PHP 5.4? Looking again, I assume it's because of the missing semicolon? The second one, I think will output 9, 8, 7, 6, 5, 4, 3, 2, 1 ? // eidt Or is the second a trick question, and throws an error like invalid object operator? Edited November 1, 2012 by Andy-H Quote Link to comment Share on other sites More sharing options...
Andy-H Posted March 1, 2013 Author Share Posted March 1, 2013 Passed the ZCE on Wednesday =D http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND021199 Quote Link to comment Share on other sites More sharing options...
Andy-H Posted March 1, 2013 Author Share Posted March 1, 2013 Second one outputs 1 =P Quote Link to comment Share on other sites More sharing options...
Christian F. Posted March 1, 2013 Share Posted March 1, 2013 Congrats! Quote Link to comment Share on other sites More sharing options...
salathe Posted March 1, 2013 Share Posted March 1, 2013 Second one outputs 1 =PTry again. Passed the ZCE on Wednesday =DCongratulations. Quote Link to comment Share on other sites More sharing options...
ignace Posted March 1, 2013 Share Posted March 1, 2013 (edited) First one prints 1345 Second one outputs 1 =P No and no. First one prints 2 it actually reads "continue print 2;" so only when it continues it actually prints something in 5.4 this no longer works because continue no longer supports a return value from a function (which is 1 with print, so it never worked with echo for example). The second one prints 0 since the last value is 1 followed by --. Edited March 1, 2013 by ignace Quote Link to comment Share on other sites More sharing options...
Andy-H Posted March 2, 2013 Author Share Posted March 2, 2013 Damn, how did I even pass lmao Thanks guys =D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.