Tagged articles
15 articles
Page 1 of 1
php Courses
php Courses
Jul 14, 2025 · Backend Development

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

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

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

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

Learn how to use PHP’s built‑in file() function to read a text file into an array, control newline handling with FILE_IGNORE_NEW_LINES, skip empty lines with FILE_SKIP_EMPTY_LINES, and see practical code examples illustrating each option.

ArrayBackendFile
0 likes · 4 min read
Master PHP’s file() Function: Read Files into Arrays with Flags
php Courses
php Courses
Apr 9, 2025 · Backend Development

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

This article explains how to use PHP's file() function to read a file's contents into an array, describes its syntax and parameters, demonstrates basic and flag‑enhanced usage with code examples, and highlights important behaviors such as automatic newline removal.

ArrayFilePHP
0 likes · 4 min read
Using PHP file() Function to Read Files into an Array
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 5, 2024 · Frontend Development

Understanding Blob, File, Base64, URL.createObjectURL, ArrayBuffer, TypedArray, and DataView in Frontend Development

This article provides a comprehensive guide to the Blob and File objects, their methods such as slice, text, arrayBuffer, and stream, explains Base64 encoding, demonstrates how to use URL.createObjectURL for previews, and introduces ArrayBuffer, TypedArray, and DataView for low‑level binary data handling in web development.

ArrayBufferBase64Blob
0 likes · 23 min read
Understanding Blob, File, Base64, URL.createObjectURL, ArrayBuffer, TypedArray, and DataView in Frontend Development
php Courses
php Courses
Oct 11, 2023 · Backend Development

PHP file() Function: Syntax, Parameters, Return Value, and Usage Examples

This article explains PHP's file() function, detailing its syntax, parameters, return values, and provides multiple code examples for reading local and remote files, using flags and stream contexts, while noting memory considerations and alternative functions for large files.

Code ExampleFilePHP
0 likes · 5 min read
PHP file() Function: Syntax, Parameters, Return Value, and Usage Examples
Liangxu Linux
Liangxu Linux
Dec 28, 2021 · Operations

5 Quick Linux Commands to Empty a File Instantly

Learn five practical Linux techniques—using shell redirection, built‑in commands, /dev/null with cat/cp/dd, echo, and truncate—to clear a file's contents without deleting the file, each with clear examples and explanations.

CATEchoFile
0 likes · 4 min read
5 Quick Linux Commands to Empty a File Instantly
php Courses
php Courses
Nov 4, 2020 · Backend Development

Common PHP Functions and Code Snippets

This article presents a curated collection of useful PHP functions covering string generation, email encoding, validation, file handling, JSON/XML parsing, slug creation, IP detection, forced downloads, tag clouds, similarity checks, Gravatar integration, text truncation, ZIP compression, URL handling, clickable link conversion, image resizing, and AJAX request detection, each accompanied by ready‑to‑use code examples.

FileStringutilities
0 likes · 14 min read
Common PHP Functions and Code Snippets
Sohu Tech Products
Sohu Tech Products
Jul 15, 2020 · Frontend Development

Understanding and Using the Blob Web API in JavaScript

This article explains what a Blob is, introduces the Blob Web API with its constructor, properties, and methods, and demonstrates practical scenarios such as chunked uploads, downloading data, creating Blob URLs, converting to Base64, image compression, PDF generation, and compares Blob with ArrayBuffer, providing complete code examples for each use case.

Base64BlobFile
0 likes · 20 min read
Understanding and Using the Blob Web API in JavaScript
Java Captain
Java Captain
Feb 9, 2018 · Fundamentals

Introduction to Java I/O and the File Class with Practical Example

This article introduces Java I/O fundamentals, explains the four I/O interface groups, details the File class methods, provides a complete code demo with execution results, and highlights important points such as mkdirs behavior and cross‑platform path separators.

BackendFileI/O
0 likes · 6 min read
Introduction to Java I/O and the File Class with Practical Example