adplus-dvertising
frame-decoration

Question

What will be the output of the following PHP code?
<?php
    echo "chr(52)";
    ?>

a.

106

b.

103

c.

104

d.

209

Posted under PHP

Answer: (c).104

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following PHP code?

Similar Questions

Discover Related MCQs

Q. Which one of the following functions can be used to compress a string?

Q. Which of the following PHP functions can be used for generating unique ids?

Q. Which of the following PHP functions can be used to get the current memory usage?

Q. Which one of the following PHP functions can be used to find files?

Q. Which one of the following PHP functions can be used to build a function that accepts any number of arguments?

Q. Which of the functions is used to sort an array in descending order?

Q. Which function returns an array consisting of associative key/value pairs?

Q. Which function can be used to move the pointer to the previous array position?

Q. Which in-built function will add a value to the end of an array?

Q. Which function will return true if a variable is an array or false if it is not?

Q. Which of the following are correct ways of creating an array?

i) state[0] = “karnataka”;
ii) $state[] = array(“karnataka”);
iii) $state[0] = “karnataka”;
iv) $state = array(“karnataka”);

Q. PHP’s numerically indexed array begin with position ___________

Q. A function in PHP which starts with __ (double underscore) is know as..

Q. Which of the following are valid function names?

i) function()
ii) €()
iii) .function()
iv) $function()

Q. Type Hinting was introduced in which version of PHP?

Q. Which one of the following is the right way of defining a function in PHP?

Q. Three ways to create an array is Direct assignment, array ( ) construct and

Q. Multidimensional arrays are simple arrays that have

Q. Other than index values an array can be retrieved by a function that is called as

Q. As compared to associative arrays vector arrays are much