Latest updates on php programming

mamazu posted Mar 20 at 4:52 pm
php7.1 callable array_map functions Higher Order Functions in PHP
This article will look at how higher order functions work in PHP and how to use them.

What is a higher order function
The general definition of a higher order function is a function that either takes another function as input or returns another function as output (Source). There are several examples in the PHP standard library that are higher order functions like
recent by idevosm  ·  Mar 20 at 5:43 pm
mamazu posted Mar 20 at 6:40 pm
types php7.1 type hints globals primitives objects PHP Types and Typehints
This article will have a look at types and their type hints. For the type hint section you need to have php7.1 or greater.

In php there are two types of data types. Primitive and complex data types. Primitive data types can only hold one value at a time, like an integer. On the other side we have complex types which are a composition of other types. Like for exam
Hide topic messages
Enable infinite scrolling
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft