These PHP array functions will either slow you down or accelerate your success as a PHP programmer.

10 Most Common PHP Array Functions

I am frequently reaching out to these most common PHP array functions. The most annoying thing is that I have to google their syntax every now and then. Nowadays, my IDE helps me avoid that. Still, it is frustrating to keep looking into the docs. Worse, when I start using JavaScript, the array functions are […]

Single or Double Quote String literals in PHP

String literals in PHP can be either double-quoted or single-quoted. Both work fine. However, the single quote string literal comes with few limitations. Limitations of single quote string literals in PHP In our example above, the second variable $name2, is a single quote string literal. Hence, its main limitations are:- Single quote string literals don’t […]

Next level PHP with Composite Data Types

PHP Composite Data Types. Aray

In my last blog post on PHP data tapes, I discussed the four scalar PHP data types. Today, we will continue with composite data types. To recap, the scalar data types are good for variables representing a singular item, like price. But most of the time we are interested in a price of more than […]

A Look into PHP Data Types.

A look into PHP data Types

PHP provides three groups of data types. The first group is scalar, which is used for single values. And the second is composite, which is a group of scalars. Finally, we have a special group. Let’s see them one by one. Scalar PHP Data Types Integer numbers Floating Point numbers Strings Booleans Composite PHP Data […]

Your subscription could not be saved. Please try again.
Your subscription has been successful.

Learn Modern PHP

Subscribe to learn modern PHP in the most simple way.