Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

PHP Zend Certification

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
06-08-2024
Written in
2024/2025

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

Show more Read less
Institution
PHP Zend Certification
Course
PHP Zend Certification

Content preview

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

Written for

Institution
PHP Zend Certification
Course
PHP Zend Certification

Document information

Uploaded on
August 6, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TOPDOCTOR Abacus College, Oxford
Follow You need to be logged in order to follow users or courses
Sold
10
Member since
2 year
Number of followers
5
Documents
3395
Last sold
6 months ago
TOPGRADER!!

Looking for relevant and updated study material to help you ace your exams? TOPTIERGRADES has your back!!! I have essential exams, test-banks, study bites, assignments all graded A+, Have Complete solutions, and are updated regularly. Please feel free to message me if you are looking for a specific test bank that is not listed on my profile or want a test bank or exam sent to you directly as google doc link. In the event that any of the materials have an issue, please let me know and I\'ll do my best to resolve it or provide an alternative. Thank You &amp; All The Very BEST!!!!!

Read more Read less
5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions