Tagged articles
3002 articles
Page 26 of 31
php Courses
php Courses
Nov 12, 2020 · Backend Development

Resolving Composer Dependency Issue for ThinkPHP 6.0.5: Installing think-view with the Correct PHP Version

This article explains how to resolve a ThinkPHP 6.0.5 view rendering error by installing the think-view template engine via Composer, addressing the PHP version incompatibility that caused the package installation to fail, and provides step‑by‑step instructions to adjust Composer’s PHP path or reinstall it with PHP 7.1 or higher.

ComposerPHPThinkPHP
0 likes · 2 min read
Resolving Composer Dependency Issue for ThinkPHP 6.0.5: Installing think-view with the Correct PHP Version
Laravel Tech Community
Laravel Tech Community
Nov 11, 2020 · Backend Development

PHP array_merge() Function: Merging One or More Arrays

The article explains PHP's array_merge() function, detailing how it combines one or multiple arrays, the handling of string and numeric keys, parameter descriptions, return values, and provides a complete code example with expected output.

ArrayBackendPHP
0 likes · 2 min read
PHP array_merge() Function: Merging One or More Arrays
php Courses
php Courses
Nov 10, 2020 · Backend Development

PHP Image Drawing Tutorial: Canvas Creation, Shapes, Text, and Captcha Generation

This tutorial explains how to use PHP's GD library to create a canvas, draw basic shapes such as ellipses, lines, rectangles, arcs, and filled arcs, output images in common formats, add text with TrueType fonts, generate captchas, and properly release memory, providing complete example code.

GD libraryGraphicsPHP
0 likes · 12 min read
PHP Image Drawing Tutorial: Canvas Creation, Shapes, Text, and Captcha Generation
php Courses
php Courses
Nov 10, 2020 · Backend Development

Building a Simple Chatroom with WebSocket and Swoole (PHP)

This tutorial demonstrates how to create a lightweight chatroom by combining WebSocket on the front end with Swoole's WebSocket server in PHP, covering project setup, required environment, client‑side HTML/JS, server‑side PHP code, and steps to run and test the application.

BackendChatroomJavaScript
0 likes · 8 min read
Building a Simple Chatroom with WebSocket and Swoole (PHP)
Laravel Tech Community
Laravel Tech Community
Nov 10, 2020 · Backend Development

Using array_map() to Apply a Callback Function to Array Elements

array_map() in PHP applies a user‑defined callback to each element of one or more arrays, returning a new array of the transformed values; the article explains its syntax, parameter requirements, return behavior, and provides multiple code examples demonstrating numeric, string, and mixed‑array usage.

BackendPHParray-manipulation
0 likes · 3 min read
Using array_map() to Apply a Callback Function to Array Elements
php Courses
php Courses
Nov 9, 2020 · Backend Development

Using Underscore Naming for PHP Controllers When Using PascalCase Class Names

This article explains that when PHP controller files are named using PascalCase, they must be accessed with lowercase and underscores in the URL, illustrating the issue with examples and providing the solution of using underscore naming to correctly load template files.

BackendMVCNaming Convention
0 likes · 1 min read
Using Underscore Naming for PHP Controllers When Using PascalCase Class Names
php Courses
php Courses
Nov 9, 2020 · Backend Development

Understanding ThinkPHP Framework Execution Flow: Initialization and Debugging Techniques

This article walks through the ThinkPHP framework's initialization process, explains the underlying design patterns, shows how to trace method calls with debug_backtrace, and discusses configuration loading, container updates, debugging mode, and code redundancy, providing practical code examples for developers.

BackendFrameworkInitialization
0 likes · 14 min read
Understanding ThinkPHP Framework Execution Flow: Initialization and Debugging Techniques
php Courses
php Courses
Nov 6, 2020 · Backend Development

How to Install the Laravel Language Pack for Multilingual Support

This guide explains how to install the caouecs/laravel-lang language pack for various Laravel versions, copy the language files to the resources/lang directory, and configure the application locale to enable Chinese (or other) translations for form prompts and other interface text.

BackendLaravelPHP
0 likes · 2 min read
How to Install the Laravel Language Pack for Multilingual Support
360 Quality & Efficiency
360 Quality & Efficiency
Nov 6, 2020 · Backend Development

Introduction to Swoole and Its Integration with ThinkPHP5

This article introduces Swoole as a high‑performance asynchronous PHP engine, explains its differences from traditional PHP execution, and provides step‑by‑step guidance on integrating Swoole with ThinkPHP5, including a complete code example and key implementation notes.

AsyncPHPSwoole
0 likes · 7 min read
Introduction to Swoole and Its Integration with ThinkPHP5
php Courses
php Courses
Nov 5, 2020 · Backend Development

Advanced Laravel Authentication Customizations and Tips

This article provides a comprehensive guide to customizing Laravel's built‑in authentication system, covering route parameters, controller generation, password confirmation, device logout, redirect logic, user creation via Tinker and factories, login throttling, and additional credential checks, all with practical code examples.

AuthRoutesAuthenticationBackend
0 likes · 12 min read
Advanced Laravel Authentication Customizations and Tips
php Courses
php Courses
Nov 5, 2020 · Backend Development

How to Integrate Tencent Cloud SMS Service in PHP

This guide walks through enabling Tencent Cloud SMS, downloading the PHP SDK, placing required files, importing classes in a controller, creating an application and template in the console, and finally sending a test message after adding the phone number to the whitelist.

BackendPHPSMS
0 likes · 2 min read
How to Integrate Tencent Cloud SMS Service in PHP
php Courses
php Courses
Nov 5, 2020 · Backend Development

Essential Laravel Helper Functions for PHP Developers

This article introduces a collection of practical Laravel helper functions—including Str::limit, head, last, Str::between, blank, Str::contains, Arr::pluck, and collect—explaining their purpose, usage, and providing code examples to help PHP developers write cleaner, more efficient backend code.

BackendLaravelLaravel Arr
0 likes · 6 min read
Essential Laravel Helper Functions for PHP Developers
php Courses
php Courses
Nov 5, 2020 · Backend Development

Installing and Configuring the PHP Redis Extension for a Historical Search Queue

This guide walks through checking your PHP configuration, downloading the appropriate Redis extension, installing it, updating php.ini, verifying the installation, starting the Redis service, and shows the core template and PHP server code needed to implement a historical search queue using Redis.

Extension InstallationPHPQueue
0 likes · 2 min read
Installing and Configuring the PHP Redis Extension for a Historical Search Queue
php Courses
php Courses
Nov 4, 2020 · Backend Development

Implementing and Using ThinkPHP Container for Dependency Management

This article explains how to extend ThinkPHP's Container class with static get, getInstance, make, and magic methods, defines a bind array for aliases, modifies the entry script, and demonstrates retrieving Request instances to illustrate proper dependency injection in a PHP backend framework.

BackendPHPThinkPHP
0 likes · 4 min read
Implementing and Using ThinkPHP Container for Dependency Management
php Courses
php Courses
Nov 4, 2020 · Fundamentals

Various Methods to Compute the Nth Fibonacci Number in PHP

This article introduces the Fibonacci sequence, explains its definition, and presents six PHP implementations—including naive recursion, memoized recursion, bottom‑up iteration, iterative loop, closed‑form formula, and a lookup table—detailing their logic and performance considerations.

FibonacciPHPRecursion
0 likes · 6 min read
Various Methods to Compute the Nth Fibonacci Number in PHP
php Courses
php Courses
Nov 3, 2020 · Backend Development

Laravel-Quick: A Utility Package for Efficient Backend Development

Laravel-Quick is an open‑source Laravel package that provides translated validation messages, standardized HTTP status responses, exception handling, Redis‑based cache helpers, and artisan generators, with installation and usage instructions for backend developers.

BackendCacheException
0 likes · 2 min read
Laravel-Quick: A Utility Package for Efficient Backend Development
php Courses
php Courses
Nov 3, 2020 · Backend Development

How to Enable PHP Short Open Tags on Ubuntu/Apache

This guide explains how to activate PHP short open tags by editing the php.ini file on an Ubuntu server with Apache, shows the syntax differences between full and short tags, and provides the necessary commands to reload Apache after the change.

PHPUbuntuphp-ini
0 likes · 3 min read
How to Enable PHP Short Open Tags on Ubuntu/Apache
php Courses
php Courses
Nov 3, 2020 · Backend Development

