Tagged articles
8 articles
Page 1 of 1
php Courses
php Courses
Apr 15, 2025 · Backend Development

Understanding PHP 8.4’s array_find Function: Syntax, Comparison, Performance, and Use Cases

The article examines PHP 8.4’s new array_find function, detailing its syntax, comparing it with traditional loops, array_filter, and custom implementations, highlighting performance benefits, showcasing practical use cases, discussing developer opinions, and positioning it among similar features in other modern languages.

array-functionsarray_findphp8.4
0 likes · 6 min read
Understanding PHP 8.4’s array_find Function: Syntax, Comparison, Performance, and Use Cases
php Courses
php Courses
Nov 27, 2024 · Backend Development

New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Array Functions, Simplified Instantiation, Explicit Nullable Types, and Lazy Objects

PHP 8.4 introduces property hooks, asymmetric visibility, new array functions, simplified object instantiation, explicit nullable types, and lazy objects, providing cleaner syntax, better control, and performance improvements for developers across skill levels.

BackendNew Featuresarray-functions
0 likes · 7 min read
New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Array Functions, Simplified Instantiation, Explicit Nullable Types, and Lazy Objects
php Courses
php Courses
Aug 30, 2024 · Backend Development

New Features and Changes in PHP 8.4 Release (Nov 21, 2024)

PHP 8.4, released on November 21, 2024, introduces performance, usability, and security enhancements such as property hooks, a parenthesis‑free new operator, powerful array functions, an HTMLDocument class, new Sodium algorithms, a request parsing helper, stricter type declarations, JIT optimizations, and migration of several extensions to PECL.

BackendHTML5PHP
0 likes · 3 min read
New Features and Changes in PHP 8.4 Release (Nov 21, 2024)
Laravel Tech Community
Laravel Tech Community
Dec 5, 2020 · Backend Development

Generating Random Numbers in PHP Using shuffle, array_unique, array_flip, and Custom Functions

This article demonstrates multiple PHP techniques for generating unique random numbers, including using shuffle on a range array, applying array_unique with a while loop, leveraging array_flip to remove duplicates, and creating a customizable randpw function with mt_rand, complete with code examples and output results.

BackendPHParray-functions
0 likes · 4 min read
Generating Random Numbers in PHP Using shuffle, array_unique, array_flip, and Custom Functions