Tagged articles
3002 articles
Page 15 of 31
21CTO
21CTO
Mar 18, 2024 · Backend Development

Why PHP Still Dominates Server‑Side Development in 2024

Despite criticism and a slight market dip, PHP remains the world’s most widely used server‑side language, powered by continuous updates, a massive open‑source community, major corporate adoption, and expanding roles in modern web, IoT, and AI applications.

PHPopen-sourceserver-side
0 likes · 6 min read
Why PHP Still Dominates Server‑Side Development in 2024
php Courses
php Courses
Mar 18, 2024 · Backend Development

Getting the Current UNIX Timestamp in PHP and Common Use Cases

This article explains how to obtain the current UNIX timestamp in PHP using the built‑in time() function, demonstrates code examples for displaying the timestamp, calculating yesterday’s date, and sorting an array of timestamps, and discusses common scenarios where timestamps are useful.

PHPdate calculationtime function
0 likes · 4 min read
Getting the Current UNIX Timestamp in PHP and Common Use Cases
php Courses
php Courses
Mar 18, 2024 · Backend Development

Using PHP implode() to Join Array Elements into a String

This article explains how the PHP implode function concatenates array elements into a single string, demonstrates its default behavior and custom separator usage with clear code examples, and shows the resulting output for both comma‑separated and hyphen‑separated strings.

ArrayPHPString
0 likes · 3 min read
Using PHP implode() to Join Array Elements into a String
php Courses
php Courses
Mar 15, 2024 · Backend Development

Using curl_error() to Retrieve cURL Error Messages in PHP

This article explains how to use PHP's curl_error() function to retrieve and handle error messages from cURL HTTP requests, including a step‑by‑step example that creates a cURL handle, sets a URL, executes the request, checks for errors, and closes the handle.

Error HandlingHTTP requestPHP
0 likes · 4 min read
Using curl_error() to Retrieve cURL Error Messages in PHP
php Courses
php Courses
Mar 14, 2024 · Backend Development

Using PHP chdir() to Change the Current Working Directory

This article explains the PHP chdir() function, its syntax, parameters, return values, and provides a complete example showing how to switch the script’s working directory, handle success or failure, and highlights important considerations for file‑system operations.

File OperationsPHPchdir
0 likes · 4 min read
Using PHP chdir() to Change the Current Working Directory
php Courses
php Courses
Mar 14, 2024 · Backend Development

Using PHP is_callable() to Check Callable Functions and Methods

This article explains how the PHP is_callable() function can be used to determine whether a given variable, such as a function name or method name, is callable, demonstrates its usage with a complete example, and discusses its broader applications for writing more robust backend code.

PHPcallable checkfunction existence
0 likes · 3 min read
Using PHP is_callable() to Check Callable Functions and Methods
Open Source Tech Hub
Open Source Tech Hub
Mar 13, 2024 · Artificial Intelligence

How to Use Google Gemini AI in PHP to Solve Image CAPTCHAs

This guide shows how to set up a PHP project, install the Gemini PHP client, and use Google Gemini's multimodal model to recognize text and solve image CAPTCHAs, providing complete code examples, dependency instructions, and sample outputs.

Artificial IntelligenceCaptchaGemini AI
0 likes · 6 min read
How to Use Google Gemini AI in PHP to Solve Image CAPTCHAs
php Courses
php Courses
Mar 13, 2024 · Backend Development

Using PHP date() Function to Format Dates and Times

This article explains PHP's date() function, detailing its syntax, parameters, common format codes, and provides example code snippets demonstrating how to retrieve and format the current date, time, year, month, and more for flexible date-time handling in backend development.

PHPdate functiondatetime formatting
0 likes · 4 min read
Using PHP date() Function to Format Dates and Times
Open Source Tech Hub
Open Source Tech Hub
Mar 12, 2024 · Artificial Intelligence

Step-by-Step Guide to Install ModelScope and Perform NLP Inference in Python & PHP

This guide walks you through setting up a Conda Python environment, installing PyTorch and the ModelScope library, running NLP pipelines for tasks like word segmentation and text classification, and calling ModelScope models from PHP using the PHPY extension, complete with code examples and troubleshooting tips.

AI inferenceModelScopeNLP
0 likes · 14 min read
Step-by-Step Guide to Install ModelScope and Perform NLP Inference in Python & PHP
php Courses
php Courses
Mar 12, 2024 · Fundamentals

Fast Multiplication of Large Integers Using PHP GMP Library

This article explains how to perform fast multiplication of large integers in PHP by leveraging the GNU Multiple Precision (GMP) library, introduces the underlying fast multiplication algorithm that reduces complexity from O(n²) to O(n log n), and provides a complete PHP code example implementing the method.

PHPalgorithmbig integer
0 likes · 5 min read
Fast Multiplication of Large Integers Using PHP GMP Library
php Courses
php Courses
Mar 12, 2024 · Backend Development

Exploring New Features in Laravel 11: Simplified Setup, Model Casting, Configuration, Debugging, Routing, and More

Laravel 11, released on March 12, 2024, introduces streamlined setup, enhanced model casting, unified .env configuration, a Dumpable debugging trait, refactored routing, and the removal of the HTTP kernel, all aimed at improving developer productivity and building robust, scalable web applications.

