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 abstraction php?
How to get number of elements in an array?
Is php dying 2018?
A process can run only in the background. State Whether True or False?
Can I include php in javascript?
What is the difference between overloading and overriding in php?
What is the difference between the functions strstr() and stristr()?
How do you count numbers in php?
What does echo mean in php?
Explain which cryptographic extension provide generation and verification of digital signatures?
Does php have a future?
When a conditional statement is ended with an endif?
Tell me how do you define a constant?
Explain me how failures in execution are handled with include() and require() functions?
What is the Pipe Symbol represented?