Skip to content
Tagged articles

PHP

500 articles · Page 5 of 5
php Courses
php Courses
Sep 23, 2025 · Backend Development

Master PHP’s strcmp(): Compare Strings Like a Pro

The article explains PHP’s strcmp() function, detailing its ASCII‑based string comparison mechanism, syntax, parameters, and return values, and provides three practical code examples that demonstrate how to determine whether one string is equal to, less than, or greater than another.

Backend DevelopmentCode ExamplesPHP
0 likes · 3 min read
Master PHP’s strcmp(): Compare Strings Like a Pro
php Courses
php Courses
Sep 23, 2025 · Backend Development

Coroutines vs Fibers in PHP: Which Concurrency Model Wins?

This article explains the fundamental differences between coroutines and fibers in modern PHP, covering their concepts, implementation layers, scheduling, stack management, integration, and practical code examples, helping developers choose the right concurrency approach for high‑performance applications.

ConcurrencyFiberPHP
0 likes · 10 min read
Coroutines vs Fibers in PHP: Which Concurrency Model Wins?
php Courses
php Courses
Sep 23, 2025 · Backend Development

Boost Music Site Search with PHP and Xunsearch: A Step‑by‑Step Guide

This tutorial explains how to install Xunsearch, integrate it with PHP, index music data, and execute fast, accurate full‑text searches for songs on a music website, providing code examples and best practices for improving user search experience.

BackendPHPSearch Optimization
0 likes · 5 min read
Boost Music Site Search with PHP and Xunsearch: A Step‑by‑Step Guide
Open Source Tech Hub
Open Source Tech Hub
Sep 22, 2025 · Frontend Development

Why HydePHP Is the Fastest Way to Build Content‑First Static Sites

HydePHP combines Laravel's powerful backend with simple Markdown and TailwindCSS to let developers quickly create blogs, documentation, or static websites, offering flexible customization, built‑in asset management, and easy deployment through straightforward Composer commands and Blade templating.

BladeLaravelMarkdown
0 likes · 6 min read
Why HydePHP Is the Fastest Way to Build Content‑First Static Sites
php Courses
php Courses
Sep 22, 2025 · Backend Development

Master PHP 8.3 Functions: Parameters, Return Types, and Scope Explained

This article explores PHP 8.3 functions in depth, covering their basic structure, parameter passing (including type declarations, default values, variadic and named arguments), return value handling, variable scope rules, and the newest language improvements such as stricter type checking and readonly properties.

PHPPHP 8.3Parameters
0 likes · 8 min read
Master PHP 8.3 Functions: Parameters, Return Types, and Scope Explained
php Courses
php Courses
Sep 22, 2025 · Backend Development

Master PHP’s basename() Function: Quick Ways to Extract Filenames

This article explains the PHP basename() function, covering its syntax, parameters, and practical usage with clear code examples that demonstrate how to extract filenames from both absolute and relative paths, including handling of optional suffix removal.

Backend DevelopmentPHPPath manipulation
0 likes · 3 min read
Master PHP’s basename() Function: Quick Ways to Extract Filenames
Open Source Tech Hub
Open Source Tech Hub
Sep 21, 2025 · Backend Development

Boost PHP API Platform Performance with Go-Powered gRPC Services

Learn how to combine PHP's ease of use with Go's high-performance concurrency by integrating gRPC services into an API Platform project, covering environment setup, protobuf definitions, Go server implementation, PHP client integration, and troubleshooting tips to dramatically reduce API latency.

API PlatformBackendGo
0 likes · 8 min read
Boost PHP API Platform Performance with Go-Powered gRPC Services
php Courses
php Courses
Sep 19, 2025 · Backend Development

Master PHP Functions: Define, Pass, Loop, and Return Arrays

This guide explains how to define, pass, iterate over, and return arrays within PHP functions, covering array creation with array(), parameter passing, traversal using both for and foreach loops, and returning modified arrays, complete with full code examples for each step.