BackendFrameworkLaravel
0 likes · 7 min read
Exploring New Features in Laravel 11: Simplified Setup, Model Casting, Configuration, Debugging, Routing, and More
21CTO
21CTO
Mar 11, 2024 · Backend Development

How I Slashed PHP 1B‑Row Processing Time from 25 min to 27 s

In this article the author walks through the 1 billion‑row (1brc) challenge, shows a naïve PHP implementation, profiles its bottlenecks, and incrementally applies optimizations—switching from fgetcsv to fgets, using references, adding type casts, enabling JIT and parallel processing—to reduce runtime from 25 minutes to under 30 seconds.

1B Row ChallengeJITPHP
0 likes · 12 min read
How I Slashed PHP 1B‑Row Processing Time from 25 min to 27 s
php Courses
php Courses
Mar 11, 2024 · Backend Development

Using PHP basename() Function to Extract File Names from Paths

This article explains the PHP basename() function, covering its syntax, parameters, and behavior, and provides three practical code examples demonstrating how to extract file names from absolute and relative paths and how to remove a specified suffix, while noting OS-specific considerations.

File PathPHPbasename
0 likes · 3 min read
Using PHP basename() Function to Extract File Names from Paths
php Courses
php Courses
Mar 11, 2024 · Backend Development

How to Implement Taxi Trajectory Display Using PHP and Baidu Maps API

This tutorial demonstrates how to build a taxi trajectory visualization by creating a MySQL table for track data, writing a PHP script to retrieve the data as JSON, and using Baidu Maps JavaScript API in an HTML page to render the moving paths with interactive features.

Baidu MapsJavaScriptPHP
0 likes · 6 min read
How to Implement Taxi Trajectory Display Using PHP and Baidu Maps API
php Courses
php Courses
Mar 8, 2024 · Backend Development

Implementing Map Zoom Functionality in PHP Using AMap API

This guide walks through the step-by-step process of enabling map zoom in a web application by obtaining an AMap API key, importing the API in PHP, creating a map instance, configuring container, size, initial zoom level, adding controls, and rendering the map with complete example code.

Amap APIBackendMap Zoom
0 likes · 5 min read
Implementing Map Zoom Functionality in PHP Using AMap API
php Courses
php Courses
Mar 8, 2024 · Backend Development

How to Use PHP's urldecode() Function for URL Decoding

This article explains the concept of URL encoding and decoding, introduces PHP's urldecode() function, details its prototype and usage, provides example code for encoding and decoding parameters, highlights limitations with non‑printable characters, and suggests using rawurldecode() when needed.

PHPURL decodingurldecode
0 likes · 3 min read
How to Use PHP's urldecode() Function for URL Decoding
php Courses
php Courses
Mar 7, 2024 · Backend Development

How to Randomly Shuffle an Array in PHP Using the shuffle Function

This article explains the PHP shuffle function, its syntax, how it directly modifies an array to randomize element order, provides example code with output, and discusses important considerations such as preserving the original array and handling associative or multidimensional arrays.

ArrayPHPShuffle
0 likes · 3 min read
How to Randomly Shuffle an Array in PHP Using the shuffle Function
php Courses
php Courses
Mar 7, 2024 · Backend Development

Using PHP is_int() Function to Check Integer Variables

This article explains PHP's is_int() function, its syntax, and how it returns a boolean indicating whether a given variable is of integer type, accompanied by a complete code example demonstrating checks on integer, string, and float variables, and discusses its limitations and the alternative intval function.

PHPinteger validationis_int
0 likes · 3 min read
Using PHP is_int() Function to Check Integer Variables
php Courses
php Courses
Mar 7, 2024 · Backend Development

Understanding and Implementing a PHP Interpreter in C

This course introduces the background and features of PHP, explains the role and operation of the PHP interpreter, and guides learners through building core components such as lexical analysis, parsing, and a virtual machine in C, enabling hands‑on creation of a simple interpreter.

C languagePHPbackend-development
0 likes · 3 min read
Understanding and Implementing a PHP Interpreter in C
php Courses
php Courses
Mar 6, 2024 · Backend Development

Understanding Inheritance in PHP: A Practical OOP Tutorial

This article explains the core concept of inheritance in object‑oriented programming using PHP, illustrating how child classes extend parent classes, inherit properties and methods, avoid code duplication, and can override functionality, with complete code examples for workers and tax calculations.

OOPPHPbackend-development
0 likes · 13 min read
Understanding Inheritance in PHP: A Practical OOP Tutorial
php Courses
php Courses
Mar 5, 2024 · Backend Development

Using PHP's is_executable() Function to Check File Executability

This article explains PHP's is_executable() function, detailing its definition, parameters, return values, and providing a complete code example with explanations, usage notes, and common scenarios such as checking uploaded files, executable status, and permission verification to enhance system security.

File PermissionsPHPis_executable
0 likes · 4 min read
Using PHP's is_executable() Function to Check File Executability
php Courses
php Courses
Mar 5, 2024 · Artificial Intelligence

Anomaly Detection and Outlier Handling in PHP Using Machine Learning

