PHP Training

  4.6 out of 5 based on 70 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.

Filter and Sort

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

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.

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
Webucator provides high quality technical instruction for developers that is paced to the developers needs, in a highly professional and organized fashion. Very impressive.
Nicholas Mogielnicki
OSU Wexner Medical Center
Webucator lived up to the "no classes cancelled" motto. I was the only student in my class. The instructor was excellent, cheerful and attentive to my questions and covered the material completely in a way that I could learn it.
Philip Mahan
The Institutes
The material covered was very useful. The exercises and the accompanying printed material were clear and concise. The best part, though, was our instructor. He was knowledgeable, sensitive to our needs and various skill levels, charismatic, and explained things well. He even took the time to examine some code we had written previously, and provide some programming suggestions on a project our department is currently working on. Excellent.
Emily Sharp
Sarah Lawrence College

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

63,175

Students who have taken Instructor-led Training

11,876

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.29

Students rated our PHP trainers 9.29 out of 10 based on 70 reviews

Contact Us or call 1-877-932-8228