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
- Help with codeignitor
- Creating Custom Module in VtigerCRM
- Contact Me
- Add/Remove text control using javascript
- Creating Google map and adding markers ans polyline on it
- function to check whether the year given is a leap year or not
- Random password generation :using ajax and jquery
- Share your knowledge
- How to create a plugin in elgg.
- Adding cronjobs in Linux using SSH
1 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.