Tagged articles
3002 articles
Page 5 of 31
php Courses
php Courses
Aug 21, 2025 · Backend Development

Mastering Modular PHP: Build Maintainable, Testable, Scalable Apps

Learn how to transform traditional PHP scripts into modern, modular applications by embracing high cohesion, low coupling, namespaces, autoloading, dependency injection, interface contracts, component architecture, service containers, repository patterns, testing strategies, and PHP 8+ features for maintainable, scalable codebases.

Modular ProgrammingNamespacesPHP
0 likes · 8 min read
Mastering Modular PHP: Build Maintainable, Testable, Scalable Apps
php Courses
php Courses
Aug 21, 2025 · Backend Development

Master PHP’s str_word_count: Count Words, Get Arrays, Customize Ignored Characters

This guide details PHP’s str_word_count() function, covering its syntax, parameter options, and multiple practical examples that demonstrate counting words, retrieving word arrays, obtaining word positions, customizing ignored characters, and using regular expressions for flexible string analysis.

PHPString Functionsstr_word_count
0 likes · 4 min read
Master PHP’s str_word_count: Count Words, Get Arrays, Customize Ignored Characters
php Courses
php Courses
Aug 21, 2025 · Backend Development

Mastering PHP’s fseek(): How to Move File Pointers Efficiently

Learn how PHP’s fseek() function positions file pointers, understand its syntax, parameters like offset and whence, explore SEEK_SET, SEEK_CUR, SEEK_END options, and see a complete example that reads, writes, and manipulates files using fseek alongside fopen, fread, and fwrite.

BackendPHPfile-handling
0 likes · 4 min read
Mastering PHP’s fseek(): How to Move File Pointers Efficiently
Open Source Tech Hub
Open Source Tech Hub
Aug 21, 2025 · Backend Development

Build a Scalable Distributed Captcha Login with PHP Webman and Redis

This guide explains how to replace traditional session‑based captcha authentication with a Redis‑backed, token‑driven solution using the high‑performance PHP Webman framework and the tinywan/captcha plugin, covering architecture, generation and verification flows, installation steps, and code examples.

CaptchaDistributed SystemsPHP
0 likes · 8 min read
Build a Scalable Distributed Captcha Login with PHP Webman and Redis
Open Source Tech Hub
Open Source Tech Hub
Aug 20, 2025 · Backend Development

Build a High‑Performance RBAC System in Webman with Casbin and ThinkORM

This guide walks PHP developers through designing a relational database schema and implementing a role‑based access control (RBAC) system in the Webman framework by integrating Casbin for policy enforcement and ThinkORM for elegant ORM handling, complete with configuration, model definitions, and middleware.

BackendCasbinPHP
0 likes · 13 min read
Build a High‑Performance RBAC System in Webman with Casbin and ThinkORM
21CTO
21CTO
Aug 19, 2025 · Backend Development

How Generators Slash PHP Memory Usage When Processing Massive CSV Files

This article explains how PHP lazy evaluation using generators and the Iterator API can dramatically reduce memory consumption when loading huge CSV files, provides side‑by‑side code examples and benchmarks, and offers guidance on when to choose each approach for real‑world data processing tasks.

GeneratorsLazy EvaluationMemory Optimization
0 likes · 7 min read
How Generators Slash PHP Memory Usage When Processing Massive CSV Files
php Courses
php Courses
Aug 19, 2025 · Backend Development

Boost PHP Performance: Powerful Opcode Caching Tricks You Need

Learn how PHP's opcode caching mechanisms, including OPcache, APCu, preloading, JIT compilation, and various micro‑optimizations, can dramatically speed up script execution, reduce server load, and bring interpreted code performance closer to compiled languages, with practical configuration examples and benchmark insights.

BackendJITOpcode Cache
0 likes · 7 min read
Boost PHP Performance: Powerful Opcode Caching Tricks You Need
php Courses
php Courses
Aug 19, 2025 · Backend Development

Mastering PHP’s fseek(): How to Move File Pointers Efficiently

This article explains PHP’s fseek() function, detailing its syntax, parameters, and usage examples for positioning file pointers, reading, writing, and appending data, and demonstrates practical code snippets that illustrate flexible file manipulation techniques.

File I/OPHPbackend-development
0 likes · 4 min read
Mastering PHP’s fseek(): How to Move File Pointers Efficiently
php Courses
php Courses
Aug 18, 2025 · Backend Development

Mastering PHP’s is_callable(): Safely Check Functions and Methods

This guide explains how PHP's is_callable() function works, its parameters, and provides clear code examples for verifying both standalone functions and class methods before invocation, helping developers write more robust and maintainable code.