How to Update the Laravel Installer to the Latest Version

This guide explains how to upgrade the Laravel installer to the latest version using Composer, covering three methods: composer require, uninstall and reinstall, and editing the global composer.json, with commands and verification steps.

BackendComposerLaravel
0 likes · 5 min read
How to Update the Laravel Installer to the Latest Version
php Courses
php Courses
Nov 3, 2020 · Backend Development

Integrating QQ Login with PHP: Step‑by‑Step Guide

This tutorial explains how to integrate QQ third‑party login into a PHP website by obtaining QQ Connect credentials, downloading and configuring the SDK, adding the necessary OAuth code, creating a login button, and handling the callback to retrieve user information.

BackendOAuthPHP
0 likes · 4 min read
Integrating QQ Login with PHP: Step‑by‑Step Guide
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Hook Behaviors in ThinkPHP: A Practical Guide

This article explains the concept of ThinkPHP Hook behaviors, demonstrates how to define, bind, and trigger custom behavior classes with code examples, and shows how to decouple login logic using event‑like hooks for more maintainable backend development.

BackendDecouplingEvent
0 likes · 6 min read
Using Hook Behaviors in ThinkPHP: A Practical Guide
php Courses
php Courses
Nov 2, 2020 · Backend Development

Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP

This guide demonstrates how to set up a Redis multi-database singleton wrapper in a ThinkPHP project, covering prerequisite installation, configuration of connection parameters, creation of a custom Redis class with static instance management, and example usage of Redis commands across different databases.

BackendCachePHP
0 likes · 3 min read
Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP
php Courses
php Courses
Nov 2, 2020 · Backend Development

Difference Between view() and fetch() Methods in ThinkPHP5 Controllers

The article explains the distinctions between the view() helper and the fetch() method in ThinkPHP5 controllers, showing code examples for both inherited and non‑inherited controllers, discussing how they handle common template configurations, and recommending the preferred usage in projects.

BackendPHPThinkPHP5
0 likes · 2 min read
Difference Between view() and fetch() Methods in ThinkPHP5 Controllers
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Laravel's RedisLock to Prevent Cache Breakdown

This article explains the cache breakdown problem, introduces Laravel 7's built‑in RedisLock class, details its constructor parameters, and provides a complete code example demonstrating how to acquire and release a Redis lock to safely populate and update cached data.

BackendCacheLaravel
0 likes · 3 min read
Using Laravel's RedisLock to Prevent Cache Breakdown
Laravel Tech Community
Laravel Tech Community
Nov 1, 2020 · Backend Development

PHP array_flip: Swapping Array Keys and Values

This article explains how the PHP function array_flip works, its parameter requirements, return values, edge cases such as duplicate values, and provides clear code examples demonstrating how to swap keys and values in an associative array.

BackendPHPTutorial
0 likes · 2 min read
PHP array_flip: Swapping Array Keys and Values
php Courses
php Courses
Oct 30, 2020 · Backend Development

Common Laravel Collection Methods and Their Usage

This tutorial explains Laravel's powerful Collection class, demonstrating how to create collections with the collect helper and use methods such as filter, search, chunk, map, zip, whereNotIn, max, pluck, each, tap, pipe, contains, forget, and avg to manipulate data without additional database queries.

BackendCollectionsEloquent
0 likes · 10 min read
Common Laravel Collection Methods and Their Usage
php Courses
php Courses
Oct 30, 2020 · Big Data

Introduction to Elasticsearch and Its Integration with Laravel

This article explains Elasticsearch's foundation on Lucene, compares its concepts to MySQL, describes inverted indexing, and provides a step‑by‑step guide for installing, configuring, and using the basemkhirat/elasticsearch Laravel plugin with code examples and tips for Chinese analysis.

BackendElasticsearchLaravel
0 likes · 4 min read
Introduction to Elasticsearch and Its Integration with Laravel
php Courses
php Courses
Oct 30, 2020 · Backend Development

Setting Up a Log Viewer in Hyperf with Routing and View Components

This guide explains how to install and configure the Hyperf log‑viewer component, publish its configuration, register a route, add view and template engine support, and adjust view and log settings to enable file log browsing and simple search within a PHP backend application.

