Tagged articles
24 articles
Page 1 of 1
php Courses
php Courses
Jan 16, 2026 · Backend Development

How to Count Array Elements, Unique Values, and Occurrences in PHP

This guide explains how to use PHP's count(), array_count_values(), and array_filter() functions, along with loops, to count total elements, distinct values, and specific element occurrences in an array, providing clear code examples for each method.

Arraysarray functionscounting
0 likes · 4 min read
How to Count Array Elements, Unique Values, and Occurrences in PHP
Open Source Tech Hub
Open Source Tech Hub
Nov 20, 2025 · Backend Development

What’s New in PHP 8.5? 10 Game‑Changing Features You Must Try

PHP 8.5 introduces a suite of powerful enhancements—including the pipeline operator, native array_first/array_last functions, a new URI extension, closure recursion support, constant expression closures, fatal error backtraces, INI diff mode, #[NoDiscard] attribute, clone overrides, and a build‑date constant—plus four key deprecations.

8.5New FeaturesPipeline
0 likes · 8 min read
What’s New in PHP 8.5? 10 Game‑Changing Features You Must Try
php Courses
php Courses
Aug 25, 2025 · Backend Development

Mastering PHP’s array_key_exists: Check Array Keys Efficiently

Learn how PHP’s array_key_exists function checks for the existence of specific keys in arrays, see practical code examples, compare its behavior with isset when handling null values, and understand when to use each function for reliable array key validation.

array functionsarray_key_existsisset
0 likes · 5 min read
Mastering PHP’s array_key_exists: Check Array Keys Efficiently
php Courses
php Courses
Jul 8, 2025 · Backend Development

Why PHP 8.5’s New array_first() and array_last() Functions Matter

PHP 8.5 introduces the native array_first() and array_last() functions, offering a safe, pointer‑free way to retrieve the first or last element of any array, improving readability, reducing bugs, and aligning PHP with modern language practices for developers and frameworks alike.

BackendPHPPHP 8.5
0 likes · 5 min read
Why PHP 8.5’s New array_first() and array_last() Functions Matter
Open Source Tech Hub
Open Source Tech Hub
Jun 24, 2025 · Backend Development

Discover PHP 8.5’s New Array, Pipe, and cURL Features for Faster Development

PHP 8.5, slated for release in November 2025, introduces handy array helpers, a left‑to‑right pipe operator, getters for error and exception handlers, a cURL multi‑handle retrieval function, RTL locale detection, a build‑date constant, and a CLI option to show only modified INI settings, all aimed at improving developer experience and debugging.

CLIPHP 8.5Pipe Operator
0 likes · 5 min read
Discover PHP 8.5’s New Array, Pipe, and cURL Features for Faster Development
php Courses
php Courses
Mar 24, 2025 · Backend Development

8 Essential PHP Functions for Efficient Table Processing

This article introduces eight useful PHP functions—including array_map, array_column, array_filter, array_reduce, fgetcsv, str_getcsv, implode, and json_encode/json_decode—to help developers efficiently manipulate table data from databases or CSV files, improving performance and code maintainability.

PHParray functionsbackend-development
0 likes · 6 min read
8 Essential PHP Functions for Efficient Table Processing
php Courses
php Courses
Mar 11, 2025 · Backend Development

New Features and Improvements in PHP 8.4

The article reviews PHP 8.4's major enhancements—including JIT compiler optimizations, new array_find and array_find_key functions, an enhanced match expression, str_contains_any/all utilities, nullsafe operator upgrades, enum type extensions, and overall performance and stability improvements—helping developers adopt the latest capabilities for more efficient backend development.

JITPHPPHP 8.4
0 likes · 8 min read
New Features and Improvements in PHP 8.4
Laravel Tech Community
Laravel Tech Community
Dec 12, 2024 · Backend Development

New Features in PHP 8.4.1: Property Hooks, Asymmetric Visibility, Deprecation Attributes, Ext‑DOM Enhancements, BCMath Object API, and New array_* Functions

PHP 8.4.1 introduces a suite of backend improvements—including property hooks, asymmetric visibility, deprecation attributes, a spec‑compliant DOM API, an object‑oriented BCMath API, and several new array_* functions—each illustrated with concise code examples and usage notes.

Asymmetric VisibilityBackendNew Features
0 likes · 5 min read
New Features in PHP 8.4.1: Property Hooks, Asymmetric Visibility, Deprecation Attributes, Ext‑DOM Enhancements, BCMath Object API, and New array_* Functions
php Courses
php Courses
Nov 21, 2024 · Backend Development

New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Bracket‑less Method Chains, New Array Functions and Core Improvements

PHP 8.4, released ahead of schedule, introduces Property Hooks for elegant getters/setters, asymmetric visibility for differing access levels, bracket‑less method chains, new array functions like array_find(), and core improvements such as enhanced HTML5 support and clearer null handling, making it a significant upgrade for backend developers.

8.4Asymmetric VisibilityPHP
0 likes · 6 min read
New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Bracket‑less Method Chains, New Array Functions and Core Improvements
php Courses
php Courses
Aug 6, 2024 · Backend Development

Using array_key_first() in PHP 7.3: Syntax, Examples, and Use Cases

Introduced in PHP 7.3, the array_key_first() function returns the first key of an array or null for an empty array, and this article explains its syntax, demonstrates usage with code examples, and discusses practical scenarios such as retrieving the first key and checking if an array is empty.

Backendarray functionsarray_key_first
0 likes · 3 min read
Using array_key_first() in PHP 7.3: Syntax, Examples, and Use Cases
php Courses
php Courses
Jul 15, 2024 · Backend Development

Understanding PHP's array_key_first() Function: Syntax, Usage, and Examples

This article introduces PHP 7.3's new array_key_first() function, explains its syntax, demonstrates usage with examples for retrieving the first key and checking for empty arrays, discusses practical scenarios, and highlights precautions when arrays contain null values.

Backendarray functionsarray_key_first
0 likes · 3 min read
Understanding PHP's array_key_first() Function: Syntax, Usage, and Examples
php Courses
php Courses
Jul 11, 2024 · Backend Development

Using PHP array_keys() Function: Syntax, Parameters, and Practical Examples

This article explains the PHP array_keys() function, detailing its syntax, optional parameters, and demonstrating its use with three code examples that cover indexed, associative, and multidimensional arrays, helping developers retrieve array keys efficiently.

array functionsarray_keysbackend-development
0 likes · 5 min read
Using PHP array_keys() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Jan 4, 2024 · Backend Development

Common PHP Functions for Searching and Filtering Data

This article introduces essential PHP functions such as strpos, strstr, in_array, array_search, htmlspecialchars, and filter_var, providing clear explanations and example code to help developers efficiently search, filter, and validate strings, arrays, and input data.

PHPSearchString Functions
0 likes · 4 min read
Common PHP Functions for Searching and Filtering Data
FunTester
FunTester
Aug 28, 2020 · Backend Development

JsonPath Functions for Array Operations: min, max, avg, stddev, length, sum

This article demonstrates how to use JsonPath's built‑in functions such as $.ss.min(), $.ss.max(), $.ss.avg(), $.ss.stddev(), $.ss.length() and $.ss.sum() to compute minimum, maximum, average, standard deviation, length and sum of JSON array elements, providing Java code examples and expected console output.

BackendJSONarray functions
0 likes · 6 min read
JsonPath Functions for Array Operations: min, max, avg, stddev, length, sum