Code TutorialPHPbackend-development
0 likes · 4 min read
Mastering PHP’s is_callable(): Safely Check Functions and Methods
php Courses
php Courses
Aug 18, 2025 · Backend Development

Master PHP’s trim(): Remove Unwanted Spaces and Invisible Characters

This article explains how PHP's trim() function removes leading and trailing whitespace and other invisible characters from strings, demonstrates its basic usage with code examples, and shows how to customize the characters to strip for flexible string cleaning.

.trimPHPString Manipulation
0 likes · 3 min read
Master PHP’s trim(): Remove Unwanted Spaces and Invisible Characters
Open Source Tech Hub
Open Source Tech Hub
Aug 17, 2025 · Backend Development

Boost Your PHP Web App Performance with Proven Optimization Techniques

This guide outlines key factors that affect PHP web application performance and provides practical steps—including PHP environment tuning, disabling debug mode, caching strategies, session and database optimizations, Composer autoload improvements, and offline processing—to significantly speed up your app.

BackendComposerPHP
0 likes · 8 min read
Boost Your PHP Web App Performance with Proven Optimization Techniques
Laravel Tech Community
Laravel Tech Community
Aug 16, 2025 · Backend Development

Unlock PHP 8’s New System Functions: fdiv, str_contains, mb_str_pad, bcceil & More

This article introduces the latest PHP 8 system functions—including fdiv for floating‑point division, str_contains, str_starts_with, str_ends_with for string checks, mb_str_pad for multibyte padding, and new arbitrary‑precision math functions like bcceil, bcfloor, bcround—providing clear examples and usage tips for backend developers.

BackendPHPPHP8
0 likes · 7 min read
Unlock PHP 8’s New System Functions: fdiv, str_contains, mb_str_pad, bcceil & More
php Courses
php Courses
Aug 14, 2025 · Backend Development

Master PHP Time Functions: Get, Format, Calculate, and Set Timezones

This tutorial explains how to use PHP's time(), date(), strtotime(), and date_default_timezone_set() functions to retrieve the current timestamp, format dates, perform date arithmetic, and configure timezones, providing practical code examples for each operation.

Date FormattingPHPTimezone
0 likes · 4 min read
Master PHP Time Functions: Get, Format, Calculate, and Set Timezones
php Courses
php Courses
Aug 14, 2025 · Backend Development

Master PHP’s array_search: Find Keys Quickly and Accurately

This tutorial explains how PHP's array_search() function locates the key of a specific value in an array, details its parameters and return values, and provides clear code examples illustrating both successful searches and handling of missing elements.

PHPProgramming tutorialarray manipulation
0 likes · 4 min read
Master PHP’s array_search: Find Keys Quickly and Accurately
Open Source Tech Hub
Open Source Tech Hub
Aug 13, 2025 · Backend Development

Why PHP Still Powers 77% of Websites and How Chinese Developers Can Thrive

The article examines the global dominance of PHP, the challenges Chinese developers face due to low salaries and limited career paths, and proposes strategic technical and ecosystem moves—such as leveraging PHP 8 JIT, full‑stack skill expansion, and pragmatic architecture—to revitalize the PHP community in China.

EcosystemPHPWeb Development
0 likes · 6 min read
Why PHP Still Powers 77% of Websites and How Chinese Developers Can Thrive
Open Source Tech Hub
Open Source Tech Hub
Aug 5, 2025 · Information Security

Mastering Fine-Grained Access Control in PHP with Casbin

This article explains how PHP‑Casbin implements the PERM model to provide flexible, lightweight, and multi‑model access control for PHP applications, covering its architecture, supported ACL/RBAC/ABAC models, configuration syntax, cross‑language ecosystem, storage options, framework integrations, and practical use cases.

AuthorizationBackendCasbin
0 likes · 6 min read
Mastering Fine-Grained Access Control in PHP with Casbin
Open Source Tech Hub
Open Source Tech Hub
Aug 2, 2025 · Backend Development

How to Build a PHP SDK for Coze API When Official Support Is Missing

This guide explains why the official Coze SDK lacks PHP support, shows how to install the community‑made pfinalclub/coze_sdk package via Composer, and demonstrates chat, bot management, and both basic and advanced streaming features with complete code examples and future improvement plans.

BackendComposerCoze API
0 likes · 6 min read
How to Build a PHP SDK for Coze API When Official Support Is Missing
php Courses
php Courses
Jul 25, 2025 · Backend Development

Mastering PHP’s floatval: Convert Any Variable to Float Easily

This guide explains how PHP's built‑in floatval function converts integers, strings, booleans, and arrays into floating‑point numbers, provides syntax and practical code examples, and highlights important considerations when conversion fails.