BackendHyperfLog Viewer
0 likes · 3 min read
Setting Up a Log Viewer in Hyperf with Routing and View Components
php Courses
php Courses
Oct 30, 2020 · Backend Development

Understanding Composer Autoloading: PSR-0, PSR-4, Class‑Map, and Files

This article explains how Composer, the PHP dependency manager, supports four autoloading mechanisms—PSR‑0, PSR‑4, class‑map, and files—detailing their differences, configuration in composer.json, and practical code examples for loading classes.

AutoloadingBackendComposer
0 likes · 3 min read
Understanding Composer Autoloading: PSR-0, PSR-4, Class‑Map, and Files
php Courses
php Courses
Oct 30, 2020 · Backend Development

Common PHP Code Review Mistakes and How to Fix Them

After extensive code reviews, this article highlights frequent PHP mistakes—such as testing empty arrays before loops, unnecessary nesting, repeated isset calls, misuse of echo with sprintf, and inefficient array key checks—and provides concise refactored examples to improve readability and performance.

Code reviewPHPprogramming
0 likes · 4 min read
Common PHP Code Review Mistakes and How to Fix Them
Laravel Tech Community
Laravel Tech Community
Oct 17, 2020 · Backend Development

Binary‑Safe String Comparison with strcmp() in PHP

This article explains PHP's binary‑safe strcmp() function, detailing its case‑sensitive behavior, parameter meanings, return values, and provides a complete example demonstrating how to compare two strings and handle the result in code.

BackendPHPTutorial
0 likes · 2 min read
Binary‑Safe String Comparison with strcmp() in PHP
Laravel Tech Community
Laravel Tech Community
Oct 15, 2020 · Backend Development

Using PHP wordwrap() to Split Strings into Specified Lengths

This article explains the PHP wordwrap() function, its parameters (string, width, break, cut), return value, and provides two practical examples demonstrating how to break long strings into lines with custom delimiters and optional word cutting.

BackendPHPString Manipulation
0 likes · 2 min read
Using PHP wordwrap() to Split Strings into Specified Lengths
Laravel Tech Community
Laravel Tech Community
Oct 14, 2020 · Backend Development

Using mb_strtoupper() to Convert Strings to Uppercase in PHP

This article explains the PHP mb_strtoupper() function, detailing its syntax, parameters, return value, and demonstrates usage that converts English and Unicode strings to uppercase, highlighting optional encoding handling, including how to set internal encoding and handle multibyte characters correctly.

PHPString Functionsmb_strtoupper
0 likes · 2 min read
Using mb_strtoupper() to Convert Strings to Uppercase in PHP
Laravel Tech Community
Laravel Tech Community
Oct 13, 2020 · Backend Development

Using mb_strtolower() to Convert Strings to Lowercase in PHP

The article explains PHP's mb_strtolower() function, detailing its purpose to convert all alphabetic characters in a string to lowercase, describing its parameters, return value, and providing two illustrative examples—including handling of UTF‑8 encoded text.

PHPStringencoding
0 likes · 2 min read
Using mb_strtolower() to Convert Strings to Lowercase in PHP
Laravel Tech Community
Laravel Tech Community
Oct 10, 2020 · Backend Development

PHP mb_strstr() – Find First Occurrence of a Substring

The article explains PHP’s mb_strstr() function, detailing its syntax, how it finds the first occurrence of a needle in a haystack, the optional before_needle and encoding parameters, and the return values including FALSE when the needle is absent.

BackendPHPSubstring
0 likes · 2 min read
PHP mb_strstr() – Find First Occurrence of a Substring
Laravel Tech Community
Laravel Tech Community
Sep 29, 2020 · Backend Development

PHP mb_substr Function: Multibyte‑Safe Substring Extraction

This article explains the PHP mb_substr() function, detailing its multibyte‑safe substring behavior, parameter list (str, start, length, encoding), return value, and provides a clear example showing how to extract the first two characters from a Chinese string.

BackendPHPString
0 likes · 2 min read
PHP mb_substr Function: Multibyte‑Safe Substring Extraction
21CTO
21CTO
Sep 28, 2020 · Backend Development