This article explains how to detect and handle outliers in datasets using PHP and machine‑learning techniques, covering Z‑Score and Isolation Forest algorithms as well as methods to delete or replace anomalous values to improve data quality and model accuracy.

Isolation ForestPHPanomaly detection
0 likes · 5 min read
Anomaly Detection and Outlier Handling in PHP Using Machine Learning
php Courses
php Courses
Mar 5, 2024 · Backend Development

An Overview of Laravel: Features, Advantages, and Essential Tools

This article provides a comprehensive overview of Laravel, a PHP backend framework, detailing its core concepts, major advantages such as authentication, mail integration, caching, security, error handling, and introducing top developer tools like Valet, Tinker, Socialite, Forge, Mix, Nova, Homestead, Horizon, and Eloquent ORM.

LaravelPHPTooling
0 likes · 7 min read
An Overview of Laravel: Features, Advantages, and Essential Tools
php Courses
php Courses
Mar 5, 2024 · Backend Development

Using PHP's tmpfile() Function to Create and Manage Temporary Files

PHP's tmpfile() function creates a unique temporary file that is automatically deleted when closed or the script ends, and this article explains its syntax, usage examples, associated file operations like fwrite, fseek, fread, and best practices for handling temporary files.

PHPtemporary filestmpfile
0 likes · 4 min read
Using PHP's tmpfile() Function to Create and Manage Temporary Files
21CTO
21CTO
Mar 5, 2024 · Backend Development

Top 5 PHP Frameworks to Master in 2024: A Developer’s Guide

This article explores the most popular PHP frameworks for 2024, explaining what a PHP framework is, when to use one, its key advantages, and provides detailed overviews of Laravel, Symfony, CakePHP, CodeIgniter, and FuelPHP, helping developers choose the best fit for their projects.

PHPSymfonyWeb Development
0 likes · 12 min read
Top 5 PHP Frameworks to Master in 2024: A Developer’s Guide
php Courses
php Courses
Mar 4, 2024 · Backend Development

Using curl_multi_setopt() in PHP to Set Multiple cURL Options

This article explains the PHP curl_multi_setopt() function, its syntax, parameters, common options, and provides a complete example showing how to configure multiple cURL settings for efficient concurrent HTTP requests.

PHPcURLconcurrency
0 likes · 4 min read
Using curl_multi_setopt() in PHP to Set Multiple cURL Options
php Courses
php Courses
Mar 1, 2024 · Backend Development

Implementing Logistics Tracking and Delivery Management in PHP for E-commerce

This tutorial explains how to build logistics tracking and delivery management features for an e‑commerce system using PHP, covering database table creation, inserting and updating records, and querying data to display order shipment status and delivery information.

BackendDelivery ManagementLogistics
0 likes · 6 min read
Implementing Logistics Tracking and Delivery Management in PHP for E-commerce
php Courses
php Courses
Mar 1, 2024 · Backend Development

Implementing Logistics Tracking and Delivery Management in PHP for E-commerce

This tutorial explains how to build essential logistics tracking and delivery management features for an e‑commerce system using PHP, covering database schema design, code for inserting, updating, and querying tracking and delivery records, and providing complete example snippets.

BackendDelivery ManagementLogistics
0 likes · 6 min read
Implementing Logistics Tracking and Delivery Management in PHP for E-commerce
Open Source Tech Hub
Open Source Tech Hub
Feb 29, 2024 · Backend Development

Mastering PHP-DI: A Step‑by‑Step Guide to Dependency Injection in Webman

This tutorial explains what a Dependency Injection (DI) container is, shows how to install php-di, demonstrates basic usage including container creation, automatic wiring, constructor and annotation injection, and provides custom injection techniques for the Webman framework with concrete code examples.

PHPWebmanbackend-development
0 likes · 9 min read
Mastering PHP-DI: A Step‑by‑Step Guide to Dependency Injection in Webman
php Courses
php Courses
Feb 29, 2024 · Backend Development

Using PHP rsort Function to Sort Arrays in Descending Order

This article explains the PHP rsort function, detailing its syntax, parameters, and usage for sorting arrays in descending order, provides a complete code example, and outlines additional sorting flags such as SORT_NUMERIC, SORT_STRING, SORT_LOCALE_STRING, SORT_NATURAL, and SORT_FLAG_CASE.

PHParray sortingrsort
0 likes · 3 min read
Using PHP rsort Function to Sort Arrays in Descending Order
php Courses
php Courses
Feb 29, 2024 · Frontend Development

Implementing Vector Layers in AMap Using PHP

This tutorial explains how to integrate AMap's vector layer functionality into a PHP web project by setting up the API, creating a map container, initializing the map, and adding point, line, and polygon layers for rich geographic visualizations.

AmapGISPHP
0 likes · 5 min read
Implementing Vector Layers in AMap Using PHP
php Courses
php Courses
Feb 28, 2024 · Backend Development

Using PHP is_resource() to Check Resource Types

This article explains the PHP is_resource() function, its syntax, return values, and demonstrates its usage through practical examples for checking file handles, database connections, and image resources, helping developers correctly identify resource types and avoid errors.

