Difference between assigning a variable to NULL and unset. A variable is considered to be NULL if It has been assigned the constant NULL. It has not been set to any value yet. It has been unset(). Setting a variable to NULL means assigns the value NULL to the variable exactly as the variable is…
Difference between split and explode php Do you know what is the main difference between split() and explode()? No worries 🙂 , the main difference in split() and explode is the way, it uses to splitting a large string. Both the functions are used to Split a string. However, Split is used to split a…
Polymorphism – the concept Polymorphism is a Greek word that means “many forms”. In object-oriented programming, polymorphism is a mechanism by which objects of different types can process data through a single interface. Using a typical illustrative example, a program might define a type of object called Animal, containing a function called talk() and,…
Cropping, rotating, scaling image sizes, and flipping the images vertically or horizontally in WordPress Generally we have lot of images in our website and we need different sized images, but generally in WordPress we have 3 sized images called as Small, Middle and Actual or Full size. We can also scale down an…
There are so many different ways to get tweets to display on your blog or web page, unfortunately most of these use JavaScript which means that the tweets displayed are not made available to search engines 🙁 Don’t worry; you can also display your latest Twitter tweets using PHP. You can achieve by following very simple functions. …
Environment variables windows Environment variables are a set of dynamic named values that can affect the way running processes will behave on a computer. You can say, It is a dynamic “object” that stores a value, which in turn can be referenced by one or more software programs in Windows (OS). Environment variables…