Give any ten basic functions in PHP?
Answer Posted / ramesh
1. echo();
2. date();
3. isset();
4. array();
5. in_array();
6. mail();
7. empty();
8. md5();32 chars hash
9. sha1(); 40 chars hash
10. strlen();
11. addslashes();
12. stripslashes();
13. trim();
14. ucfirst();
15. ucwords();
16. ceil(); round fractions up;
17. floor(); round fractions down
18. rand(); generates a random number
19. round(); rounds a float
20. count(); count elements in a variable
21. strtolower();
22. strtoupper();
23. copy();
24. chmod();
25. move_uploaded_file();
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is meant by PEAR in PHP?
How many types of array supported in php?
What is the main difference between require() and require_once()?
Is facebook still in php?
What are the 5 types of data?
Why did you choose this particular career path?
What is the use of isset() in php?
What is session php?
Is PHP an open source software?
What is c++ polymorphism?
What is the difference between for and foreach loop in php?
What is interface? Why it is used?
What is static variable in php?
What is difference between static and constant in php?
What is properties of class?