Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Fundamentals of Text Data Manipulation in PHP

via CodeSignal

Overview

Explore the basics of text data manipulation. Learn techniques to read and write files efficiently, delving into line-by-line and character-by-character parsing to build a strong foundation in handling textual data using PHP.

Syllabus

  • Unit 1: Reading Text Files in PHP
    • Reading and Displaying File Contents in PHP
    • Reading and Displaying Text from a File
    • Reading a File with PHP
  • Unit 2: Reading Text Files Line-by-Line in PHP
    • Reading the First Line from a File in PHP
    • Reading a File Line-by-Line in PHP
    • Reading and Calculating Average Temperatures in PHP
    • Sorting Words Alphabetically with PHP
  • Unit 3: Reading Text Files Character-by-Character in PHP
    • Reading the First Character from a File in PHP
    • Reading The First 100 Characters
    • Extracting Specific Text Portions
    • Managing File Opening, Reading and Closing
  • Unit 4: Writing and Appending Text to Files in PHP
    • File Operations with Random Numbers in PHP
    • Enhance PHP Script with File Reading and Summation
    • Writing API Key to a File in PHP
    • Appending Names to a File in PHP
    • Alphabetical File Sorting with PHP

Reviews

Start your review of Fundamentals of Text Data Manipulation in PHP

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.