Give any ten basic functions in PHP?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When to use single quotes, double quotes, and backticks?

535


What sized websites have you worked on in the past?

543


What are new features in php 7?

564


What is PHP's configuration file called?

577


Do you know how can php and html interact?

549






Explain what is smarty?

567


Tell me what is the use of mysql_real_escape_string() function?

543


Can we override magic methods in php?

543


What is default session time and path in PHP. How to change it?

553


What are the variables in php?

569


What is the php function that removes the last element of the array and returns it?

516


Why php is widely used?

555


Do you know what is php?

558


What are the encryption functions in php?

575


Tell me how the result set of mysql be handled in php?

495