Erstellt von Nash Delos Santos
vor mehr als 7 Jahre
|
||
[Arrays]
Which of the following functions could be used to break a string into an array?
[OOP]
What three special methods can be used to perform special logic in the event a particular accessed method or member variable is not found?
[Automated tests]
Using PHPUnit, which method allows you to expect an exception to be thrown?
[Routing]
Using XML or YAML, how to declare a route for a specific domain/host?
[Dependency Injection]
Which of these methods are available in ContainerInterface?
[The Command Line]
What is the right command name to load Doctrine fixtures?
The ____ construct is particularly useful to assign your own variable names to values within an array
[Strings and Patterns]
Identify the best approach to compare to variables in a binary-safe fashion
[Functions]
What is the best way to ensure that a user-defined function is always passed an object as its single parameter?
[Dependency Injection]
Which types of injection are available in the component?
[Standardization]
Service naming conventions: select all valid services identifiers
Since PHP 5.6+, if function foo() is defined in the namespace Myapp\Utils\Bar and your code is in namespace Myapp, what is the correct way to import the foo() function?
[Bundles]
Which method is executed once when bundle is loaded after cache is cleared?
[OOP]
In PHP 5 you can use the ______ operator to ensure that an object is of a particular type. You can also use _______ in the function declaration.
[Controllers]
How to perform a redirection on example.org in a controller?
[Templating]
In Twig, a visitor priority varies between:
[Templating]
In Twig, when compiling a node tree how can you change the default compiler on your $twig object
[OOP]
To ensure that a given object has a particular set of methods, you must provide a method list in the form of an ________ and then attach it as part of your class using the ________ keyword.
[OOP]
What is the primary difference between a method declared as static and a normal method?
[Data Formats]
Which of the following will NOT instantiate a DateTime object with the current timestamp?
[The Command Line]
What is the command to check the syntax of a Twig template?
[Validation]
True or False ?
We can also apply constraints on class getters with ``addPropertyConstrait()``
[Forms]
Your Form class must extends ____
[PHP]
Variable names and function names are, respectively:
[Templating]
In class \Twig_Extension, which method returns list of functions?
[Web Features]
During an HTTP authentication, how does one determine the username and password provided by the browser?
[Security]
Which of the following php.ini directives should be disabled to improve the outward security of your application?
[Basics]
Which of the following tags are an acceptable way to begin a PHP Code block?
[HTTP]
How to get the Content Type from Request ?
[Web Features]
One can ensure that headers can always be sent from a PHP script by doing what?
What is the best way to ensure that a user-defined function is always passed an | function myfunction(stdClass
$a) | | | | object as its single parameter?