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
- Mysql query for searching a value, add weightage on the number of occurances and sort based on the weight-age
- How to add or remove WWW on URLs using htaccess.
- php questions
- Pattern Matching in mysql
- Running a perl script from PHP
- How to create a plugin in elgg.
- function to check whether the year given is a leap year or not
- question regarding socket
- How to find out the Mysql storage engine type of a table.
- Share your knowledge
1 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.