Backend DevelopmentCode TutorialPHP
0 likes · 5 min read
Master PHP Functions: Define, Pass, Loop, and Return Arrays
php Courses
php Courses
Sep 19, 2025 · Backend Development

Master PHP’s array_map(): Basics, Advanced Tricks & Real‑World Examples

This article explains PHP’s array_map() function, covering its basic syntax, how to apply callbacks to single or multiple arrays, advanced techniques like passing extra parameters, and provides clear code examples that demonstrate transforming array data efficiently.

Backend DevelopmentCallbackPHP
0 likes · 4 min read
Master PHP’s array_map(): Basics, Advanced Tricks & Real‑World Examples
21CTO
21CTO
Sep 18, 2025 · Backend Development

What’s New in PHP 8.5? Explore Pipelines, NoDiscard, Array Helpers & More

PHP 8.5 arrives with a suite of developer‑friendly enhancements—including a pipeline operator that eliminates temporary variables, a NoDiscard attribute that enforces return‑value usage, new array_first/array_last helpers, constant‑expression closures, global constant attributes, an exception‑handler getter, IntlListFormatter, CLI diff tools, a build‑date constant, and refined final property syntax—making everyday coding cleaner, safer, and more efficient.

Backend DevelopmentException HandlingPHP
0 likes · 9 min read
What’s New in PHP 8.5? Explore Pipelines, NoDiscard, Array Helpers & More
Open Source Tech Hub
Open Source Tech Hub
Sep 18, 2025 · Backend Development

Boost PHP Code Quality with Psalm: Complete Static Analysis Guide

This guide explains how Psalm, a PHP static analysis tool, improves code quality by detecting type errors, logical bugs, and security issues, and covers its key features, installation steps, configuration options, IDE integration, automated fixes, and reasons to choose it over alternatives.

DockerIDE integrationPHP
0 likes · 7 min read
Boost PHP Code Quality with Psalm: Complete Static Analysis Guide
php Courses
php Courses
Sep 17, 2025 · Backend Development

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

This article explains PHP's basename() function, covering its syntax, parameters, and practical examples that demonstrate how to extract filenames from both absolute and relative paths, including handling of optional suffix removal and OS-specific considerations.

PHPbasenamefile path
0 likes · 3 min read
Master PHP’s basename() Function: Extract Filenames Easily
php Courses
php Courses
Sep 17, 2025 · Backend Development

Master PHP’s unlink(): Delete Files & Directories Safely

Learn how to use PHP’s unlink() function to delete files and empty directories, understand its syntax, handle return values, see practical code examples for file and directory removal, and discover important considerations such as handling non‑empty directories and error checking.

PHPUNLINKdirectory deletion
0 likes · 4 min read
Master PHP’s unlink(): Delete Files & Directories Safely
Open Source Tech Hub
Open Source Tech Hub
Sep 17, 2025 · Backend Development

How to Implement Fast Offline IP Geolocation in PHP with ip2region

This guide explains the ip2region PHP library, compares its lightweight V2 and full‑featured V3 versions, details installation via Composer, shows project structure, core features, new v3.0 enhancements, and provides step‑by‑step code examples for functional and object‑oriented usage.

IP GeolocationPHPip2region
0 likes · 13 min read
How to Implement Fast Offline IP Geolocation in PHP with ip2region
php Courses
php Courses
Sep 16, 2025 · Backend Development

Master 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 to floating‑point numbers, provides syntax details, multiple code examples, and important usage notes for reliable numeric handling.

PHPProgramming TutorialType Conversion
0 likes · 4 min read
Master PHP’s floatval: Convert Any Variable to Float Easily
php Courses
php Courses
Sep 16, 2025 · Operations

Master GitLab CI for Symfony: Step‑by‑Step Pipeline Setup

Learn how to set up a robust GitLab CI pipeline for Symfony projects, covering preparation, .gitlab-ci.yml creation, defining stages such as test, lint, security, build, and deploy, Docker image configuration, job optimization, environment variables, database services, and pipeline execution.

