php logo
PHP Clean Code

There are quite a large number of tools for creating clean PHP code. In fact, people often complain that the code is not clean due to the code embedded in HTML. The code embedded in HTML is seen a lot in PHP, yes. The code can be made much clearer by separating both things as […]

Leer mas..
php logo
PHP current function

PHP current returns an element in an array, more specifically its value. All arrays have an internal pointer, which is initialized to the first element in the array. Therefore, current will have the value of the first element if next is not used. Originally, current was created to be used on objects as well, but […]

Leer mas..
php logo
PHP next function

La función de PHP next pasa el puntero a la siguiente posición interna en el array, ademas devuelve el siguiente valor del array

Leer mas..
php logo
PHP key function

The PHP key function retrieves the key of an array. This key or key is the one of the element to which the array is pointing, being the internal pointer.

Leer mas..
php logo
PHP for and foreach statements

Generally, in PHP, for and foreach are used to traverse an array. Similar to while, for and foreach execute code while certain conditions are met. for The for statement has 3 expressions, the first one is the initial value of the iteration, or the value where the loop starts; the second one is the condition, […]

Leer mas..
la categoria en-php tiene 121 post/s
Last 4 post in same category

Comments