Skip to main Content

PHP Programming

  • Course Code PHP
  • Duration 3 days

Course Delivery

Additional Payment Options

  • GTC 18 inc. VAT

    GTC, Global Knowledge Training Credit, please contact Global Knowledge for more details

Virtual Learning Price

£1,260.00

excl. VAT

Request Group Training Add to Cart

Course Delivery

This course is available in the following formats:

  • Company Event

    Event at company

  • Public Classroom

    Traditional Classroom Learning

  • Virtual Learning

    Learning that is virtual

Request this course in a different delivery format.

Course Overview

Top

The PHP Programming course is designed to give delegates the knowledge to develop/maintain PHP scripts.

Virtual Learning

This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.

Course Schedule

Top
    • Delivery Format: Virtual Learning
    • Date: 03-05 June, 2024
    • Location: Virtual

    £1,260.00

Target Audience

Top

Programmers who need to write or maintain scripts in PHP.

Course Objectives

Top

Knowledge of PHP to write,maintain and understand PHP scripts.

Course Content

Top
PHP Programming Training Course Course Contents - DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: PHP LANGUAGE BASICS

  • Programming Basics
  • Comment markers
  • PHP Tags
  • Output Commands
  • Using STDIN STDOUT and STDERR
  • Using Files
  • Include_path
  • Opening files
  • Reading files
  • Writing to Files
  • RTRIM
  • Operators
  • Assignment Operators
  • Increment/Decrement Operators
  • Arithmetic Operators
  • String Operators
  • Comparison Operators
  • Logical Operators

Session 2: PHP VARIABLES AND ARRAYS

  • Naming Rules
  • Data Types
  • Numerical
  • Integer
  • Floating Point Numbers
  • Floating Point Precision
  • Single Quoted Strings
  • Double Quoted Strings
  • Creating and Assigning Variables
  • Assigning Values to Variables
  • Type Conversion
  • Super Globals
  • Constants
  • Variable Variables
  • Creating/modifying indexed and associative arrays
  • Multi-Dimensional arrays
  • Using array functions
  • Sorting an array
PHP Programming Training Course Course Contents - DAY 2

Session 3: CONTROL STRUCTURES

  • Statement Blocks
  • If Construct
  • Else Keyword
  • Elseif Keyword
  • Switch
  • Looping Constructs
  • While Loop
  • Do-while Loop
  • For Loop
  • Foreach Loop
  • Loop Control Words
  • Break
  • Continue

Session 4: PHP FUNCTIONS

  • Overview
  • Variable Scoping
  • Global Keyword
  • Static Keyword
  • Argument Passing by Value
  • Argument Passing by Reference
  • Returning Values
  • Including External PHP Functions
  • Conditionally Created Functions
  • Functions Created Inside Functions

Session 5: REGULAR EXPRESSIONS

  • Meta-Characters
  • Sequences
  • Sets
  • Pattern Matching with ereg and eregi
  • Pattern Matching with preg_match
  • Splitting Text - preg_split
  • Replacing Text - preg_replace
PHP Programming Training Course Course Contents - DAY 3

Session 6: PHP OBJECT ORIENTED

  • PHP Object Orientated Concepts
  • Creating Classes and Objects
  • Constructor and Destructor functions
  • Inheritance
  • Access Modifiers

Session 7: PHP & PEAR

  • What is PEAR?
  • Command Line Package Installer
  • Fully-Automatic Installation
  • Semi-Automatic Installation
  • What is PECL?

Session 8: PHP & HTML

  • HTML/PHP Examples

Course Prerequisites

Top

Delegates attending this course should be able to define general programming concepts including compilation and execution,variables,arrays,sequence,selection and iteration,navigate the filesystem (on the command line ideally),edit and save text files and browse the web. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course.

Follow on Courses

Top
  • PHP & MySQL for Web Development (PHPMWD)
  • Apache Web Server (APH)
  • Introduction to MySQL (MYSI)
  • Perl Programming (PERL)
  • Ruby Programming (RUBYP)
  • Ruby on Rails (RUBYR)
  • Python Programming 1 (PYP1)
Cookie Control toggle icon