PHPTutorialis_resource
0 likes · 5 min read
Using PHP is_resource() to Check Resource Types
php Courses
php Courses
Feb 27, 2024 · Backend Development

Using PHP rmdir() to Delete Empty Directories

This article explains the PHP rmdir() function, detailing its syntax, parameters, return values, important usage notes, and provides a complete code example that checks for a directory’s existence before safely removing an empty folder.

PHPdirectory deletionrmdir
0 likes · 3 min read
Using PHP rmdir() to Delete Empty Directories
php Courses
php Courses
Feb 27, 2024 · Backend Development

Implementing a Simple Real-Time Chatroom with PHP and Redis

This article explains how to build a simple real-time chatroom by preparing a PHP and Redis environment, outlining user authentication, chat page design, and using Redis PUB/SUB for message publishing and subscribing, with complete code examples for both server-side and client-side implementation.

PHPReal-time Chatbackend-development
0 likes · 4 min read
Implementing a Simple Real-Time Chatroom with PHP and Redis
php Courses
php Courses
Feb 27, 2024 · Backend Development

Using PHP file_put_contents() to Write Data to Files and URLs

This article explains the PHP file_put_contents() function, its parameters, and how to use it to write strings or other data to local files or remote URLs, providing syntax details and practical code examples for file creation, data writing, and error handling.

Code ExamplePHPURL writing
0 likes · 3 min read
Using PHP file_put_contents() to Write Data to Files and URLs
21CTO
21CTO
Feb 26, 2024 · Artificial Intelligence

How to Integrate Google Gemini AI into Laravel with the Gemini PHP Package

This guide shows how to use the Gemini PHP package in a Laravel application to call Google Gemini AI APIs, including text generation with Gemini Pro and multimodal image analysis with Gemini Pro Vision, complete with code examples and resource links.

Artificial IntelligenceGemini AILaravel
0 likes · 3 min read
How to Integrate Google Gemini AI into Laravel with the Gemini PHP Package
JD Tech
JD Tech
Feb 26, 2024 · Backend Development

Comprehensive Guide to Large File Upload: Principles, Implementation, and Optimizations

This article explains the challenges of uploading large files over 100 MB, compares them with regular uploads, details the core principles and common problems, and presents complete front‑end chunking and back‑end merging implementations with resumable and instant upload techniques, plus mature solution recommendations.

BackendJavaScriptLarge File Upload
0 likes · 14 min read
Comprehensive Guide to Large File Upload: Principles, Implementation, and Optimizations
php Courses
php Courses
Feb 23, 2024 · Backend Development

Using PHP’s is_numeric() Function to Check Numeric Values

This article explains PHP’s is_numeric() function, detailing how it determines whether a variable is numeric, provides multiple code examples—including simple variable checks and form input validation—and discusses special cases such as trailing decimal points, helping beginners reliably validate numeric data in PHP.

PHPdata validationis_numeric
0 likes · 4 min read
Using PHP’s is_numeric() Function to Check Numeric Values
php Courses
php Courses
Feb 23, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains PHP's fgetc() function for reading single characters from files or standard input, demonstrates opening files with fopen(), shows example code using while loops and switch statements, and provides practical usage tips for effective file and user input handling.

Code ExamplesPHPcharacter input
0 likes · 5 min read
Using PHP fgetc() to Read Characters from Files and User Input
php Courses
php Courses
Feb 22, 2024 · Backend Development

Using curl_multi_getcontent() to Retrieve Content from Multiple cURL Sessions in PHP

curl_multi_getcontent() is a PHP cURL function that retrieves the response content of individual handles within a multi‑handle session, and this guide explains its purpose, usage steps, and provides a complete example demonstrating initialization, execution, content extraction, and cleanup of multiple concurrent requests.

BackendPHPcURL
0 likes · 4 min read
Using curl_multi_getcontent() to Retrieve Content from Multiple cURL Sessions in PHP
php Courses
php Courses
Feb 22, 2024 · Backend Development

Using PHP's array_values() Function to Reindex Arrays

This article explains PHP's array_values() function, showing how it returns a new array with sequential numeric keys for both indexed and associative arrays, includes practical code examples, demonstrates that the returned array is a copy, and discusses typical use cases.

ArraysPHParray_values
0 likes · 4 min read
Using PHP's array_values() Function to Reindex Arrays
php Courses
php Courses
Feb 22, 2024 · Backend Development

Understanding Class Type Declarations in PHP

This article explains PHP class type declarations, using a fruit‑shopping analogy and step‑by‑step code examples that show how to define Car and CarShop classes, enforce type safety with type hints, and avoid runtime errors caused by passing incorrect object types.

PHPType Safetyclass type declarations
0 likes · 9 min read
Understanding Class Type Declarations in PHP
php Courses
php Courses
Feb 22, 2024 · Artificial Intelligence

Building Reinforcement Learning Algorithms with PHP

This article introduces reinforcement learning, explains its core concepts, and demonstrates how to implement a simple reinforcement learning algorithm in PHP using neural‑network libraries such as Keras, providing a complete code example that includes environment and agent classes.

Artificial IntelligenceCode ExamplePHP
0 likes · 4 min read
Building Reinforcement Learning Algorithms with PHP
php Courses
php Courses
Feb 21, 2024 · Backend Development