Why PHP and .NET Remain the Top Choices for Enterprise Web Development

The article compares PHP and .NET, highlighting their performance, rapid development cycles, strong community support, rich libraries, security features, and cross‑platform capabilities, explaining why they are the preferred backend stacks for businesses building modern web applications.

BackendPHPcross‑platform
0 likes · 9 min read
Why PHP and .NET Remain the Top Choices for Enterprise Web Development
Laravel Tech Community
Laravel Tech Community
Sep 21, 2020 · Backend Development

PHP chgrp Function: Change File Group Ownership

The article explains PHP’s chgrp function, which changes a file’s group ownership, outlines its syntax, required parameters, permission restrictions, return values, and provides a complete PHP example demonstrating how to modify a file’s group and display the result.

BackendFile PermissionsPHP
0 likes · 2 min read
PHP chgrp Function: Change File Group Ownership
Laravel Tech Community
Laravel Tech Community
Sep 17, 2020 · Backend Development

PHP chdir() Function: Change Working Directory

This article explains the PHP chdir() function, its syntax, parameters, return values, and provides a practical example showing how to change the current working directory and verify the change using getcwd().

BackendFilesystemPHP
0 likes · 1 min read
PHP chdir() Function: Change Working Directory
Laravel Tech Community
Laravel Tech Community
Sep 15, 2020 · Backend Development

PHP is_dir() Function: Determine if a Path is a Directory

This article explains the PHP is_dir() function, describing its purpose to check whether a given filename refers to an existing directory, detailing its parameter, return values, and providing example code snippets demonstrating true and false outcomes for various path inputs.

BackendPHPfile system
0 likes · 2 min read
PHP is_dir() Function: Determine if a Path is a Directory
Laravel Tech Community
Laravel Tech Community
Sep 14, 2020 · Backend Development

PHP rmdir() Function: Deleting Directories

The PHP rmdir() function removes an empty directory with proper permissions, returning TRUE on success or FALSE on failure, and the article explains its parameters, return values, and provides cross‑platform code examples for safely deleting directories.

BackendFilesystemPHP
0 likes · 2 min read
PHP rmdir() Function: Deleting Directories
Laravel Tech Community
Laravel Tech Community
Sep 12, 2020 · Backend Development

Common Laravel 7 Installation Errors and Their Solutions

This guide details typical Laravel 7 installation problems—such as missing PHP extensions, version mismatches, 403 errors, cache and permission issues—and provides step‑by‑step Composer commands, code snippets, and troubleshooting solutions to help developers quickly resolve them.

ComposerInstallationLaravel
0 likes · 6 min read
Common Laravel 7 Installation Errors and Their Solutions
Laravel Tech Community
Laravel Tech Community
Sep 9, 2020 · Backend Development

Understanding PHP preg_replace: Syntax, Parameters, and Practical Examples

This article explains PHP's preg_replace function, detailing its signature, parameter meanings, return values, and providing multiple code examples that demonstrate pattern matching, backreferences, array handling, and replacement limits for effective string manipulation in backend development.

PHPString Manipulationbackend-development
0 likes · 6 min read
Understanding PHP preg_replace: Syntax, Parameters, and Practical Examples
Laravel Tech Community
Laravel Tech Community
Sep 6, 2020 · Backend Development

PHP str_split() Function – Convert a String to an Array

The article explains PHP's str_split() function, which converts a string into an array of characters or fixed‑length chunks, details its parameters and return behavior, and provides example code with output, including demonstrating how split_length affects the result.

ArrayBackendPHP
0 likes · 2 min read
PHP str_split() Function – Convert a String to an Array
Laravel Tech Community
Laravel Tech Community
Sep 4, 2020 · Backend Development

Using PHP implode() to Convert an Array into a String

This article explains how the PHP implode() function joins the values of a one‑dimensional array into a single string, describes its parameters and return value, and provides clear code examples demonstrating typical usage and edge cases.

ArrayBackendPHP
0 likes · 2 min read
Using PHP implode() to Convert an Array into a String
Laravel Tech Community
Laravel Tech Community
Sep 1, 2020 · Fundamentals

PHP Design Patterns: Singleton, Factory, Registry, Adapter, and Observer