PHPfloatvalnumeric casting
0 likes · 3 min read
Mastering PHP’s floatval: Convert Any Variable to Float Easily
php Courses
php Courses
Jul 24, 2025 · Backend Development

Mastering PHP curl_setopt: Set HTTP Options Like a Pro

This guide explains the PHP curl_setopt function, covering its syntax, parameters, return value, and a complete example that demonstrates how to configure and execute a GET request with cURL, handle errors, and close the session.

BackendHTTP requestPHP
0 likes · 4 min read
Mastering PHP curl_setopt: Set HTTP Options Like a Pro
Open Source Tech Hub
Open Source Tech Hub
Jul 24, 2025 · Backend Development

Mastering ThinkPHP’s Think Queue: Installation, Usage, and Command Guide

Learn how to install and configure ThinkPHP’s official Think Queue extension, explore its core features, follow step-by-step usage flows—including job creation, pushing, processing, and command options—while also seeing practical code examples and supervisor integration for reliable background task handling.

BackendJob ProcessingPHP
0 likes · 9 min read
Mastering ThinkPHP’s Think Queue: Installation, Usage, and Command Guide
php Courses
php Courses
Jul 23, 2025 · Backend Development

Beyond Try‑Catch: Advanced PHP Techniques for Safer Code

This article explores modern PHP practices that move error handling from runtime try‑catch blocks to proactive strategies such as static analysis, contract programming, attribute‑based validation, and test‑driven development, showing how to build more reliable and maintainable backend applications.

AttributesContractsPHP
0 likes · 5 min read
Beyond Try‑Catch: Advanced PHP Techniques for Safer Code
php Courses
php Courses
Jul 23, 2025 · Backend Development

Master PHP’s mb_strlen: Handle Multibyte Strings with Ease

This article explains how to use PHP's mb_strlen function to accurately measure the length of multibyte strings such as Chinese or Japanese, covering installation of the mbstring extension, syntax, optional encoding, practical code examples, and common validation scenarios.

BackendPHPmbstring
0 likes · 4 min read
Master PHP’s mb_strlen: Handle Multibyte Strings with Ease
php Courses
php Courses
Jul 22, 2025 · Backend Development

Master PHP’s array_walk: Transform Arrays with Custom Callbacks

This article explains PHP’s array_walk function, detailing its syntax, basic and advanced usage with code examples, including passing extra userdata, using callbacks, and integrating class methods, while highlighting practical scenarios where array_walk simplifies array processing in backend development.

Code ExamplesPHParray_walk
0 likes · 4 min read
Master PHP’s array_walk: Transform Arrays with Custom Callbacks
php Courses
php Courses
Jul 18, 2025 · Backend Development

10 Common Laravel Pitfalls Even Senior Developers Make (And How to Fix Them)

This article highlights ten frequent Laravel mistakes—from N+1 queries and missing transactions to improper caching and lack of performance monitoring—explaining why they occur and providing concrete code examples of best‑practice solutions to improve efficiency, security, and maintainability.

BackendEloquentLaravel
0 likes · 8 min read
10 Common Laravel Pitfalls Even Senior Developers Make (And How to Fix Them)
php Courses
php Courses
Jul 18, 2025 · Backend Development

How to Use PHP’s array_pop to Remove the Last Element from an Array

Learn how PHP’s array_pop function removes and returns the last element of an array, with a clear code example that demonstrates defining an array of fruits, popping the final item, and displaying both the popped value and the remaining array contents.

PHParray manipulationarray_pop
0 likes · 3 min read
How to Use PHP’s array_pop to Remove the Last Element from an Array
php Courses
php Courses
Jul 18, 2025 · Backend Development

Master PHP’s fgetc(): Read Files & User Input One Character at a Time

This tutorial explains how to use PHP's fgetc() function to read single characters from opened files or standard input, covering file opening with fopen(), reading loops, handling end‑of‑file, and practical code examples for both file and user input scenarios.

Code ExamplesPHPcharacter reading
0 likes · 4 min read
Master PHP’s fgetc(): Read Files & User Input One Character at a Time
php Courses
php Courses
Jul 17, 2025 · Backend Development

Master PHP’s rename() Function: Rename Files & Directories with Ease

This guide explains PHP's rename() function, covering its syntax, parameters, return values, practical code examples for renaming both files and directories, and important considerations such as permissions and error handling, enabling developers to manage filesystem objects efficiently.

BackendFilesystemPHP
0 likes · 3 min read
Master PHP’s rename() Function: Rename Files & Directories with Ease
php Courses
php Courses
Jul 17, 2025 · Frontend Development

How to Dynamically Adjust PHP Page Layout Based on User Scroll Speed

This guide explains how to capture a visitor's scroll speed with JavaScript, send the data to a PHP backend, and dynamically modify page layout in real time to improve user experience, covering implementation details, performance tips, and privacy considerations.