Deep Dive into Laravel Accessors and Mutators

This article provides an in‑depth exploration of Laravel’s Eloquent Accessors and Mutators, explaining their purpose, demonstrating advanced usage with price conversion, encryption, hashing, and offering practical blog‑model examples such as title casing, excerpt generation, date formatting, slug creation, and email normalization to ensure data integrity.

AccessorsEloquentLaravel
0 likes · 6 min read
Deep Dive into Laravel Accessors and Mutators
php Courses
php Courses
Feb 21, 2024 · Backend Development

Why Learn PHP Object-Oriented Programming and What You Can Build

This article explains why learning object‑oriented programming in PHP is essential, outlines the benefits and capabilities it unlocks—such as building database, authentication, pagination, and search classes—and provides a detailed curriculum covering core OOP concepts, advanced features, and a student management system project.

PHPWeb Developmentbackend-development
0 likes · 4 min read
Why Learn PHP Object-Oriented Programming and What You Can Build
php Courses
php Courses
Feb 21, 2024 · Backend Development

Using PHP’s is_null Function to Check for Null Variables

This article explains how the PHP built‑in function is_null can be used to determine whether a variable holds a null value, demonstrates its behavior with example code, and describes the resulting true or false outcomes for different variable types.

IS NULLPHPVariables
0 likes · 4 min read
Using PHP’s is_null Function to Check for Null Variables
php Courses
php Courses
Feb 21, 2024 · Backend Development

Using PHP's file_get_contents to Read Local and Remote Files

This article explains how to use PHP's file_get_contents function to read the contents of local files or remote URLs, covering basic usage, permission considerations, and error handling with clear code examples.

File ReadingPHPfile_get_contents
0 likes · 4 min read
Using PHP's file_get_contents to Read Local and Remote Files
php Courses
php Courses
Feb 20, 2024 · Backend Development

Using PHP's file() Function to Read Files into an Array

This article explains how to use PHP's built‑in file() function to read a text file into an array, demonstrates handling of newline characters, and shows how optional flags like FILE_IGNORE_NEW_LINES and FILE_SKIP_EMPTY_LINES can control line retention and empty‑line skipping.

ArraysPHPfile function
0 likes · 4 min read
Using PHP's file() Function to Read Files into an Array
php Courses
php Courses
Feb 20, 2024 · Backend Development

Using PHP fread() to Read Files: Syntax, Parameters, and Example

This article explains PHP's fread() function, detailing its syntax, parameters $handle and $length (and optional $offset), return values, and provides a complete example showing how to open a file, read its contents, output them, and close the handle.

PHPTutorialfread
0 likes · 4 min read
Using PHP fread() to Read Files: Syntax, Parameters, and Example
php Courses
php Courses
Feb 20, 2024 · Backend Development

How Laravel Loads Environment Variables During Bootstrap

This article explains Laravel's bootstrapping process for loading environment variables, detailing each step from configuration cache checking to creating a Dotenv instance, parsing the .env file, and handling related exceptions, with code examples illustrating the workflow.

BackendBootstrapEnvironment Variables
0 likes · 9 min read
How Laravel Loads Environment Variables During Bootstrap
Open Source Tech Hub
Open Source Tech Hub
Feb 19, 2024 · Backend Development

How Sqids Generates Short, URL‑Safe IDs and When to Use Them

Sqids is an open‑source library that creates short, unique, URL‑safe identifiers from one or more non‑negative integers, offering use cases like link shortening, event IDs, and custom object IDs while outlining its limitations and practical PHP examples.

PHPURL-safeencoding
0 likes · 5 min read
How Sqids Generates Short, URL‑Safe IDs and When to Use Them
Open Source Tech Hub
Open Source Tech Hub
Feb 19, 2024 · Backend Development

Why Laravel Stands Out: A Deep Dive into Its Elegant Backend Features

This article walks through Laravel's full‑stack design, showcasing Artisan commands, model generation, migrations, Eloquent relationships, routing, testing, and core container mechanics while highlighting practical code examples and the trade‑offs that make Laravel both powerful and occasionally heavyweight.

ArtisanEloquentLaravel
0 likes · 25 min read
Why Laravel Stands Out: A Deep Dive into Its Elegant Backend Features
php Courses
php Courses
Feb 19, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to perform MySQL operations such as SELECT, INSERT, UPDATE, and DELETE, providing a step‑by‑step example that creates a connection, runs a SELECT query, processes results, and handles errors and cleanup.

BackendPHPdatabase
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
php Courses
php Courses
Feb 19, 2024 · Backend Development

Course Overview: Understanding and Implementing a PHP Interpreter in C

This course introduces the background and features of PHP, explains the role and inner workings of the PHP interpreter—including lexical analysis, parsing, and the virtual machine—and guides students to implement a simple interpreter using C, enhancing their programming and problem‑solving skills.

C ProgrammingPHPbackend-development
0 likes · 4 min read
Course Overview: Understanding and Implementing a PHP Interpreter in C
php Courses
php Courses
Feb 19, 2024 · Fundamentals

Understanding Callbacks, Anonymous Functions, and Closures in PHP

