• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 6 páginas
Examen

PHP Zend Certification

Document preview thumbnail
Vista previa 2 fuera de 6 páginas

Integral numbers are internally converted into what? - answer-bits What is the symbol for the bitwise AND? - answer-& What is the symbol for the bitwise OR? - answer-| What is the symbol for the bitwise XOR? - answer-^ What is the criteria for the bitwise AND? - answer-Matching "1" in both operands. What is the criteria for the bitwise OR? - answer-At least one "1" in an operand What is the criteria for the bitwise XOR? - answer-True only if operands are different What is the symbol to NEGATE BITS? - answer-~ What symbol is used to shift bits? - answer- or ?= is short for what? - answer-?php echo Value equality operator (PHP handles data type conversion) "123" === 123 - answer-== Value inequality operator (PHP handles data type conversion) "123" != 124 - answer-!= Value/type equality operator (Compares values with a type check) 123 === 123 - answer-=== Value/type inequality operator (Compares values with a type check) "123" !== 123 - answer-!== Array UNION operator - answer-+ Array EQUAL operator - answer-== Array IDENTICAL operator - answer-=== Array NOT EQUAL operator - answer-!= Array NOT EQUAL operator - answer- Array NOT IDENTICAL operator - answer-!== Logical operator: $a and $b - answer-BOTH $a AND $b TRUE Logical operator: $a or $b - answer-EITHER $a OR $b TRUE Logical operator: $a xor $b - answer-EITHER $a,$b TRUE; NOT BOTH Logical operator: ! $a - answer-$a NOT TRUE Logical operator: $a && $b - answer-BOTH $aAND $bTRUE Logical operator: $a || $b - answer-EITHER $a OR $b TRUE Logical operator: $a ^ $b - answer-EITHER $a,$b TRUE; NOT BOTH EXECUTION OPERATORS USE _______________ TO EXECUTE THE CONTENTS ENCLOSED BY THEM AS A SHELL COMMAND, EQUIVALENT TO shell_exec() - answer-`` Variables are case sensitive (true or false) - answer-true Variables are not case sensitive (true or false) - answer-false Variables can be assigned by value or by reference (true or false) - answer-true Variables can only be assigned by value (true or false) - answer-false Variables can only be assigned by reference (true or false) - answer-false The ______ symbol creates a reference, or alias, and causes both the original variable and alias to point to the same memory value. - answer-& VARIABLE TYPING IS SET AUTOMATICALLY BY THE PHP PARSER AND CALLED - answer-TYPE JUGGLING/COERCION INITIALIZING VARIABLES EMPTY IS A GOOD PRACTICE (true or false) - answer-true THE FUNCTION ____________ RETURNS A BOOLEAN ON A PASSED VARIABLE CONTAINING A VALUE OTHER THAN NULL STRING, NULL, OR ZERO - answer-isset() TERNARY OPERATOR, SHORT FORM SHORTHAND ASSIGNMENT FORM: RAISES AN E_NOTICE IF NO VALUE AND THEREFORE NOT RECOMMENDED - answer-$FOO = EXPRESSION ?: VALUE IF FALSE; SPACESHIP OPERATOR, SHORT FORM RETURNS 1 IF A B, -1 IF B A, 0 IF A == B - answer-A = B Used to output a scalar value - answer-print() Used to evaluate the contents of a string as PHP code - answer-eval() Returns the current working directory - answer-__DIR__ Returns the current working directory and file name - answer-__FILE__ Returns the current function name - answer-__FUNCTION__ Returns the current class and namespace if defined - answer-__CLASS__ Returns the current line number at the point of use - answer-__LINE__ Returns the current method name - answer-__METHOD__ Returns the trait name including namespace if defined. - answer-__TRAIT__ Returns the current namespace - answer-__NAMESPACE__ Namespace (Definition) - answer-A method of grouping related PHP code elements within a library or application Namespace (Use) - answer-• HELPS TO PREVENT ACCIDENTALLY RE-DEFINING FUNCTIONS, CLASSES, CONSTANTS. • AVOIDS HAVING TO USE LONG, HIGHLY DESCRIPTIVE CLASS NAMES • CONSTANTS, CLASSES, TRAITS, INTERFACES AND FUNCTIONS ARE AFFECED BY THE USE OF NAMESPACES • CREATE SUB-NAMESPACES TO SUB-DIVIDE A LIBRARY FACTORS AFFECTING PERFORMANCE (TWO MAJOR AREAS) - answer-• REDUCED MEMORY USAGE • RUN-TIME DELAYS Function world() is defined in the namespace 'myapputilshello'. Your code is in namespace 'myapp'. What is the correct way to import the hello namespace so you can use the world() function? - answer-use myapputilshello Which PHP functions may be used to find out which PHP extensions are available in the system? (Choose 2) - answer-C: get_loaded_extensions() D: phpinfo() What is the name of the error level constant that is used to designate PHP code that will not work in future versions? - answer-E_DEPRECATED Your PHP script is repeatedly parsing 50KB of data returned from a remote web service into browser-readable HTML. Users complain that the script takes a long time to run. Which of the following measures usually leads to the best results? (Choose 2) - answer-C: Cache the data returned by the web service locally D: Upgrade to the latest version of PHP What is the output of the following code? $a = 1; ++$a; $a *= $a echo $a--; - answer-4 When PHP is running on a command line, what super-global will contain the command line arguments specified? - answer-$_SERVER What is the output of the following code? ?php function fibonacci