JavaScriptPHPUX
0 likes · 6 min read
How to Dynamically Adjust PHP Page Layout Based on User Scroll Speed
Open Source Tech Hub
Open Source Tech Hub
Jul 17, 2025 · Backend Development

Why RadixRouter Beats Other PHP Routers in Speed and Memory

RadixRouter offers O(k) dynamic routing with support for optional segments, wildcards, and static hash‑based routes, provides a simple installation via Composer, includes usage examples, caching strategies, and benchmark results showing it outperforms FastRoute and SymfonyRouter in both registration time and lookup speed while using less memory.

PHPRoutercaching
0 likes · 7 min read
Why RadixRouter Beats Other PHP Routers in Speed and Memory
Open Source Tech Hub
Open Source Tech Hub
Jul 16, 2025 · Backend Development

One-Click PHP Installation on Windows, macOS, and Linux

This guide shows how to quickly install PHP on Windows, macOS, and Linux by running a single PowerShell or Bash command that configures execution policy, sets security protocols, and downloads the installer script from php.new, with screenshots for verification.

BashInstallationLinux
0 likes · 2 min read
One-Click PHP Installation on Windows, macOS, and Linux
php Courses
php Courses
Jul 16, 2025 · Backend Development

Master PHP’s filesize() Function: Quick Guide & Code Examples

Learn how to use PHP’s built-in filesize() function to retrieve file sizes in bytes, understand its syntax, see practical code examples with file existence checks, and discover important considerations such as handling local files only and converting sizes to readable formats.

Code ExamplePHPfile-handling
0 likes · 3 min read
Master PHP’s filesize() Function: Quick Guide & Code Examples
php Courses
php Courses
Jul 16, 2025 · Backend Development

Master PHP’s str_replace: Simple Replacements, Bulk Swaps, and Deletions

This guide explains PHP’s str_replace function, covering its syntax, how to perform simple replacements, replace multiple characters using arrays, and delete characters, with clear code examples and output demonstrations to help you efficiently manipulate strings in your projects.

Code TutorialPHPstr_replace
0 likes · 3 min read
Master PHP’s str_replace: Simple Replacements, Bulk Swaps, and Deletions
php Courses
php Courses
Jul 16, 2025 · Backend Development

Master PHP’s is_dir() Function: Quick Guide & Real-World Examples

Learn how PHP’s is_dir() function checks whether a given path is a directory, explore practical use cases such as file management, and follow step‑by‑step code examples that demonstrate simple checks, directory traversal, and proper handling of permissions.

BackendPHPdirectory check
0 likes · 5 min read
Master PHP’s is_dir() Function: Quick Guide & Real-World Examples
Open Source Tech Hub
Open Source Tech Hub
Jul 15, 2025 · Fundamentals

Why PHP Should Switch to the MIT License: Benefits and Challenges

This proposal argues for replacing the PHP License 3.01 with the permissive MIT license to eliminate compatibility hurdles, reduce legal uncertainty for businesses, and align the PHP ecosystem with mainstream open‑source projects, while outlining the scope, specific changes, community concerns, and long‑term impact.

LicenseMITPHP
0 likes · 8 min read
Why PHP Should Switch to the MIT License: Benefits and Challenges
php Courses
php Courses
Jul 15, 2025 · Backend Development

7 Fatal PHP Mistakes Every Developer Must Avoid

This article outlines the seven most common and dangerous errors in PHP development—ranging from SQL injection and unchecked input to poor session handling and lack of autoloading—while offering concrete code‑level solutions to boost security, performance, and maintainability.

BackendPHPbest practices
0 likes · 6 min read
7 Fatal PHP Mistakes Every Developer Must Avoid
Open Source Tech Hub
Open Source Tech Hub
Jul 14, 2025 · Backend Development

10 Essential Practices to Modernize Your PHP Projects

This article outlines ten practical guidelines for PHP developers, emphasizing the advantages of PHP 8+, proper use of Laravel, ORM, testing, Composer, debugging, static analysis, security, side projects, and community involvement to write modern, safe, and maintainable backend code.

ComposerLaravelPHP
0 likes · 6 min read
10 Essential Practices to Modernize Your PHP Projects
php Courses
php Courses
Jul 14, 2025 · Backend Development

How to Use PHP’s tmpfile() to Create and Manage Temporary Files

Learn how PHP’s tmpfile() function creates unique temporary files that are automatically removed, explore its syntax, see a full example with reading and writing operations, and understand important considerations such as resource handling and manual deletion with unlink().

PHPfile-handlingphp-functions
0 likes · 4 min read
How to Use PHP’s tmpfile() to Create and Manage Temporary Files
php Courses
php Courses
Jul 14, 2025 · Backend Development

