Showing posts with label PHP Interview. Show all posts
Showing posts with label PHP Interview. Show all posts

PHP interview questions and answers

Q.1  What type of inheritance that php supports?.

Ans:  PHP supports only single inheritance.But multiple inheritance can be implemented in php through use of interface.

PHP Filesystem Functions

basename — Returns trailing name component of path
chgrp — Changes file group
chmod — Changes file mode
chown — Changes file owner
clearstatcache — Clears file status cache
copy — Copies file
delete — See unlink or unset
dirname — Returns parent directory's path


 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Hostgator Coupon Code