adplus-dvertising
frame-decoration

Question

Compact ( ) function is used to create an array from

a.

Variables

b.

Values

c.

Functions

d.

Both a and b

Posted under PHP

Answer: (d).Both a and b

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Compact ( ) function is used to create an array from

Similar Questions

Discover Related MCQs

Q. For changing arrays into strings, which function is used?

Q. Array_flip ( ) function changes keys of an array into

Q. Shuffle ( ) function operates directly on its array arguments and changes it, that's why it is called

Q. LIFO stands for

Q. Array_splice function is same as array_slice but it starts taking arguments from

Q. Array_pad ( ) takes three arguments, one of them is

Q. Act of adding values into a stack is called

Q. For changing array with random numbers which function we can use?

Q. Arsort ( ) function same as asort ( ) but

Q. Popping is an act of

Q. Array_merge ( ) function merges

Q. A function that takes an array and returns a new array, where old values are changed with new keys?

Q. For reversing an array which function is used?

Q. Side effect of array_pop ( ) function is

Q. A function that returns keys of its input array in form of new array where keys are stored as values, is a

Q. Which function displays structured information about variables including its type and value?

Q. Array_values ( ) function returns an array containing

Q. Queues are similar to stacks but

Q. Stacks work on principle of

Q. Array_slice ( ) function starts accepting arguments from