Master PHP’s file() Function: Read Files into Arrays Effortlessly

This guide explains how PHP’s file() function reads an entire file into an array, details its syntax and parameters, demonstrates basic and flag‑enhanced usage with code examples, and highlights important considerations such as automatic newline removal for efficient backend development.

ArraysFilePHP
0 likes · 4 min read
Master PHP’s file() Function: Read Files into Arrays Effortlessly
php Courses
php Courses
Jul 14, 2025 · Backend Development

How the Adapter Pattern Simplifies PHP Payment Integration

This article explains the Adapter Pattern in PHP, showing how to refactor chaotic payment integration code into a clean, extensible architecture using a unified interface and adapters, and discusses its advantages, variations, real-world applications, best practices, and performance considerations.

Adapter PatternPHP
0 likes · 9 min read
How the Adapter Pattern Simplifies PHP Payment Integration
php Courses
php Courses
Jul 11, 2025 · Backend Development

Master PHP’s array_walk(): From Basics to Advanced Use Cases

Learn how PHP’s powerful array_walk() function lets you iterate over arrays and apply custom callbacks, with clear examples ranging from simple value transformations to advanced techniques like passing userdata, using reference parameters, and integrating class methods for real-world development scenarios.

PHPTutorialarray_walk
0 likes · 5 min read
Master PHP’s array_walk(): From Basics to Advanced Use Cases
php Courses
php Courses
Jul 11, 2025 · Backend Development

Give Your PHP Scripts Memory: State Persistence Techniques for Smarter Apps

This article explains how modern PHP can retain information across requests using state persistence methods such as file logging, Redis caching, and machine‑learning integration, and provides concrete code examples for building intelligent response optimizers and secure, evolvable architectures.

PHPSession Managementmachine learning
0 likes · 5 min read
Give Your PHP Scripts Memory: State Persistence Techniques for Smarter Apps
php Courses
php Courses
Jul 10, 2025 · Backend Development

How to Build Desktop Apps with Laravel and NativePHP: Step-by-Step Guide

This tutorial explains how to integrate NativePHP into Laravel to create desktop applications, covering project setup, routing, controller logic, UI rendering, and providing complete example code for retrieving the operating system name via a JSON endpoint.

Desktop ApplicationLaravelNativePHP
0 likes · 5 min read
How to Build Desktop Apps with Laravel and NativePHP: Step-by-Step Guide
php Courses
php Courses
Jul 10, 2025 · Backend Development

Why PHP Still Dominates Web Development in 2025

Despite claims that it’s outdated, PHP remains a cornerstone of web development in 2025, powered by WordPress’s market share, performance gains in PHP 7 and 8, a rich ecosystem of frameworks and tools, low cost deployment, and a massive global community.

PHPWordPress
0 likes · 8 min read
Why PHP Still Dominates Web Development in 2025
php Courses
php Courses
Jul 10, 2025 · Backend Development

Master PHP’s array_flip: Swap Keys and Values with Easy Examples

Learn how PHP’s array_flip function swaps array keys and values, understand its syntax, handle duplicate values, and see practical code examples that demonstrate finding keys by value and improving data handling efficiency in your backend projects.

Code ExamplesPHParray manipulation
0 likes · 4 min read
Master PHP’s array_flip: Swap Keys and Values with Easy Examples
21CTO
21CTO
Jul 9, 2025 · Backend Development

What’s New in PHP 8.5 Alpha 1? Key Features and Release Timeline

The first Alpha of PHP 8.5 has been released, bringing support for closures in constant expressions, fatal‑error backtraces, a #[\NoDiscard] attribute, (void) casts, a pipe operator, new array_first() and array_last() functions, and a CLI “--ini=diff” option, with a stable version slated for late November.

Alpha ReleasePHPbackend-development
0 likes · 2 min read
What’s New in PHP 8.5 Alpha 1? Key Features and Release Timeline
Open Source Tech Hub
Open Source Tech Hub
Jul 9, 2025 · Backend Development

Master Essential PHP Array Functions for Cleaner Code

This guide walks PHP developers through eight essential array functions—array_map, array_walk, array_reduce, array_filter, array_merge, array_keys, array_values, array_unique, and array_combine—explaining their purpose, usage, and providing clear code examples to help manage and transform data efficiently.

ArraysPHPfunctions
0 likes · 6 min read
Master Essential PHP Array Functions for Cleaner Code
Open Source Tech Hub
Open Source Tech Hub
Jul 8, 2025 · Backend Development

Why FrankenPHP Is the Next Big Leap for PHP Backend Performance