CI/CDDockerGitLab CI
0 likes · 10 min read
Master GitLab CI for Symfony: Step‑by‑Step Pipeline Setup
php Courses
php Courses
Sep 15, 2025 · Backend Development

Master PHP’s zip_read(): Read ZIP Entries Efficiently

This guide explains how to use PHP’s zip_read() function to open a ZIP archive, iterate through its entries, retrieve each entry’s name and size, and properly close the archive, while noting its limitations and related extraction functions.

File ProcessingPHPZIP handling
0 likes · 3 min read
Master PHP’s zip_read(): Read ZIP Entries Efficiently
php Courses
php Courses
Sep 12, 2025 · Backend Development

Master PHP’s str_pad(): Padding, Alignment, Truncation & Formatting Explained

This article provides a comprehensive guide to PHP’s str_pad() function, covering its syntax, parameters, return values, and practical examples such as string padding, alignment, truncation, and numeric formatting, enabling developers to manipulate string lengths efficiently.

Code ExamplesPHPString Manipulation
0 likes · 5 min read
Master PHP’s str_pad(): Padding, Alignment, Truncation & Formatting Explained
php Courses
php Courses
Sep 12, 2025 · Cloud Native

How Immutable Infrastructure Guarantees Zero‑Downtime CI/CD for PHP Apps

By containerizing PHP applications, versioning immutable Docker images, automating builds and tests, and employing blue‑green or canary deployments alongside IaC tools like Terraform, teams can build a reliable, zero‑downtime CI/CD pipeline that boosts consistency, repeatability, security, and rapid rollback capabilities.

CI/CDDevOpsDocker
0 likes · 6 min read
How Immutable Infrastructure Guarantees Zero‑Downtime CI/CD for PHP Apps
php Courses
php Courses
Sep 12, 2025 · Backend Development

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

This article explains PHP’s is_callable() function, showing how it determines whether a given variable, function, method, constructor, or static method can be called, with clear code examples and output demonstrating true for existing functions and false for non‑existent methods.

Code ExampleFunctionPHP
0 likes · 3 min read
How to Use PHP’s is_callable() to Safely Check Functions and Methods
php Courses
php Courses
Sep 11, 2025 · Backend Development

Master PHP’s array_flip(): Swap Keys and Values with Real Code Examples

Learn how PHP’s array_flip() function swaps array keys and values, understand its syntax, handle duplicate values, and see practical examples—including reversing fruit arrays and locating students by age—demonstrating how to simplify data lookups and improve code efficiency.

Data ManipulationPHParray_flip
0 likes · 5 min read
Master PHP’s array_flip(): Swap Keys and Values with Real Code Examples
php Courses
php Courses
Sep 11, 2025 · Backend Development

Master PHP’s extract() Function: Convert Arrays to Variables Safely

This guide walks through PHP’s extract() function, showing its basic syntax, the role of the $flags and $prefix parameters, common flag options, practical code examples, and essential precautions to safely convert array key‑value pairs into variables.

ExtractPHParray
0 likes · 4 min read
Master PHP’s extract() Function: Convert Arrays to Variables Safely
php Courses
php Courses
Sep 11, 2025 · Backend Development

Master PHP’s is_numeric(): How to Validate Numbers Effectively

This article explains how PHP's is_numeric() function checks whether a variable is numeric, provides clear code examples for integers, floats, and numeric strings, demonstrates form input validation, and highlights special cases developers should watch out for.

Code ExamplesPHPis_numeric
0 likes · 4 min read
Master PHP’s is_numeric(): How to Validate Numbers Effectively
21CTO
21CTO
Sep 10, 2025 · Backend Development

2025 PHP Developer Salary Guide: Global Pay Trends & Insights

This comprehensive 2025 mid‑year PHP developer salary guide breaks down average compensation by region, experience level, employment type, industry, and company size, offering actionable data and negotiation tips for developers, recruiters, and hiring managers worldwide.

2025AnalysisPHP
0 likes · 25 min read
2025 PHP Developer Salary Guide: Global Pay Trends & Insights
Open Source Tech Hub
Open Source Tech Hub
Sep 10, 2025 · Backend Development

Build High‑Performance PHP RPC Services with Workerman‑JsonRpc

This guide introduces Workerman‑JsonRpc, a lightweight PHP RPC framework built on Workerman, detailing its key features, environment requirements, installation steps, synchronous and asynchronous client usage, server implementation, and built‑in monitoring capabilities for creating scalable network applications.

BackendJSON-RPCPHP
0 likes · 7 min read
Build High‑Performance PHP RPC Services with Workerman‑JsonRpc
php Courses
php Courses
Sep 8, 2025 · Backend Development

Mastering PHP’s feof(): Detect End‑of‑File Efficiently

This guide explains PHP’s feof() function, its syntax, parameters, step‑by‑step usage, example code, important considerations, and alternative methods for detecting when a file pointer reaches the end, helping developers handle file operations safely and efficiently.

BackendPHPfeof
0 likes · 4 min read
Mastering PHP’s feof(): Detect End‑of‑File Efficiently
php Courses
php Courses
Sep 8, 2025 · Backend Development

Master PHP’s rewinddir(): Reset Directory Handles Efficiently

This article explains the PHP rewinddir() function, covering its syntax, a practical example of resetting a directory handle to reread files, and important usage notes such as its limitation to opened directory handles and its lack of return value.

BackendPHPdirectory handling
0 likes · 3 min read
Master PHP’s rewinddir(): Reset Directory Handles Efficiently
Open Source Tech Hub
Open Source Tech Hub
Sep 8, 2025 · Backend Development

Why Rust-Powered Mago Is Redefining PHP Tooling Speed and Efficiency

Mago, a Rust‑rewritten PHP toolchain offering formatter, linter, and static analysis, promises dramatically faster performance than traditional PHP tools, provides zero‑dependency installation via Composer, and includes detailed benchmark results, feature evaluations, and a balanced look at its advantages and current limitations.

PHPRustToolchain
0 likes · 7 min read
Why Rust-Powered Mago Is Redefining PHP Tooling Speed and Efficiency
Open Source Tech Hub
Open Source Tech Hub
Sep 6, 2025 · Backend Development

Master ThinkTemplate: High‑Performance XML‑Based PHP Template Engine

ThinkTemplate is a high‑performance, XML‑based compiled PHP template engine originally built for ThinkPHP, offering customizable delimiters, native PHP support, file inclusion, multi‑level nesting, caching, variable defaults, security controls, and flexible tag types, with detailed installation and usage examples for web frameworks.

Backend DevelopmentPHPTemplate Engine
0 likes · 7 min read
Master ThinkTemplate: High‑Performance XML‑Based PHP Template Engine
Open Source Tech Hub
Open Source Tech Hub
Sep 5, 2025 · Backend Development

Why the New Official PHP MCP SDK Is a Game‑Changer for AI‑Powered Development

On September 5, 2025 the PHP Foundation announced the launch of an official PHP Model Context Protocol (MCP) SDK, detailing its purpose to standardize AI integration, its collaboration with existing community projects, key features like framework support and cross‑platform compatibility, and the early development milestones achieved.

AI IntegrationBackend DevelopmentMCP
0 likes · 6 min read
Why the New Official PHP MCP SDK Is a Game‑Changer for AI‑Powered Development
php Courses
php Courses
Sep 5, 2025 · Backend Development

What’s New in Laravel 12? Explore the Performance Boosts and AI Integration

Laravel 12 introduces extensive type‑system enhancements, significant performance optimizations, modern front‑end tooling, real‑time communication upgrades, and AI‑driven development features, offering developers a faster, more productive, and future‑ready web application framework.

