PHP Training

  4.6 out of 5 based on 73 Ratings

Looking for PHP training with an expert live instructor? We have trained 62,586 students from 11,834 organizations. Where? Webucator's private PHP classes can be delivered at your office anywhere in the world or online with a live instructor. Our public PHP classes run monthly.

Introduction to PHP Training

- $1,980.00

If you or your team need to learn PHP to maintain an existing database-driven website or build a new one, this PHP course will give you the skills you need to do that. The course covers PHP 7, but is also relevant to developers maintaining PHP 5 websites.

Next Live Class:

PHP and MySQL Training

- $2,875.00

If you or your team need to learn PHP and SQL to maintain an existing MySQL-driven website or build a new one, this PHP course will give you the skills you need to do that. If you have already had SQL training or experience, our Introduction to PHP Training class would be more suitable.

Next Live Class:

6-min Narrated Presentation on PHP

  • History of PHP
  • Purpose of PHP
  • PHP: Difficulty Level
  • PHP: The Good
  • PHP: The Future
  • PHP Syntax

History of PHP

  • 1994 - Created by Rasmus Lerdorf
  • Originally stood for "Personal Home Page"
  • Today is "PHP Hypertext Processor"
  • Open source under PHP license
  • Used more than any other server-side scripting language

Purpose of PHP

  • Generate dynamic portions of web pages
    1. Web browser requests web page containing PHP
    2. PHP interpreter processes PHP portions of page
    3. PHP interpreter generates static HTML
    4. Web server serves static HTML
  • Create standalone applications

PHP Difficulty Level

  • Easy to learn
  • Simple to get started embedding in HTML

PHP: The Good

  • Performance
  • SecurityObject-oriented

PHP: The Bad

  • Frequent cause of security problems
    • Poor coding practices
    • Outdated versions
    • Bad configuration

PHP: The Future

  • Will continue to be widely used and supported

Syntax

  • Code is written inside PHP delimiters. There are two options:
    1. <?php … ?>
    2. <? … ?>

PHP Variables

  • Start with $
  • Not necessary to specify variable type
  • Supports type hinting

PHP Data Types

  • string
  • integer
  • float
  • Boolean
  • array
  • Object
  • NULL
  • Resource

PHP Output

  • echo
    • echo "<p>Hello, PHP!</p>";
  • print
    • print "<p>Welcome to PHP!</p>";

PHP Operators

  • Supports all common operators
    • arithmetic
    • assignment
    • comparison
    • increment/decrement
    • logical
    • string
    • array
  • Comparison operators include == and ===

Branching and Looping

  • if…else…elseif
  • switch
  • while
  • do…while
  • for
  • foreach
  • goto

PHP Functions

  • function foo($arg1, $arg2) {
    	echo "Hello, $arg1! Welcome to $arg2!";
    }
    foo("Chris","PHP");

PHP Classes and Objects

  • class A
    {
      function foo()
      {
        …
      }
    }
  • $a = new A();

PHP Arrays

$array = array(
"foo" => "bar","
"bar" => "foo");

$array = array[
"foo" => "bar",
"bar" => "foo"];

$array = array(1,2,3,4,5);

To access arrays:

array[2] = "foo";

Keep Learning PHP

by taking a Webucator PHP Class https://www.webucator.com/webdev-training/php-training.cfm

"The instructor presented at a perfect pace and was easy to understand."

What people say about our training

I was expecting good interaction and real world examples, but I got far more than that. You could tell that the instructor loved what he was doing and as a result it showed in his teaching.
Bracey Fuenzalida
Dominion Endeavors
The Webucator Introductory PHP course was well thought out and delivered flawlessly - a highly recommended training course!
Robert Tarantino
PMBC, LLC
Excellent up to date course material and friendly, expert instructors.
Shane Walker
self
Good class. Great way to get an instructor to your location when on a tight budget. Webucator was aware of our needs and made sure that all of them were met. Thanks.
Rocco Rosa
Public Health Agency of Canada

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

63,994

Students who have taken Instructor-led Training

11,929

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.28

Students rated our PHP trainers 9.28 out of 10 based on 73 reviews

Contact Us or call 1-877-932-8228