This article explains the concepts of callbacks, anonymous functions, and closures in PHP, providing definitions, practical examples, and demonstrating how to implement sorting with callback functions, create inline anonymous functions, and use closures to capture external variables, highlighting their benefits for code reuse and readability.

PHPanonymous functioncallback
0 likes · 7 min read
Understanding Callbacks, Anonymous Functions, and Closures in PHP
php Courses
php Courses
Feb 18, 2024 · Backend Development

Secure User Login and Logout Implementation in PHP

This article explains how to securely implement user login and logout functionality in PHP by using session management, server‑side validation, and CSRF token protection, providing sample code for authentication, session handling, and safe logout procedures.

CSRFPHPSession
0 likes · 6 min read
Secure User Login and Logout Implementation in PHP
php Courses
php Courses
Feb 18, 2024 · Backend Development

Automating PHP Code Formatting with PHP‑CS‑Fixer and VS Code

This guide explains how to use PHP‑CS‑Fixer together with VS Code to automatically format PHP code, enforce consistent coding standards, and improve readability, maintainability, and team collaboration across growing projects.

Code FormattingPHPPHP CS Fixer
0 likes · 6 min read
Automating PHP Code Formatting with PHP‑CS‑Fixer and VS Code
21CTO
21CTO
Feb 13, 2024 · Backend Development

How Laravel 11 Introduces a Built‑in Health Check Route (/up)

Laravel 11 adds a default health‑check endpoint accessible via the /up route, configured in bootstrap/app.php, which dispatches a DiagnosingHealth event and returns an animated "Application up" page to verify application status.

LaravelLaravel 11PHP
0 likes · 2 min read
How Laravel 11 Introduces a Built‑in Health Check Route (/up)
MaGe Linux Operations
MaGe Linux Operations
Feb 13, 2024 · Fundamentals

Understanding Optimistic vs Pessimistic Locks: When and How to Use Them

This article explains the purpose of locks in concurrent environments, compares optimistic (CAS) and pessimistic locking mechanisms, outlines their advantages, disadvantages, suitable scenarios, and provides PHP/PDO code examples demonstrating implementation and performance testing under high concurrency.

Concurrency ControlPHPmysql
0 likes · 11 min read
Understanding Optimistic vs Pessimistic Locks: When and How to Use Them
Open Source Tech Hub
Open Source Tech Hub
Feb 8, 2024 · Backend Development

What Is Workerman and How to Use Its Connection Class in PHP

Workerman is an open‑source, high‑performance PHP application container that provides a low‑level service framework for building TCP/UDP, WebSocket, HTTP, and custom protocol servers, and this guide explains its core concepts, the Worker and Connection classes, and a simple usage example with code.

Async IONetwork programmingPHP
0 likes · 4 min read
What Is Workerman and How to Use Its Connection Class in PHP
php Courses
php Courses
Feb 8, 2024 · Backend Development

Implementing a Membership Level System in a PHP E‑commerce Platform

This article explains how to design and implement a PHP-based membership level system for e‑commerce sites, covering strategy selection, database schema, calculation rules, benefits management, front‑end display, and data‑driven analysis to improve customer loyalty and operational effectiveness.

Database designE‑commercePHP
0 likes · 6 min read
Implementing a Membership Level System in a PHP E‑commerce Platform
php Courses
php Courses
Feb 8, 2024 · Backend Development

Using PHP trim() Function to Remove Whitespace and Specified Characters

This article explains PHP's trim() function, its syntax and parameters, and provides clear code examples showing how to remove surrounding whitespace or custom characters from strings, while also mentioning related ltrim() and rtrim() functions for one‑sided trimming.

.trimPHPString Manipulation
0 likes · 4 min read
Using PHP trim() Function to Remove Whitespace and Specified Characters
Open Source Tech Hub
Open Source Tech Hub
Feb 8, 2024 · Backend Development

What Is Workerman and How to Build a Simple PHP Server with It

Workerman is an open‑source, pure‑PHP high‑performance application container that acts like a PHP‑based Nginx, enabling developers to create TCP/UDP, WebSocket, HTTP services and even custom servers such as Redis or FTP, with multi‑process, epoll and non‑blocking I/O support.

NetworkingPHPWorkerman
0 likes · 3 min read
What Is Workerman and How to Build a Simple PHP Server with It
Open Source Tech Hub
Open Source Tech Hub
Feb 7, 2024 · Backend Development

How to Use SonarLint for Real‑Time PHP Code Quality Checks

This guide explains how to install SonarLint in IDEs like PHPStorm, run on‑the‑fly scans, interpret common PHP code‑smell warnings, and apply concrete fixes for issues such as missing braces, improper loop conditions, unreachable catch blocks, and absent default cases in switch statements.

IDE pluginPHPcode quality
0 likes · 5 min read
How to Use SonarLint for Real‑Time PHP Code Quality Checks
php Courses
php Courses
Feb 7, 2024 · Backend Development

Using PHP usort() Function to Sort Arrays with Custom Comparison Functions

This article explains the PHP usort() function, its syntax, how to write custom comparison callbacks, and provides practical examples for sorting numeric arrays, associative arrays of objects, and handling important considerations such as return values, mutability, and stability.