This article introduces common PHP design patterns—including Singleton, Factory, Registry, Adapter, and Observer—explaining their purpose, structure, typical use cases, and providing complete code examples for each pattern to illustrate how they can be implemented in object‑oriented applications.

AdapterDesign PatternsFactory
0 likes · 7 min read
PHP Design Patterns: Singleton, Factory, Registry, Adapter, and Observer
Laravel Tech Community
Laravel Tech Community
Sep 1, 2020 · Backend Development

Using PHP fputcsv() to Write CSV Files

This article explains how the PHP fputcsv() function formats an array as a CSV line and writes it to a file, detailing its parameters, return value, and providing a complete example with code and the resulting CSV output.

CSVFile I/OPHP
0 likes · 2 min read
Using PHP fputcsv() to Write CSV Files
Laravel Tech Community
Laravel Tech Community
Aug 30, 2020 · Backend Development

PHP ltrim() Function: Removing Leading Characters from Strings

The article explains PHP's ltrim() function, its syntax, parameters, default characters removed, and provides example code demonstrating how to strip whitespace or custom characters from the start of a string, including removing ASCII control characters.

BackendPHPString Manipulation
0 likes · 3 min read
PHP ltrim() Function: Removing Leading Characters from Strings
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Aug 19, 2020 · Cloud Computing

Deploy Discuz! Forum on Huawei Cloud in 6 Simple Steps

This step‑by‑step guide shows how to set up a Discuz! forum on a Huawei Cloud CentOS 7.6 server, covering cloud login, security group configuration, installation of Apache, PHP, MariaDB, downloading and deploying Discuz! source, and final web‑based installation.

ApacheDiscuzHuawei Cloud
0 likes · 6 min read
Deploy Discuz! Forum on Huawei Cloud in 6 Simple Steps
Laravel Tech Community
Laravel Tech Community
Aug 17, 2020 · Backend Development

PHP strpbrk() Function: Find Characters in a String

This article explains the PHP strpbrk() function, which searches a haystack string for any character from a given list, details its parameters and return value, and provides two illustrative code examples demonstrating case‑sensitive matching and character selection.

BackendCode ExamplePHP
0 likes · 2 min read
PHP strpbrk() Function: Find Characters in a String
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Aug 14, 2020 · Backend Development

Introducing Fend: A High‑Performance Open‑Source PHP Framework from TAL Education

The article presents Fend, an open‑source high‑performance PHP framework released by TAL Education's technology team, detailing its design philosophy, feature set, dual FPM/Swoole engine support, performance benchmarks, installation procedures for multiple versions, and its widespread adoption across the company's online services.

FrameworkPHPSwoole
0 likes · 8 min read
Introducing Fend: A High‑Performance Open‑Source PHP Framework from TAL Education
Laravel Tech Community
Laravel Tech Community
Aug 13, 2020 · Fundamentals

IDE Shortcut Techniques and Common Control‑Flow Statements for PHP/Java

This article introduces powerful IDE code‑completion shortcuts and demonstrates how to use fundamental control‑flow constructs such as if, switch, while, for loops, variable definitions, and common statements like return, print, try‑catch and throw in PHP/Java, providing code examples to boost development efficiency.

Control FlowIDE shortcutsPHP
0 likes · 4 min read
IDE Shortcut Techniques and Common Control‑Flow Statements for PHP/Java
Laravel Tech Community
Laravel Tech Community
Aug 13, 2020 · Backend Development

WordPress New Release Features and Developer Updates

The article outlines the latest WordPress release, highlighting performance improvements such as image lazy loading, new XML sitemap support, enhanced block editor capabilities, accessibility upgrades, and a series of developer‑focused updates including REST API block registration, environment definitions, updated libraries, and new functions for theme and plugin development.

CMSPHPREST API
0 likes · 3 min read
WordPress New Release Features and Developer Updates
Laravel Tech Community
Laravel Tech Community
Aug 11, 2020 · Backend Development

Understanding IoC, Simple Factory, and Dependency Injection in PHP

This article explains the Inversion of Control (IoC) pattern, demonstrates a simple factory for creating traffic‑tool objects, and shows how to apply Dependency Injection (DI) in PHP to decouple a Student class from concrete transportation implementations, culminating in a lightweight IoC container example.

