Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Give any ten basic functions in PHP?

Answers were Sorted based on User's Feedback



Give any ten basic functions in PHP?..

Answer / 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

Give any ten basic functions in PHP?..

Answer / mahesh

1)getdate()//getting the current dates
2)ceil()//round to the next higher value.
3)floor()//rounds to the minimum value(killing the
fractional part)
4)round() round the value according to the fractional part
5)isset() checking for a setting condition
6)explode()// explode a string with the values given
7)print_r()prints trhe values of an array, also a variable
to an array
8)define()//define a value to a text...(Permanent)
9)header("Location: text.php)//jump to the location given
10)include()//include a file..

Is This Answer Correct ?    9 Yes 1 No

Give any ten basic functions in PHP?..

Answer / nagarjuna

echo
print_r
isset
post
get
include
require
session
strlen
strpos

Is This Answer Correct ?    2 Yes 1 No

Give any ten basic functions in PHP?..

Answer / sudheer

in php
math functions
string functions
array functions
image functions
file functions
so u see the php.net website

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More PHP Interview Questions

Hello I m 1.5 exp, i want code : ms word to Html in php,retrieve the words in ms word in to dispaly browser in (same format,alignment). pls help me everybody Regards selva

0 Answers  


How do you parse and process html/xml in php?

0 Answers  


which is the best institute for php training near delhi & NCR......& what is the fee for the same....

2 Answers  


how to maintained the session from one page to another page based on the url and then entered into the first page is logging into instead of secondpage it goes to the another url.ie first login session togoes to the one url and next login session it goes to another url how is it possible in php please give me answer in that question

1 Answers   iCynergy,


Which variable declarations within a class is invalid in php?

0 Answers  


What is the use of friend function in php?

0 Answers  


Explain about image types in detail?

1 Answers   Aplora,


What are the steps for the payment gateway processing?

0 Answers  


How can I embed a java program in php file and what changes have to be done in php.ini file?

0 Answers  


What is binary safe string?

0 Answers  


How to remove the new line character from the end of a text line in php?

0 Answers  


What is use of mysqli_query in php?

0 Answers  


Categories