TCCD 14 LTS

PHP, PSR and HTTP

12 of 64 questions in the app

PSR standards

  1. Which status does a PSR have once the PHP-FIG has finally approved it? Easy
  2. How are PER Coding Style and PSR-12 related? Easy
  3. Which PSR-7 interface describes an HTTP request received by the server, including cookies, query parameters and uploaded files? Easy
  4. What may a PSR-15 middleware do with an incoming request? Easy
  5. Which method must a class implement to fulfil the PSR-15 MiddlewareInterface? Easy

PHP and autoloading

  1. What does an autoloader do in PHP? Easy
  2. Which file does a PHP script include to use the autoloader generated by Composer? Easy
  3. In a Composer-based TYPO3 installation, where do you define in which directory the classes of an extension's namespace are located? Easy

PSR standards

  1. A service calls an external API with the TYPO3 RequestFactory: $this->requestFactory->request($url, 'GET', ['timeout' => 5]). Which statements are true? Medium

Formats and protocols

  1. The response of an API should be processed with json_decode(), and invalid JSON should not go unnoticed. Which call fits? Medium

PSR standards

  1. What is a PSR? Hard
  2. Which mappings of PSR number to topic are correct? Hard

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications