< All Topics
Print

PHP 2: Intermediate Reference Sheet

Here is an intermediate reference sheet for the PHP programming language (click on this link to download) The attached cheat sheet includes the following topics.

  • PHP Conditional statements – if statement
  • PHP Conditional statements – if-else statement
  • PHP Conditional statements – if-elseif-else statement
  • PHP Switch Statement
  • The PHP Match statement
  • PHP Multiline Strings
  • PHP Dates
  • PHP Math functions
  • Reading Files – text files (line by line)
  • Reading Files – text files into a variable
  • Reading Files – JSON files
  • Writing Files – text files
  • Writing Files – JSON files
  • PHP file imports
  • Command Line User Input
  • PHP Command Line Arguments

Stay tuned for the advanced version. Happy programming.

Note: you can use this cheat sheet any way you want as long the watermark is left intact. Thank you.

Previous PHP 1: Beginner Reference Sheet
Next PHP 3: Advanced Reference Sheet

Table of Contents