PHParray sortingcomparison-function
0 likes · 5 min read
Using PHP usort() Function to Sort Arrays with Custom Comparison Functions
php Courses
php Courses
Feb 7, 2024 · Backend Development

Building a Simple File Sharing Application with PHP and JavaScript

This guide walks you through creating a simple, secure file sharing web application using PHP and JavaScript, covering environment setup, user authentication, file upload handling, display of uploaded files, deletion, and UI styling with CSS and dynamic enhancements via JavaScript.

JavaScriptPHPWeb Development
0 likes · 5 min read
Building a Simple File Sharing Application with PHP and JavaScript
php Courses
php Courses
Feb 6, 2024 · Backend Development

Implementing Logistics Tracking in a PHP E‑Commerce Application

To enhance user trust and satisfaction in an e‑commerce platform, this guide outlines a step‑by‑step PHP implementation of logistics tracking, covering collection of shipment data, integration with tracking APIs, parsing responses, storing results, displaying updates to customers, and maintaining real‑time information.

Logistics TrackingPHPapi-integration
0 likes · 5 min read
Implementing Logistics Tracking in a PHP E‑Commerce Application
php Courses
php Courses
Feb 6, 2024 · Backend Development

Method‑Based Model Casting in Laravel 11

Laravel 11 introduces a method‑based model casting system that replaces the traditional $casts property, allowing developers to define type conversions via Attribute methods, which improves code clarity, flexibility, testability, and overall maintainability of Eloquent models.

EloquentLaravelLaravel 11
0 likes · 7 min read
Method‑Based Model Casting in Laravel 11
php Courses
php Courses
Feb 6, 2024 · Backend Development

Why Build a Custom PHP Framework – Course Outline

This article explains the motivations for creating a custom PHP framework—such as meeting specific needs, learning, long‑term maintenance, performance, usability, and security—and provides a detailed course outline covering MVC, routing, error handling, namespaces, design patterns, configuration, and database operations.

BackendDesign PatternsFramework
0 likes · 4 min read
Why Build a Custom PHP Framework – Course Outline
php Courses
php Courses
Feb 6, 2024 · Backend Development

How to Use PHP’s array_multisort() Function to Sort Multiple Arrays

This article explains the PHP array_multisort() function, detailing its syntax, parameter options, and a step‑by‑step example that sorts name, age, and score arrays, followed by the resulting output and a concise summary of its practical usage.

Code ExamplePHPSorting
0 likes · 4 min read
How to Use PHP’s array_multisort() Function to Sort Multiple Arrays
php Courses
php Courses
Feb 5, 2024 · Databases

How to Properly Close MySQL Connection Pools in PHP

This article explains the concept of MySQL connection pools in PHP, demonstrates how to create, use, and correctly close both individual connections and pooled connections using mysqli functions and a custom pool class, and highlights the importance of releasing resources to maintain application performance.

BackendConnection PoolPHP
0 likes · 5 min read
How to Properly Close MySQL Connection Pools in PHP
php Courses
php Courses
Feb 5, 2024 · Backend Development

How to Use PHP's array_fill() Function to Fill Arrays

This article explains the PHP array_fill() function, its signature, parameter meanings, return value, practical code examples for numeric and alphabetic keys, and important usage considerations for efficiently populating arrays without manual loops.

ArrayPHPTutorial
0 likes · 5 min read
How to Use PHP's array_fill() Function to Fill Arrays
Open Source Tech Hub
Open Source Tech Hub
Feb 4, 2024 · Backend Development

How to Build a Secure SQL Query Tool for Private Deployments

This article explains why a SQL query tool is essential for on‑premise systems, describes the challenges of remote access and data safety, and provides a step‑by‑step implementation covering frontend encryption, backend whitelist checks, decryption, and query execution with code examples.

JavaScriptPHPPrivate Deployment
0 likes · 8 min read
How to Build a Secure SQL Query Tool for Private Deployments
php Courses
php Courses
Feb 4, 2024 · Backend Development

Implementing Product Promotion Push Functionality in a PHP E‑commerce Site

This article outlines the step‑by‑step process for implementing a product promotion push feature in a PHP‑based e‑commerce platform, covering target user identification, promotion table design, message templating, script development, database queries, cron scheduling, and result monitoring to boost user engagement and sales.

BackendPHPPush Notification
0 likes · 5 min read
Implementing Product Promotion Push Functionality in a PHP E‑commerce Site
php Courses
php Courses
Feb 4, 2024 · Backend Development

Using PHP glob() Function to Find Files and Directories

This article explains the PHP glob() function, its syntax and optional flags, and provides four practical examples demonstrating how to locate PHP files, multiple file types, files using wildcards, and directories, while highlighting performance considerations.

File SearchPHPglob
0 likes · 5 min read
Using PHP glob() Function to Find Files and Directories
php Courses
php Courses
Feb 4, 2024 · Backend Development

Top PHP Frameworks for Web Development Companies: A Comprehensive Guide

This guide examines why PHP web development companies rely on frameworks, outlines key benefits such as code reuse, rapid development, security, maintainability, scalability, risk reduction, and community support, and reviews ten leading PHP frameworks—including Laravel, Symfony, and CodeIgniter—to help choose the best fit for projects.

BackendCodeIgniterLaravel
0 likes · 9 min read
Top PHP Frameworks for Web Development Companies: A Comprehensive Guide
php Courses
php Courses
Feb 2, 2024 · Backend Development

Comprehensive Laravel Guide: Best Practices, Controllers, Eloquent ORM, Queues, Security, and Performance Optimization

This guide provides a thorough overview of Laravel development, covering MVC fundamentals, proper use of controllers, services, repositories, request validation, traits, Eloquent ORM operations, queue handling for emails, security measures, CSRF protection, performance tuning, and recommended learning resources, all illustrated with practical code examples.

EloquentLaravelPHP
0 likes · 16 min read
Comprehensive Laravel Guide: Best Practices, Controllers, Eloquent ORM, Queues, Security, and Performance Optimization
php Courses
php Courses
Feb 2, 2024 · Backend Development

Optimizing Exception Handling in PHP

This article explains how PHP developers can improve code stability and maintainability by using try‑catch blocks, creating custom exception classes, employing multiple catch clauses, adding finally blocks, and leveraging throw and set_exception_handler for comprehensive exception management.

BackendException HandlingPHP
0 likes · 4 min read
Optimizing Exception Handling in PHP
php Courses
php Courses
Feb 1, 2024 · Backend Development

How to Use PHP's file_get_contents() to Read Files and URLs

This article explains the PHP file_get_contents() function, covering its syntax, parameters, return values, practical examples for reading local files and remote URLs, common pitfalls, and best practices for reliable file handling in backend development.

PHPfile_get_contentsweb programming
0 likes · 4 min read
How to Use PHP's file_get_contents() to Read Files and URLs
php Courses
php Courses
Feb 1, 2024 · Backend Development

Implementing Product Promotion Push Functionality in a PHP E‑commerce Site

This article outlines a step‑by‑step guide for building a PHP‑based product promotion push system for e‑commerce platforms, covering recipient identification, database schema design, message templating, script development, scheduling with crontab, and result monitoring to boost user engagement and sales.

BackendPHPcron
0 likes · 4 min read
Implementing Product Promotion Push Functionality in a PHP E‑commerce Site
php Courses
php Courses
Jan 31, 2024 · Information Security

How to Defend Against CSRF Attacks in PHP

This article explains the principles of CSRF attacks and provides practical PHP techniques to prevent them, including token generation and verification, checking Referer and Origin headers, configuring secure cookie attributes, and ensuring safe login and logout processes.

CSRFCookieOrigin
0 likes · 5 min read
How to Defend Against CSRF Attacks in PHP
php Courses
php Courses
Jan 31, 2024 · Backend Development

Understanding and Implementing Laravel Scopes for Eloquent Models

Laravel Scopes provide a powerful mechanism to define reusable query constraints for Eloquent models, covering global, local, anonymous, and dynamic scopes, with step‑by‑step instructions on creation, application, removal, and best practices, enhancing code reuse, readability, and maintainability in backend development.

BackendEloquentLaravel
0 likes · 13 min read
Understanding and Implementing Laravel Scopes for Eloquent Models
Open Source Tech Hub
Open Source Tech Hub
Jan 31, 2024 · Artificial Intelligence

How to Build Async OpenAI PHP Clients with Workerman & Webman

This guide shows how to install the OpenAI PHP async client and implement streaming and non‑streaming chat, image generation, audio speech, and embedding features using Workerman and Webman, including Azure OpenAI support, with complete code examples.

APIAsyncOpenAI
0 likes · 6 min read
How to Build Async OpenAI PHP Clients with Workerman & Webman
php Courses
php Courses
Jan 30, 2024 · Backend Development

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

PHP 7.3 introduces the array_key_first() function, which returns the first key of an array or null if empty; this article explains its syntax, provides code examples for retrieving the first key and checking for empty arrays, and highlights usage considerations and potential pitfalls.

ArraysBackendPHP
0 likes · 3 min read
Understanding PHP 7.3 array_key_first() Function: Syntax, Usage, and Examples
php Courses
php Courses
Jan 30, 2024 · Information Security

Using PHP to Secure Data Transmission with HTTPS, Symmetric and Asymmetric Encryption

This article explains how to protect data transmission in PHP applications by employing HTTPS (SSL/TLS), implementing symmetric encryption such as AES, and using asymmetric encryption with OpenSSL, while highlighting key management practices to ensure confidentiality, integrity, and resistance to man‑in‑the‑middle attacks.

HTTPSOpenSSLPHP
0 likes · 4 min read
Using PHP to Secure Data Transmission with HTTPS, Symmetric and Asymmetric Encryption
php Courses
php Courses
Jan 30, 2024 · Backend Development

PHP array_fill() Function: Usage, Parameters, Return Values, and Examples

This article explains PHP's array_fill() function, detailing its purpose, parameters, return values, and provides simple and multi‑dimensional examples illustrating how to create and populate arrays with a single value, including edge cases such as negative indices and zero length.

BackendPHPTutorial
0 likes · 5 min read
PHP array_fill() Function: Usage, Parameters, Return Values, and Examples