LaravelPHPweb development
0 likes · 9 min read
What’s New in Laravel 12? Explore the Performance Boosts and AI Integration
php Courses
php Courses
Sep 4, 2025 · Backend Development

Avoid Common Dependency Injection Pitfalls in PHP and Master Best Practices

This article explains why many PHP developers misuse Dependency Injection, outlines typical misconceptions such as equating DI with container usage, over‑reliance on constructors, and ignoring abstractions, and then provides concrete, testable solutions and best‑practice guidelines.

Dependency InjectionPHPdesign patterns
0 likes · 6 min read
Avoid Common Dependency Injection Pitfalls in PHP and Master Best Practices
php Courses
php Courses
Sep 4, 2025 · Backend Development

Master PHP’s get_headers(): Retrieve HTTP Headers with Code Examples

Learn how to use PHP’s get_headers() function to fetch HTTP response headers, understand its parameters and formats, see practical code snippets, and explore common scenarios such as checking remote files, obtaining file metadata, and building web crawlers.

HTTPHeadersPHP
0 likes · 4 min read
Master PHP’s get_headers(): Retrieve HTTP Headers with Code Examples
php Courses
php Courses
Sep 4, 2025 · Backend Development

Master PHP’s fwrite(): Write Files Efficiently with Code Examples

Learn how to use PHP’s fwrite() function to write strings, arrays, and other data to files, with clear syntax explanations, parameter details, and practical code examples demonstrating file opening, writing, and closing, plus tips for handling write modes and data types.

Backend DevelopmentCode ExamplePHP
0 likes · 4 min read
Master PHP’s fwrite(): Write Files Efficiently with Code Examples
Open Source Tech Hub
Open Source Tech Hub
Sep 4, 2025 · Backend Development

Master Image Manipulation in PHP with Intervention Image: A Complete Guide

This article introduces the open‑source PHP library Intervention Image, explains its core features, shows how to install and configure it, and provides step‑by‑step code examples for resizing, watermarking, canvas creation, caching, advanced drivers, and best‑practice considerations for secure and efficient image processing in web applications.

BackendIntervention ImagePHP
0 likes · 9 min read
Master Image Manipulation in PHP with Intervention Image: A Complete Guide
Open Source Tech Hub
Open Source Tech Hub
Sep 3, 2025 · Backend Development

Master Supervisor to Supercharge PHP Background Tasks on Ubuntu

This guide explains how to install Supervisor on Ubuntu, configure it for Laravel queue workers, and apply practical tips such as multi‑process management, timeout control, log monitoring, and Docker integration to improve PHP backend task efficiency and stability.

Background JobsLaravelPHP
0 likes · 4 min read
Master Supervisor to Supercharge PHP Background Tasks on Ubuntu
php Courses
php Courses
Sep 3, 2025 · Backend Development

Mastering curl_setopt in PHP: Configure HTTP Requests Efficiently

This guide explains the purpose, syntax, parameters, return value, and a complete example of PHP's curl_setopt() function, showing how to set URLs, request methods, timeouts, and handle responses when making HTTP requests with cURL.

BackendHTTP requestPHP
0 likes · 4 min read
Mastering curl_setopt in PHP: Configure HTTP Requests Efficiently
php Courses
php Courses
Sep 3, 2025 · Backend Development

How to Fix WordPress White Screen of Death by Raising PHP Memory Limit

This guide explains why insufficient PHP memory triggers the WordPress White Screen of Death and provides three step‑by‑step methods—editing wp‑config.php, php.ini, or .user.ini—to increase the memory limit and restore site functionality.

PHPServer configurationWSOD
0 likes · 7 min read
How to Fix WordPress White Screen of Death by Raising PHP Memory Limit
php Courses
php Courses
Sep 2, 2025 · Backend Development

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

Learn how PHP’s fseek() function lets you position the file pointer anywhere in a file, understand its syntax, parameters like offset and whence, and see a complete example that demonstrates opening, seeking, reading, writing, and closing a file.

