Below are some interview questions that usually asked during the technical interview if you are invited as a Sr. Developer. These are very simple but it is always advice to read/learn and prepare yourself for interview. These interview questions are just for checking your logic instead what you have done in your previous experience…
Object cloning or clone of an object means to create a duplicate of an object. With regular variables $var1 = $var2 means that a new variable $var1 created and have the value of $var2 that means 2 variables created. With objects $obj2 = $obj1 does not mean that a new object i.e. $obj2 get…
PHP Magic Predefined Constants & usages In PHP, a constant is a name or an identifier for a simple value. A constant name starts with a letter or underscore can be followed by any number of letters, numbers, or underscores. If you have defined a constant, it can never be changed or undefined. You…
Magic Methods in PHP (PHP Magical Reserved Functions Starts with double underscore) According to me you all have heard about the PHP Magic methods. You have also used some of these like __autoload and __construct. Let’s have a quick view on magic methods, as sometimes it looks like it will hard to use these…
WordPress .htaccess on zeus server rewrites (rather than Apache) Yesterday, I got luck to transfer a WordPress website from one hosting to another. The New hosting provider is http://www.names.co.uk and what I have found is it provides the web server Zeus instead of Apache as always I have worked on. It is really…
We all know that a WordPress theme is a collection of template files which lets us change the user interface, design, look & feel of the site. Have you created WordPress theme or have installed any free theme or commercial one, many of you have done this job and have also customized but the…