1 Which functions would be needed to translate the following string:
I love PHP 5
to the following?
5 PHP EVOL I
mirror()
strtoupper()
toupper()
str_reverse()
strrev()
2 What is the output of the following code block?
<?php
$array = array(1 => 0, 2, 3, 4);
array_splice($array, 3, count($array), array_merge(array('x'), array_slice($array, 3)));
print_r($array);
?>
3 Given the following array:
$array = array(1,1,2,3,4,4,5,6,6,6,6,3,2,2,2);
4 The fastest way to determine the total number a particular value appears in the array is to use which function?
array_total_values
array_count_values
A foreach loop
count
a for loop
Please answer through the comments I will make it publish on blog..............
[Thursday, February 21, 2008
|
1 comments
]
Popular Posts
- php questions
- some php questions
- How to create a plugin in elgg.
- php Questions
- Mysql query for searching a value, add weightage on the number of occurances and sort based on the weight-age
- Contact Me
- solving the packaging problem in PHP
- How to add or remove WWW on URLs using htaccess.
- php questions
- Inserting nodes into xml files using XML DOM in PHP .
1 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.