Backend DevelopmentPHPfile-pointer
0 likes · 4 min read
Mastering PHP’s fseek(): How to Move File Pointers Efficiently
php Courses
php Courses
Sep 1, 2025 · Backend Development

How to Migrate Complex PHP Data Safely While Minimizing Downtime

This guide outlines essential strategies for PHP developers to execute complex data migrations—covering thorough planning, incremental migration, transaction safety, dual‑write architectures, feature‑flag rollouts, real‑time syncing, and comprehensive monitoring—to ensure data integrity and keep system downtime to a minimum.

Backend DevelopmentPHPTransaction
0 likes · 7 min read
How to Migrate Complex PHP Data Safely While Minimizing Downtime
php Courses
php Courses
Aug 29, 2025 · Backend Development

Mastering curl_multi_close(): Properly Release Multi‑cURL Resources in PHP

This article explains how the PHP curl_multi_close() function releases resources allocated by curl_multi_init(), demonstrates its proper usage with a complete code example, and highlights why closing multi‑cURL handles is essential for efficient network request handling.

Network RequestsPHPcurl
0 likes · 3 min read
Mastering curl_multi_close(): Properly Release Multi‑cURL Resources in PHP
php Courses
php Courses
Aug 29, 2025 · Operations

How to Build a Real‑Time PHP Log Event Pipeline for Instant Insights

Learn how to transform PHP logs into real‑time, structured events by implementing a log event pipeline that includes JSON logging, lightweight collectors like Filebeat, streaming platforms such as Kafka or Flink, enrichment, and visualization with Grafana, enabling instant monitoring, alerting, and data‑driven decisions.

FlinkGrafanaKafka
0 likes · 7 min read
How to Build a Real‑Time PHP Log Event Pipeline for Instant Insights
php Courses
php Courses
Aug 28, 2025 · Backend Development

Master PHP’s array_fill(): Quick Guide to Fill Arrays Efficiently

This article explains PHP’s array_fill() function, detailing its syntax, parameters, return values, and practical examples—including numeric and associative key usage—while highlighting important considerations such as non‑negative indices, scalar values, memory usage, and edge cases.

BackendPHPTutorial
0 likes · 4 min read
Master PHP’s array_fill(): Quick Guide to Fill Arrays Efficiently
php Courses
php Courses
Aug 28, 2025 · Backend Development

Master PHP’s file_get_contents: Read Files & URLs with Ease

This article explains how PHP’s file_get_contents function reads local files or remote URLs, details its syntax and parameters, provides code examples for both scenarios, highlights common pitfalls, and offers guidance for effective file handling in backend development.

PHPfile handlingfile_get_contents
0 likes · 4 min read
Master PHP’s file_get_contents: Read Files & URLs with Ease
php Courses
php Courses
Aug 28, 2025 · Backend Development

Master PHP’s filetype() Function: Quickly Identify File Types

Learn how to use PHP’s built-in filetype() function to determine a file’s type, understand its parameters and return values, and see practical code examples for retrieving a single file’s type and iterating through a directory to list all file types.

Code ExamplesPHPfile handling
0 likes · 3 min read
Master PHP’s filetype() Function: Quickly Identify File Types
php Courses
php Courses
Aug 28, 2025 · Backend Development

Why PHP Is Making a Comeback in Modern Web Development

The article explores PHP's evolution into a modern, full‑stack backend solution, highlighting its performance gains, server‑side rendering benefits, and how new tools let developers build dynamic front‑ends without heavy JavaScript reliance, while also acknowledging JavaScript's continued strengths.

PHPPerformanceServer-Side Rendering
0 likes · 5 min read
Why PHP Is Making a Comeback in Modern Web Development
Open Source Tech Hub
Open Source Tech Hub
Aug 28, 2025 · Backend Development

Integrate MinIO with Webman Using tinywan/storage: Step‑by‑Step Guide