FrankenPHP, now officially supported by the PHP Foundation, replaces the traditional PHP‑FPM setup with a Go‑based Caddy server that embeds PHP, offering faster request handling, simplified deployment, worker mode, modern protocol support, and extensibility, while still being evaluated for robustness.

BackendCaddyDocker
0 likes · 7 min read
Why FrankenPHP Is the Next Big Leap for PHP Backend Performance
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
php Courses
php Courses
Jul 7, 2025 · Backend Development

7 Advanced PHP Array Techniques Every Developer Should Master

This article presents seven professional PHP array tricks—including destructuring, spread operator merging, column extraction, advanced filtering, reduction, key existence checks, and batch mapping—to boost coding efficiency, readability, and modern backend development practices.

Advanced TechniquesArraysCode Optimization
0 likes · 6 min read
7 Advanced PHP Array Techniques Every Developer Should Master
php Courses
php Courses
Jul 7, 2025 · Backend Development

Master PHP’s array_pop: Remove and Retrieve the Last Array Element

Learn how to use PHP’s built-in array_pop function to efficiently remove and return the last element of an array, with clear syntax explanation, a step-by-step code example, and expected output demonstrating its effect on the original array.

BackendPHPTutorial
0 likes · 3 min read
Master PHP’s array_pop: Remove and Retrieve the Last Array Element
php Courses
php Courses
Jul 7, 2025 · Backend Development

How to Build a PHP E‑Commerce Logistics Tracking Feature Step‑by‑Step

Implementing a logistics tracking system in a PHP‑based online store involves collecting shipment data, integrating a tracking API, parsing responses, storing results in a database, displaying updates to customers, and regularly refreshing the information to enhance user trust and satisfaction.

Logistics TrackingPHPapi-integration
0 likes · 4 min read
How to Build a PHP E‑Commerce Logistics Tracking Feature Step‑by‑Step
Open Source Tech Hub
Open Source Tech Hub
Jul 5, 2025 · Backend Development

Understanding PHP Coroutines: Generators, Fibers, and Real‑World Use Cases

This article explains what coroutines are, how PHP implements them with Generators and Fibers, compares asymmetric and symmetric designs, shows practical code examples, and outlines scenarios where coroutines improve state handling, lazy iteration, and cooperative multitasking in backend applications.

CoroutinesFibersGenerators
0 likes · 17 min read
Understanding PHP Coroutines: Generators, Fibers, and Real‑World Use Cases
php Courses
php Courses
Jul 4, 2025 · Operations

Automate PHP Deployment with Jenkins Pipeline: Step-by-Step Guide

Learn how to set up Jenkins Pipeline for continuous integration and deployment of PHP applications, covering prerequisite installations, plugin configuration, Jenkinsfile creation with stages for checkout, build, test, and deploy, and executing the pipeline to automate packaging and deployment.

JenkinsPHPPipeline
0 likes · 5 min read
Automate PHP Deployment with Jenkins Pipeline: Step-by-Step Guide
php Courses
php Courses
Jul 4, 2025 · Backend Development

Mastering PHP’s is_float(): Syntax, Usage, and Real-World Examples

This guide explains PHP’s is_float() function, covering its syntax, how it determines whether a variable is a floating‑point number, including return values, example outputs, and a note on using is_numeric() for broader numeric checks, helping developers avoid type‑related errors.

PHPfloatis_float
0 likes · 4 min read
Mastering PHP’s is_float(): Syntax, Usage, and Real-World Examples
php Courses
php Courses
Jul 4, 2025 · Backend Development

Mastering PHP’s array_unique(): Remove Duplicates Efficiently

This article explains how PHP’s built‑in array_unique() function works, shows syntax and code examples, and demonstrates practical scenarios such as data cleaning, user input validation, and re‑indexing arrays to efficiently remove duplicate values.

Code ExamplesPHParray_unique
0 likes · 6 min read
Mastering PHP’s array_unique(): Remove Duplicates Efficiently
php Courses
php Courses
Jul 3, 2025 · Artificial Intelligence

Build a PHP Camera Emotion Detector with FFmpeg and Fer2013

This guide walks you through installing necessary drivers and libraries, capturing webcam frames with PHP and FFmpeg, and using the Fer2013 model to recognize facial emotions, providing a complete example that displays both the image and detected mood on a web page.

AIEmotion RecognitionFer2013
0 likes · 5 min read
Build a PHP Camera Emotion Detector with FFmpeg and Fer2013
php Courses
php Courses
Jul 3, 2025 · Backend Development

Mastering PHP curl_setopt: Set Options for HTTP Requests

This article explains how to use PHP's curl_setopt function to configure cURL sessions, covering its syntax, parameters, return values, and a complete example that demonstrates sending a GET request with custom options and handling the response.