Design PatternsIoCPHP
0 likes · 7 min read
Understanding IoC, Simple Factory, and Dependency Injection in PHP
Laravel Tech Community
Laravel Tech Community
Aug 10, 2020 · Backend Development

CakePHP 4.1.2 Released – New Features and Fixes

CakePHP 4.1.2 has been released, bringing a series of bug fixes, PHP 8 compatibility improvements, enhanced type checking for validation methods, better module autoloading, millisecond‑level logging, corrected HEAD request handling, and refined database and XML entity processing.

CakePHPFrameworkPHP
0 likes · 2 min read
CakePHP 4.1.2 Released – New Features and Fixes
Laravel Tech Community
Laravel Tech Community
Aug 6, 2020 · Backend Development

PHP rawurldecode() Function – Description, Parameters, Return Value, and Examples

rawurldecode() is a PHP function that decodes URL‑encoded strings by converting percent‑encoded hexadecimal sequences back to their original characters, returning the decoded string; the article explains its usage, parameters, return value, and provides example code demonstrating its behavior compared to urlencode and urldecode.

PHPURL decodingrawurldecode
0 likes · 2 min read
PHP rawurldecode() Function – Description, Parameters, Return Value, and Examples
Laravel Tech Community
Laravel Tech Community
Aug 2, 2020 · Backend Development

PHP http_build_query Function: Usage, Parameters, and Examples

This article explains the PHP http_build_query function, detailing its purpose of generating URL‑encoded query strings from arrays or objects, describing each parameter (query_data, numeric_prefix, arg_separator, enc_type), the return value, and providing multiple code examples illustrating typical usage and output.

BackendPHPURL encoding
0 likes · 3 min read
PHP http_build_query Function: Usage, Parameters, and Examples
Laravel Tech Community
Laravel Tech Community
Jul 27, 2020 · Backend Development

Mastering PHP’s pclose(): Properly Closing Process Pipes

This guide explains the PHP pclose() function, its signature, how it closes a process opened with popen(), the required handle parameter, the return values indicating the process termination status, and provides a clear example demonstrating its correct usage.

BackendPHPfunction
0 likes · 2 min read
Mastering PHP’s pclose(): Properly Closing Process Pipes
Laravel Tech Community
Laravel Tech Community
Jul 26, 2020 · Backend Development

Understanding PHP's feof() Function and Safe EOF Handling

This article explains PHP's feof() function, detailing its purpose, required handle parameter, return values, and provides two practical code examples—one demonstrating a safe EOF check with timeout and another showing how to handle missing files without entering infinite loops.

BackendError HandlingPHP
0 likes · 2 min read
Understanding PHP's feof() Function and Safe EOF Handling
Laravel Tech Community
Laravel Tech Community
Jul 25, 2020 · Backend Development

Using PHP pfsockopen() for Persistent Socket Connections

This article explains the PHP pfsockopen() function, its parameters, return values, and provides a complete example demonstrating how to establish a persistent SSL socket, send an HTTP POST request, and read the response using low‑level socket operations.

Network programmingPHPPersistent Connection
0 likes · 4 min read
Using PHP pfsockopen() for Persistent Socket Connections
Laravel Tech Community
Laravel Tech Community
Jul 24, 2020 · Backend Development

PHP fsockopen() Function: Usage, Parameters, and Examples

fsockopen() opens a network or Unix socket connection in PHP, with detailed parameter explanations, default behavior, error handling, and two practical code examples demonstrating HTTP GET requests and UDP socket usage, along with notes on blocking mode and related functions.

BackendNetwork programmingPHP
0 likes · 4 min read
PHP fsockopen() Function: Usage, Parameters, and Examples
Laravel Tech Community
Laravel Tech Community
Jul 22, 2020 · Backend Development

PHP file_get_contents Function: Description, Parameters, Return Value, and Usage Examples

This article explains the PHP file_get_contents function, detailing its purpose of reading an entire file into a string, describing each parameter and return value, and providing multiple practical code examples demonstrating basic usage, include path handling, partial reads, and custom stream contexts.

PHPbackend-developmentfile-handling
0 likes · 3 min read
PHP file_get_contents Function: Description, Parameters, Return Value, and Usage Examples