Vista previa del contenido

PHP Zend Certification
Integral numbers are internally converted into what? - answer-bits

What is the symbol for the bitwise AND? - answer-&

What is the symbol for the bitwise OR? - answer-|

What is the symbol for the bitwise XOR? - answer-^

What is the criteria for the bitwise AND? - answer-Matching "1" in both operands.

What is the criteria for the bitwise OR? - answer-At least one "1" in an operand

What is the criteria for the bitwise XOR? - answer-True only if operands are different

What is the symbol to NEGATE BITS? - answer-~

What symbol is used to shift bits? - answer-<< or >>

<?= is short for what? - answer-<?php echo

Value equality operator (PHP handles data type conversion) "123" === 123 - answer-==

Value inequality operator (PHP handles data type conversion) "123" != 124 - answer-!=

Value/type equality operator (Compares values with a type check) 123 === 123 -
answer-===

Value/type inequality operator (Compares values with a type check) "123" !== 123 -
answer-!==

Array UNION operator - answer-+

Array EQUAL operator - answer-==

Array IDENTICAL operator - answer-===

Array NOT EQUAL operator - answer-!=

Array NOT EQUAL operator - answer-<>

Array NOT IDENTICAL operator - answer-!==

Logical operator: $a and $b - answer-BOTH $a AND $b TRUE

, Logical operator: $a or $b - answer-EITHER $a OR $b TRUE

Logical operator: $a xor $b - answer-EITHER $a,$b TRUE; NOT BOTH

Logical operator: ! $a - answer-$a NOT TRUE

Logical operator: $a && $b - answer-BOTH $aAND $bTRUE

Logical operator: $a || $b - answer-EITHER $a OR $b TRUE

Logical operator: $a ^ $b - answer-EITHER $a,$b TRUE; NOT BOTH

EXECUTION OPERATORS USE _______________ TO EXECUTE THE CONTENTS
ENCLOSED BY THEM AS A SHELL COMMAND, EQUIVALENT TO shell_exec() -
answer-``

Variables are case sensitive (true or false) - answer-true

Variables are not case sensitive (true or false) - answer-false

Variables can be assigned by value or by reference (true or false) - answer-true

Variables can only be assigned by value (true or false) - answer-false

Variables can only be assigned by reference (true or false) - answer-false

The ______ symbol creates a reference, or alias, and causes both the original variable
and alias to point to the same memory value. - answer-&

VARIABLE TYPING IS SET AUTOMATICALLY BY THE PHP PARSER AND CALLED -
answer-TYPE JUGGLING/COERCION

INITIALIZING VARIABLES EMPTY IS A GOOD PRACTICE (true or false) - answer-true

THE FUNCTION ____________ RETURNS A BOOLEAN ON A PASSED VARIABLE
CONTAINING A VALUE OTHER THAN NULL STRING, NULL, OR ZERO - answer-
isset()

TERNARY OPERATOR, SHORT FORM
SHORTHAND ASSIGNMENT FORM: RAISES AN E_NOTICE IF NO VALUE AND
THEREFORE NOT RECOMMENDED - answer-$FOO = <EXPRESSION> ?: <VALUE
IF FALSE>;

SPACESHIP OPERATOR, SHORT FORM
RETURNS 1 IF A > B, -1 IF B > A, 0 IF A == B - answer-A <=> B

Información del documento

Subido en
6 de agosto de 2024
Número de páginas
6
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$10.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
TOPDOCTOR
5.0
(1)
Vendido
10
Seguidores
5
Artículos
3387
Última venta
1 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes