32
1.1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: www.zend.com) Slides erstellt mit der Erweiterung "contao-reveal-js-theme" von BugBuster

ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

1 . 1

ZEND CERTIFIED PHP ENGINEER

\\ Glen Langer //

Contao Camp 2017 in Jever

Version: 1.0.0 vom 11.11.2017

(Logos: www.zend.com)

Slides erstellt mit der Erweiterung "contao-reveal-js-theme" von BugBuster

Page 2: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

2 . 1

ÜBER MICHContao seit 2.5.8PHP ZCE (4, 7.1)Forum: BugBusterCamp: James Buster, im Auftrag von Contaohttp://contao.ninja/

Page 3: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

3 . 1

INHALTWas ist das?Was muss ich dafür tun?Was habe ich davon?Was kostet mich das?Wo die Prüfung durchführen?Wie sieht die Prüfung aus?Welche Fragen kommen in der PrüfungBeispiele der Fragen

Page 4: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

4 . 1

WAS IST DAS?"Zend Certi�ed Engineer" (ZCE) / "Zend Certi�ed PHP Engineer"

ein branchenweiter StandardBeweist die eigene PHP-Fachkenntnis

Ein ZCE:

hat ein Grundwissen über alle PHP Themenkann Fehler in fremden Quellcodes schnell erkennen und beheben

Page 5: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

4 . 2

PHP Themen 1/2PHP Grundlagen (Syntax, Operatoren, Variablen, ...)Funktionen (Argumente, Scope, Rückgaben, ...)Daten Formate und Typen (XML, SOAP, JSON, DateTime, ...)Web Features (Session, Forms, Cookies, GET / POST, ..)OOP (Instanzen, Interface, Autoload, Re�ection, Traits, ...)Sicherheit (Cross-Site Scripting, SQL Injection, Filter Input, ...)

Priorität: Hoch - Mittel - Gering

Page 6: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

4 . 3

PHP Themen 2/2Input/Output (Dateien, Lesen, Schreiben, Streams, ...)Strings (Suchen, Ersetzen, Formatieren, PCRE, ...)Database (SQL, Joins, PDO, ...)Arrays (Funktionen, Iteration, ...)Error Handling (Exceptions, Errors, Throwables (PHP 7))

Priorität: Hoch - Mittel - Gering

Page 7: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

5 . 1

WAS HABE ICH DAVON?Persönliche und berufliche Vorteile

Anerkennung vom Arbeitgeber bzw. Steigerung des eigenenWertesDifferenzierung zu anderen bei einer Stellenbewerbung / einerAusschreibungAufnahme im Zend Certi�ed Engineers Verzeichnis für PHP-Pro�s, weltweit von Personalchefs und -vermittlern genutztExclusiver Beitritt in der Linkedin Gruppe für ZCEsEine kostenlose Zend Studio Lizenz

Page 8: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

5 . 2

WAS HABE ICH DAVON?bzw. mein Arbeitgeber

Sicherstellung von einem hohen Maß an Expertise im PHP-Entwicklungs-TeamMaximierung Team-Produktivität und -PerformanceProfessionelles Image gegenüber Kunden und PartnernWettbewerbsvorteile

Page 9: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

6 . 1

WAS MUSS ICH DAFÜR TUN?VorbereitungVoucher erwerbenPrüfung bestehen

Basis ist PHP 7.1, Error Reporting ist gesetzt auf E_ALL, Fehlerwerden angezeigt.

Page 10: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

6 . 2

VorbereitungTestfragen durchgehen (Online)PHP Certi�cation Study Guide (Of�ine)Lücken �ndenLücken beseitigen => lernen!

Page 11: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

6 . 3

Voucher erwerbenÜber zend.com Voucher erwerbenKostet derzeit $195 (~$125 als Wiederholungstäter)Ein Jahr gültigVorlage beim Prüfungszenter (Pearson VUE Testing Center)

Page 12: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

6 . 4

Prüfung bestehenOnline Prüfung (englisch) (in einem der Pearson VUE Testing Center)Ohne Hilfsmittel75 Fragen in 90 MinutenMultiple ChoiceFreitextfragen

Page 13: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

7 . 1

FAQ 1/4Wer schreibt die Examen?

Mitglieder des Zend PHP Education Advisory Boardgehören zu den bekanntesten und angesehensten in derPHP-Gemeinschaft.

Page 14: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

7 . 2

FAQ 2/4Wie und wann erfahre ich ob ich bestanden habe?

Sofort am Ende der Prüfung.

Page 15: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

7 . 3

FAQ 3/4Kann ich die Prüfung wiederholen?

Ja, aber neuer Voucher fällig, Rabatt möglich

Page 16: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

7 . 4

FAQ 4/4Wann erhalte ich welche Nachweise?

Urkunde per Mail in 8-10 WochenEintrag ins Verzeichnis in 24-48 Stunden, editierbar überZend AccountLogo zur Verwendung per Download

Page 17: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 1

BEISPIELE DER FRAGENEinige Beispielfragen aus den einzelnen Themengebieten. Hierwurden bewust welche genommen, die in Eile oft falschbeantwortet werden.

Page 18: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 2

What will be the output of the script?<?php echo count("Contao"); ?>

a) 0

b) 6

c) true

d) 1

Page 19: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 3

What will be the output of the script?<?php echo 'Contao ' . 1 + 2 . '34'; ?>

a) Contao 334

b) 234

c) 0

d) Contao 1234

Page 20: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 4

Which of the following statements is true aboutdeleting a client's cookie?

a) You can delete a cookie by using the session.rem_cookie()function.

b) You can delete a cookie by using the delcookie() function.

c) You cannot delete a cookie from a client computer.

d) You have to set the session.gc_maxlifetime INI setting in thephp.ini �le.

setcookie("user", "", time()-3600);

Page 21: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 5

What will be the output of the script?<?php for ($i = ord('a'); $i < ord('e'); $i++); echo chr($i); ?>

a) abcd

b) d

c) e

d) c

Page 22: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 6

What will be the output of the script?<?php $a = 0; if ($a = 10) { echo "a"; } if ($a == 0) { echo "b"; } if ($a == "0") { echo "c"; } ?>

a) abc

b) a

c) b

d) bc

Page 23: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 7

Which of the below provided options is correctregarding the below code?

<?php $a = array (1, 2, 3); $b = array (1 => 2, 2 => 3, 0 => 1); $c = array ('a' => 1, 'b' => 2, 'c' => 3); var_dump ($a == $b); var_dump ($a === $b); var_dump ($a == $c); ?>

a) false true true

b) true true false

c) true false true

d) true false false

Page 24: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 8

What will be the output of the script?<?php $a = 5; $b = 4; $c = ($a++ * ++$b); echo $c; ?>

a) 20

b) 24

c) 25

d) 30

Page 25: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 9

What will be the output of the script?<?php define('MYCONSTANT', 0); if (empty(MYCONSTANT)) { echo "Hello"; } else { echo "Goodbye"; } ?>

a) Goodbye

b) Hello

c) Syntax Error

Page 26: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 10

In which of the following ways will you receivedata from a Web page if you do not know how

data is sent?a) $_REQUEST[ ]

b) $_GET[ ]

c) $_POST[ ]

d) $_SEND[ ]

Page 27: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 11

Consider the following PHP code:<?php echo strlen(md5(rand(),TRUE)); ?>

a) 64

b) 8

c) 32

d) 16

Page 28: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 12

Which of the following functions can be used tocompare two strings using a case-insensitive

binary algorithm?a) strstr()

b) substr()

c) strcasecmp()

d) strcmp()

Page 29: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

8 . 13

What will be the output of the script?<?php $numbers = array(5, 6, 7, 8); end($numbers); while (key($numbers)) { echo current($numbers); prev($numbers); } ?>

a) 5678

b) 8765

c) 321

d) 876

Page 30: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

9 . 1

LinklisteZend Certi�cations:

PHP and Zend Framework Certi�cations

PHP Certi�cation:

(Zend ebook, en)

(Buch, en, ab 22.12.2017)

PHP Certi�cation VoucherThe PHP Study GuidePHP 7 Zend Certi�cation Study Guide

Pearson VUE Testcenter

Nützliches:

(alter Online Test)Zend PHP 5.3 Certi�cation Exam

Page 31: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

10 . 1

DANKE!

 

Aktuelle Version dieser Folien auf: docs.contao.ninja

(auch als PDF - Später auch als Video?)

 

Page 32: ZEND CERTIFIED PHP ENGINEER - docs.contao.ninja · 1 . 1 ZEND CERTIFIED PHP ENGINEER \\ Glen Langer // Contao Camp 2017 in Jever Version: 1.0.0 vom 11.11.2017 (Logos: ) Slides erstellt

11 . 1

PAUSE<?php try { drinkCoffee() } catch (OutOfCoffeeException) { die(-1) } ?>