This tutorial explains how to combine the high‑performance PHP microservice framework Webman with the S3‑compatible MinIO object storage using the tinywan/storage extension, covering environment setup, configuration, service class creation, controller implementation, routing, and testing to build a fast, reliable file‑management microservice.

File UploadMinIOPHP
0 likes · 9 min read
Integrate MinIO with Webman Using tinywan/storage: Step‑by‑Step Guide
php Courses
php Courses
Aug 27, 2025 · Backend Development

Master PHP’s microtime(): Precise Timing, Float vs String, and Real‑World Uses

This article explains PHP's microtime() function, covering its basic concept, syntax with optional boolean parameter, practical code examples for retrieving timestamps as strings or floats, and common applications such as measuring execution time and generating unique identifiers.

PHPPerformance Measurementmicrotime
0 likes · 4 min read
Master PHP’s microtime(): Precise Timing, Float vs String, and Real‑World Uses
php Courses
php Courses
Aug 27, 2025 · Backend Development

Master PHP’s array_replace_recursive: Recursive Array Merging Explained

This article explains PHP’s array_replace_recursive function, detailing its syntax, recursive merging behavior, key‑overriding rules, and differences from array_merge_recursive, accompanied by clear code examples and output to help developers efficiently combine multidimensional arrays.

PHParray mergefunctions
0 likes · 4 min read
Master PHP’s array_replace_recursive: Recursive Array Merging Explained
php Courses
php Courses
Aug 27, 2025 · Backend Development

Master PHP’s is_file(): Check File Existence and Type with Simple Code

This article explains PHP’s is_file() function, detailing its syntax, parameters, return values, and practical examples for checking whether a path points to an existing regular file, while also noting its limitation compared to is_dir() for directory checks.

Backend DevelopmentPHPfile handling
0 likes · 4 min read
Master PHP’s is_file(): Check File Existence and Type with Simple Code
php Courses
php Courses
Aug 26, 2025 · Backend Development

Master PHP’s time() Function: Get Unix Timestamps & Build Date Logic

Learn how PHP’s built-in time() function returns the current Unix timestamp, how to use it without parameters, and see practical code examples for displaying timestamps, comparing dates with strtotime(), and formatting dates with date() and timezone settings.

PHPdate handlingtime
0 likes · 4 min read
Master PHP’s time() Function: Get Unix Timestamps & Build Date Logic
php Courses
php Courses
Aug 26, 2025 · Backend Development

Mastering PHP’s array_udiff(): Compare Arrays with Custom Callbacks

This guide explains how PHP’s array_udiff() function compares two or more arrays using a user‑defined callback, details its syntax and parameters, highlights performance considerations, and provides a practical example for detecting differences in data sets.

PHParray comparisonarray_udiff
0 likes · 3 min read
Mastering PHP’s array_udiff(): Compare Arrays with Custom Callbacks
php Courses
php Courses
Aug 25, 2025 · Backend Development

Master URL Encoding in PHP: How to Use urlencode and rawurlencode

This article explains why URL encoding is essential for transmitting data with special or non‑ASCII characters, demonstrates how to use PHP’s urlencode (and rawurlencode) functions with example code for both English and Chinese strings, and highlights practical considerations such as space handling.

PHPURL encodingrawurlencode
0 likes · 4 min read
Master URL Encoding in PHP: How to Use urlencode and rawurlencode
php Courses
php Courses
Aug 25, 2025 · Backend Development

Mastering PHP’s closedir(): Properly Close Directory Handles

This article explains the PHP closedir() function, covering its basic concept, correct usage, common pitfalls, and practical scenarios to help developers efficiently manage directory handles and avoid errors in file operations.

PHPclosedirdirectory
0 likes · 3 min read
Mastering PHP’s closedir(): Properly Close Directory Handles
Open Source Tech Hub
Open Source Tech Hub
Aug 25, 2025 · Backend Development

Why Guzzle Is the Go-To PHP HTTP Client for Modern Backend Development

