#functions

Ask Question

No description yet for this tag.

0 votes 1 answers 0 views
What are the differences between echo and print in PHP?

echo can take multiple parameters and has no return value, while print takes one argument and always returns 1.

asked 2 months ago by chance
0 votes 1 answers 0 views
What is the use of the count() function in PHP?

The count() function returns the number of elements in an array or the number of properties in an object.

asked 2 months ago by chance
0 votes 1 answers 0 views
What is the difference between unset() and unlink()?

unset() destroys a variable, while unlink() deletes a file from the file system.

asked 2 months ago by chance
0 votes 1 answers 0 views
What is the use of the date() function?

It formats a local date and time.

asked 2 months ago by chance