28, September 2020
PHP 8.0 comes with json extension statically built into it. So functions like json_encode(), json decode() can be always used ...

28, September 2020
From PHP 8.0, All GD functions with work with \GDImage class object instead of 'resource' type. Similar to : CurlHandle ...

15, August 2020
In today's programming world, usage of null is heavily discouraged. Reckless use of null can lead to unexpected behavior in ...

08, August 2020
From PHP 8.0, we can use ::class on object instance variables to get its fully qualified class name. Previously we ...

08, August 2020
PHP already has gettype() for getting type of a php variable. But It is kinda outdated. It returns type name ...

28, June 2020
Class properties are a great way to store statefull data in object. Sometimes we accept and set them via __construct(), ...

27, June 2020
PHP internals are trying to slowly replace all usage of 'resource' in PHP with appropriate Object for a long time. ...

26, June 2020
Do you use switch() often? Does long list of switches make you worried that you would introduce some bug in ...

09, May 2020
In PHP, throw is a statement. It can be used in only those places where a statement is allowed. But ...

08, May 2020
Even though PHP has many helper functions to deal with strings, They still not cover all the use-cases web development ...