Guzzle is a powerful, extensible PHP HTTP client that simplifies sending synchronous or asynchronous requests, supports PSR‑7 and PSR‑18 standards, offers a middleware system, and integrates easily via Composer, making it ideal for API integration, file transfer, microservice communication, web crawling, and testing.

APIBackendComposer
0 likes · 7 min read
Why Guzzle Is the Go-To PHP HTTP Client for Modern Backend Development
Open Source Tech Hub
Open Source Tech Hub
Aug 24, 2025 · Information Security

Mastering PHP-Casbin: A Lightweight, Cross‑Framework Permission Solution

PHP‑Casbin is an open‑source, lightweight permission framework for PHP that separates policy from model, supports multiple access‑control models (ACL, RBAC, ABAC, etc.), integrates with popular frameworks via Composer, offers dynamic policy management, caching, and multi‑tenant capabilities, solving common permission pitfalls in SaaS, e‑commerce, and government systems.

ABACCasbinPHP
0 likes · 12 min read
Mastering PHP-Casbin: A Lightweight, Cross‑Framework Permission Solution
Open Source Tech Hub
Open Source Tech Hub
Aug 23, 2025 · Backend Development

Master Multiple PHP Versions on macOS/Linux with Homebrew Tap

This guide explains how to use the shivammathur/homebrew-php tap to install, switch, and manage a wide range of PHP versions—including NTS, ZTS, debug, and nightly builds—across macOS and Linux, with step‑by‑step commands and troubleshooting tips.

CLIHomebrewLinux
0 likes · 8 min read
Master Multiple PHP Versions on macOS/Linux with Homebrew Tap
php Courses
php Courses
Aug 22, 2025 · Backend Development

Master PHP’s chdir(): Change Working Directories with Ease

This article explains how PHP's chdir() function changes the current working directory, shows its syntax and parameters, provides a complete code example with output, and highlights important usage notes for reliable file operations.

PHPbackend-developmentchdir
0 likes · 3 min read
Master PHP’s chdir(): Change Working Directories with Ease
php Courses
php Courses
Aug 22, 2025 · Frontend Development

7 Upcoming JavaScript Features That Will Feel Familiar to PHP Developers

JavaScript is introducing seven new language features—pipe operator, property shorthand, nullish coalescing, optional chaining, tuples, pattern matching, and enums—that echo familiar PHP constructs, making data handling, default values, and conditional logic more intuitive for developers transitioning between the two languages.

JavaScriptPHPlanguage features
0 likes · 6 min read
7 Upcoming JavaScript Features That Will Feel Familiar to PHP Developers
php Courses
php Courses
Aug 22, 2025 · Backend Development

How to Use PHP’s is_object() to Distinguish Objects from Other Types

This article explains PHP’s is_object() function, detailing its syntax, parameters, and return values, and demonstrates through code examples how to check whether variables such as objects and arrays are objects, helping developers avoid type errors at runtime.

Object DetectionPHPis_object
0 likes · 3 min read
How to Use PHP’s is_object() to Distinguish Objects from Other Types
Open Source Tech Hub
Open Source Tech Hub
Aug 22, 2025 · Artificial Intelligence

Automate User Feedback Classification with a Large‑Model API in PHP

This guide shows how to use the Tongyi Qianwen large‑model API with PHP to automatically classify user feedback into predefined categories, eliminating manual analysis and complex NLP development while providing clear steps, code, and result interpretation for rapid business insights.

APIPHPautomation
0 likes · 7 min read
Automate User Feedback Classification with a Large‑Model API in PHP
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.

Backend DevelopmentModular ProgrammingPHP
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 SystemsLogin Security
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.

Memory OptimizationPHPcsv-processing
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.

Backend DevelopmentFile I/OPHP
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.

Backend DevelopmentCode TutorialPHP
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.

PHPString ManipulationTRIM
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.

DATETIMEPHPdate-formatting
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.

PHPcareer trendsecosystem
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