BackendHTTPPHP
0 likes · 4 min read
Mastering PHP curl_setopt: Set Options for HTTP Requests
php Courses
php Courses
Jul 2, 2025 · Backend Development

Master PHP’s file() Function: Read Files into Arrays Efficiently

This guide explains how PHP’s file() function reads an entire file into an array, details its syntax and parameters, demonstrates basic and flag‑enhanced usage with code examples, and highlights important behaviors such as automatic newline handling.

ArrayFile ReadingPHP
0 likes · 4 min read
Master PHP’s file() Function: Read Files into Arrays Efficiently
php Courses
php Courses
Jul 2, 2025 · Databases

8 Proven PHP Database Query Optimization Techniques to Boost Performance

This article presents eight practical, proven techniques—such as prepared statements, proper indexing, selective column retrieval, pagination, efficient joins, query caching, batch operations, and EXPLAIN analysis—to dramatically improve the performance of database queries in PHP web applications, reducing load times and server strain.

Database OptimizationPHPPrepared Statements
0 likes · 6 min read
8 Proven PHP Database Query Optimization Techniques to Boost Performance
php Courses
php Courses
Jul 2, 2025 · Backend Development

How to Safely Use PHP’s is_callable() to Verify Functions and Methods

This article explains how PHP's is_callable() function determines whether a function or method can be invoked, describes its one‑ and two‑argument signatures, and provides clear code examples for checking both standalone functions and class methods, helping developers write more robust code.

Code ExamplePHPbackend-development
0 likes · 4 min read
How to Safely Use PHP’s is_callable() to Verify Functions and Methods
php Courses
php Courses
Jul 2, 2025 · Backend Development

How Function Objects Affect PHP Performance: Memory, Binding, and Call Overhead

This article examines the performance implications of using function objects in PHP, highlighting higher memory usage, late‑binding costs, and indirect call overhead, and provides a concrete benchmark comparing traditional functions with function objects to illustrate the trade‑offs.

Code ReusabilityFunction ObjectsMemory Overhead
0 likes · 3 min read
How Function Objects Affect PHP Performance: Memory, Binding, and Call Overhead
php Courses
php Courses
Jul 1, 2025 · Backend Development

Master PHP’s basename() Function: Extract Filenames Quickly

This article explains how PHP's basename() function works, details its syntax and parameters, and demonstrates three practical examples—including handling suffix removal and cross‑platform path considerations—to help developers efficiently extract filenames from file paths.

File PathPHPbasename
0 likes · 4 min read
Master PHP’s basename() Function: Extract Filenames Quickly
21CTO
21CTO
Jun 28, 2025 · Backend Development

Why PHP Still Thrives After 30 Years: History, Modern Features, and Future Directions

Celebrating PHP's 30th anniversary, this article traces its evolution from a simple CGI tool to a modern, type‑safe language, examines the impact of major frameworks like Laravel and Symfony, explores the shift toward JavaScript in WordPress, and looks ahead to innovations such as FrankenPHP and Swoole.

FrankenPHPPHPWeb Frameworks
0 likes · 10 min read
Why PHP Still Thrives After 30 Years: History, Modern Features, and Future Directions
Open Source Tech Hub
Open Source Tech Hub
Jun 25, 2025 · Backend Development

How ThinkPHP Evolved Over 20 Years to Shape China’s PHP Landscape

This article chronicles the 20‑year journey of the ThinkPHP framework—from its 2006 origins as FCS through its golden 3.x era, the disruptive 5.x rewrite, and the mature 6.x‑8.x evolution—highlighting its community impact, AI initiatives, and ongoing commitment to simplicity amid modern web challenges.

Chinese Web DevelopmentFramework EvolutionPHP
0 likes · 10 min read
How ThinkPHP Evolved Over 20 Years to Shape China’s PHP Landscape
php Courses
php Courses
Jun 25, 2025 · Backend Development

How to Compute Large Integer Modular Inverses in PHP with GMP

This guide explains how to install the GMP extension, load it in PHP, and use the gmp_invert function to calculate modular inverses of large integers, providing a practical solution for cryptographic and number‑theoretic problems.

GMPPHPbig integers
0 likes · 4 min read
How to Compute Large Integer Modular Inverses in PHP with GMP
Open Source Tech Hub
Open Source Tech Hub
Jun 21, 2025 · Backend Development

Achieving 280k QPS with Webman 2.0: 100‑Concurrent Load Test on Ubuntu

This guide walks through setting up an Ubuntu 22.04 server, installing PHP and Composer, deploying the Webman 2.0 framework, and using ApacheBench to issue 100,000 requests with 100 concurrent keep‑alive connections, achieving roughly 280,000 QPS and demonstrating the framework’s high‑throughput performance.

