Category: General

GeneralOopsPhpPHP Interview Questions

What is Polymorphism?

by:

It’s simply the idea that one object can can take on many forms. So in PHP OOP one class “cars” may have two classes that extend …

GeneralOopsPhpPHP Interview Questions

In a PHP class what are the three visibility keywords of a property or method?

by:

public, private and protected. The default is public. Public -> Any class may instantiate the class and call the method or property. Protected -> Only the …

GeneralPhpPHP Interview Questions

Write a program using while loop

by:

crayon-61e514e570eec855301700/

GeneralPhpPHP Interview Questions

How to set cookies in PHP?

by:

Setting new cookie ============================= crayon-61e514e5717a2041444888/ Getting Cookie ============================= crayon-61e514e5717ab270174200/ Updating Cookie ============================= Deleting Cookie ============================== crayon-61e514e5717af714162536/

GeneralPhpPHP Interview Questions

What is the difference between Session and Cookie?

by:

The main difference between sessions and cookies is that sessions are stored on the server, and cookies are stored on the user’s computers in the text …

GeneralPhpPHP Interview Questions

How to declare an array in php?

by:

Just Follow the Below example::: crayon-61e514e571b07278559716-i/

GeneralPhpPHP Interview Questions

require_once(), require(), include().What is difference between them?

by:

require() includes and evaluates a specific file, while require_once() does that only if it has not been included before (on the same page). So, require_once() is …

GeneralPhpPHP Interview Questions

What are some of the big changes PHP has gone through in the past few years?

by:

There are a number, but the big ones people are looking for are: a. PHP 5.0 realised the object model (AKA OOP). b. 5.1 added PDO …

GeneralPhpPHP Interview Questions

Explain how a PHP session works?

by:

A PHP session cookie is set in the clients browser, on every request the client sends that cookie to the server. PHP then uses that cookie …

GeneralMysqlPhpPHP Interview Questions

GeneralMysqlPhpPHP Interview Questions

What are the different tables present in mysql?

by:

Total 5 types of tables we can create 1. MyISAM 2. Heap 3. Merge 4. InnoDB 5. ISAM 6. BDB MyISAM is the default storage engine …