200-530 Exam Questions
408 real 200-530 exam questions with expert-verified answers and explanations. Page 8 of 9.
- Question #520
What will be the output of the following code snippet? <?php $a = 1; $b = 2; $c = 0xAF; $d = $b + $c; $e = $d * $b; $f = ($d + $e) % $a; print($f + $e); ?>
- Question #522
Maria writes a query that uses outer join between two tables. Which of the following operators are not allowed in the query? Each correct answer represents a complete solution. Cho...
- Question #523
Consider a string in the following format: a*bcd/a.d You want to perform regular expression in this string; however, you are unable to do this since the string contains special cha...
- Question #525
Which of the following directives can be used to improve the security while using the shared hosting environment? Each correct answer represents a complete solution. Choose all tha...
- Question #526
Which of the following keywords is used to prevent a method/class to be overridden by a subclass?
- Question #527
Consider the following script: <html> <head> <title> This is a test script. </title> </head> <body> <?php echo 'This is some sample text'; ?> </body> </html> Which of the following...
- Question #528
Consider the following script: <?php echo strtotime("january 1, 1901"); ?> Zend 200-530 Exam What will be the output of the above PHP script if the older versions of glibc are pres...
- Question #529
John works as a professional Ethical Hacker. He has been assigned a project to test the username and successfully logs in to the user page of the Web site. The We-are-secure login...
- Question #530
You run the following script: <php $array1 = array ("a", "b", "c", "d", "e", "f"); $array2 = array_slice($array1, 2, 2); foreach ( $array2 as $val ) { print "$val"; } ?> What will...
- Question #531
You run the following PHP script: <?php function calc() { $x=10; $b=++$x; Zend 200-530 Exam print($b); } ?> What will be the value of the variable b?
- Question #532
Which of the following equivalence operations evaluates to true if the two operands are not of the same data type or do not have the same value?
- Question #533
John works as a Website Developer for PHPWEB Inc. He is using a Windows operating system and is also working on PHP engine 5.0. He develops the following script: <?php echo date("M...
- Question #535
Instances of a class are referred as a(n) __________.
- Question #536
Which of the following holds session variables?
- Question #537
Which of the following is a function that can be used to remove the issue of lazy loading?
- Question #538
Which of the following functions will you use to create an empty file?
- Question #539
Which of the following functions will you use as a countermeasure against a SQL injection attack?
- Question #540
You run the following PHP script: <?php define ("USER", "Maria"); $USER="John"; print "Welcome ".USER; ?> What will be the output?
- Question #541
Which of the following functions can be used to match a string against a whitelist mask of allowed characters?
- Question #542
Which of the following is a valid string function that is used to convert every newline into an HTML break?
- Question #543
Which of the following is a function that converts the string 129.0.0.256 into its integer representation of the valid IP 129.0.1.0?
- Question #545
Which of the following variables are NOT supported by type hinting? Each correct answer represents a complete solution. Choose two.
- Question #546
You work as a Web Developer for Remote Inc. What will be the output when you try to run the script below? <?php $b = false; if($b = true) print("true"); else print("false"); ?>
- Question #547
Zend 200-530 Exam You run the following PHP script: <?php $array1 = array ('a' => 20, 30, 35); $array2 = array ('b' => 20, 35, 30); $array = array_intersect_assoc ($array1, $array2...
- Question #548
Which of the following functions return the timestamp value? Each correct answer represents a complete solution. Choose all that apply.
- Question #549
Consider the following PHP script: <?php $fp = fopen('file.txt', 'r'); $string1 = fgets($fp, 512); fseek($fp, 0); ?> Which of the following functions will give the same output as t...
- Question #550
Identify whether the given statement is true or false. "The IN operator cannot be used in a condition that involves an outer join." Zend 200-530 Exam
- Question #551
Which of the following group functions CANNOT be used to store numeric data?
- Question #553
Which of the following is a valid PHP function that is used to delete a file using PHP?
- Question #554
Which of the following functions can be used to change the permission on a file or directory?
- Question #556
Consider a string in the following format: a*bcd/a.d You want to perform regular expression in this string; however, you are unable to do this since the string contains special cha...
- Question #557
You run the following PHP script: <?php $name = mysql_real_escape_string($_POST["name"]); $password = mysql_real_escape_string($_POST["password"]); ?> What is the use of the mysql_...
- Question #558
Consider the following script: <?php echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1995)); ?> Zend 200-530 Exam What will be the output of the above script?
- Question #559
Which of the following data types are compound data types?
- Question #3580
Zend 200-530 Exam What is the output of the following code?
- Question #3590
Consider the following table data and PHP code. What is the outcome? Table data (table name "users" with primary key "Id"): Zend 200-530 Exam PHP code (assume the PDO connection is...
- Question #3610
Which constant must be passed as the second argument to htmlentities () to convert single quotes (') to HTML entity?
- Question #3620
After executing a query on a database server, PHP offers several functions to read the resulting lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.). If such functions...
- Question #3630
When PHP is running on a command line, what super-global will contain the command line arguments specified?
- Question #3641
Which of the following statements about SOAP is NOT true?
- Question #3650
How many elements does the array $pieces contain after the following piece of code has been executed? $pieces = explode("/", "///");
- Question #3660
How can you redirect a client to another page using PHP?
- Question #3670
What is the output of the following code? echo "22" + "0.2", 23 . 1;
- Question #3680
Some databases support the LIMIT clause. It is a method to ensure that ...
- Question #3690
What will the following code print? echo addslashes('I am a <b>small</b> "HTML" string, which is \'invalid\'</u>.');
- Question #3710
Which of the following will set a 10 seconds read timeout for a stream?
- Question #3720
How can the constant defined below be accessed from within PHP? class myClass { const FOO = 'BAR'; }
- Question #3730
Consider the following code: strspn($test, 'aeiou', 1); The variable $test contains the string "You get certified". What will the function call return?
- Question #3741
What is the difference between isset() and other is_*() functions (is_alpha(), is_number(), etc.)?
- Question #3750
The following code piece should print "PHP is cool", but unexpectedly, it just prints "cool". How would you correct it? echo str_replace('PHP is a pain.', 'a pain', 'cool');