BackendLoad TestingPHP
0 likes · 2 min read
Achieving 280k QPS with Webman 2.0: 100‑Concurrent Load Test on Ubuntu
Raymond Ops
Raymond Ops
Jun 20, 2025 · Operations

Automate LNMP Deployment with Ansible Playbooks: Step‑by‑Step Guide

This tutorial walks you through installing Ansible, preparing inventory, creating reusable variables, and writing a comprehensive playbook that automates the deployment and configuration of Nginx, MySQL, and PHP on multiple CentOS 8 hosts, complete with service setup and firewall adjustments.

LNMPPHP
0 likes · 18 min read
Automate LNMP Deployment with Ansible Playbooks: Step‑by‑Step Guide
php Courses
php Courses
Jun 20, 2025 · Backend Development

Master Multibyte String Cutting in PHP with mb_substr – Examples & Tips

The article explains PHP's mb_substr() function, detailing its syntax, parameters, and how it correctly handles multibyte characters, with multiple code examples and notes on edge cases, making it essential for developers working on internationalized backend projects.

BackendPHPString Manipulation
0 likes · 3 min read
Master Multibyte String Cutting in PHP with mb_substr – Examples & Tips
php Courses
php Courses
Jun 20, 2025 · Backend Development

Master PHP’s str_replace(): From Basics to Advanced Tricks

This article explains PHP’s native str_replace() function, covering its syntax, basic usage, and advanced techniques such as array replacements, case‑insensitive replacements with str_ireplace(), and retrieving the number of replacements performed, all illustrated with clear code examples.

Code ExamplesPHPString Manipulation
0 likes · 5 min read
Master PHP’s str_replace(): From Basics to Advanced Tricks
php Courses
php Courses
Jun 19, 2025 · Backend Development

Master PHP Regex: How to Use preg_match, preg_replace, and More

This guide explains PHP’s regular expression functions—including preg_match, preg_match_all, preg_replace, and preg_split—detailing their syntax, required parameters, and practical code examples, while also covering advanced regex meta‑characters and symbols to enhance string matching and data processing.

PHPString Manipulationpreg_match
0 likes · 7 min read
Master PHP Regex: How to Use preg_match, preg_replace, and More
php Courses
php Courses
Jun 19, 2025 · Backend Development

Boost Your PHP Projects: Essential Features and Performance Optimizations

This article outlines key PHP functionalities such as user authentication, database optimization, file handling, frontend‑backend interaction, and error logging, and provides practical tips to improve security, performance, and overall quality of PHP web applications.

AuthenticationAuthorizationDatabase Optimization
0 likes · 6 min read
Boost Your PHP Projects: Essential Features and Performance Optimizations
php Courses
php Courses
Jun 18, 2025 · Backend Development

Master PHP’s is_float(): Detect Floats with Simple Code Examples

This guide explains PHP’s is_float() function, showing how it determines whether a variable is a float, with clear code examples for simple variables and arrays, and highlights important nuances such as strict type checking and automatic conversion behavior.

PHPfloatis_float
0 likes · 5 min read
Master PHP’s is_float(): Detect Floats with Simple Code Examples
php Courses
php Courses
Jun 18, 2025 · Backend Development

Master PHP’s glob() Function: Powerful File Pattern Matching Explained

This article explains PHP’s glob() function, detailing its syntax, parameters, and flags, and provides practical code examples for matching files using wildcards, brace expansion, recursive patterns, and handling edge cases such as empty results and case sensitivity.

Code ExamplesPHPfile-matching
0 likes · 4 min read
Master PHP’s glob() Function: Powerful File Pattern Matching Explained
php Courses
php Courses
Jun 18, 2025 · Information Security

Why Most PHP Auth Systems Are Insecure and How to Build a Truly Safe One

This article reveals common security flaws in typical PHP authentication implementations—such as misconceptions about session safety, weak password storage, inadequate CSRF protection, missing rate limiting, and lack of multi‑factor authentication—and provides concrete best‑practice steps, including modern password hashing, strict session management, HTTPS enforcement, comprehensive CSRF defenses, intelligent rate limiting, MFA support, and regular security audits.

CSRFMFAPHP
0 likes · 5 min read
Why Most PHP Auth Systems Are Insecure and How to Build a Truly Safe One
php Courses
php Courses
Jun 17, 2025 · Backend Development

How to Retrieve and Use File Last Access Time with PHP's fileatime()

This article explains the PHP fileatime() function, its syntax, parameters, and return value, and provides practical examples for retrieving a file's last access timestamp, formatting it, and using it for file management tasks such as cleanup based on inactivity.

PHPbackend-developmentfile access time
0 likes · 4 min read
How to Retrieve and Use File Last Access Time with PHP's fileatime()