PHP Training: Onsite and Online

Whether you're looking for customized in-person PHP training for a private group or a public online PHP class you can join, Webucator has the solution for you.

Filter and Sort

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."

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

81,676

Students who have taken Live Online Training

15,640

Organizations who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.06

Students rated our PHP trainers 9.06 out of 10 based on 13 reviews

I would not hesitate to take another class through Webucator.

Colin McCann, Commpartners
Denver CO

Most of the time, we were typing in our IDEs and loading our own code in our browsers. It was real hands-on practice, and that's great for my learning style. The instructor was always there and willing to jump in and help, but was also willing to let us struggle a bit to figure things out - which helps to cement the learning. Good class!

Walter Humfeld, Boeing
Long Beach CA

Excellent up to date course material and friendly, expert instructors.

Shane Walker, self
Colorado Springs CO

The Introduction to PHP class gave me a good foundation for exploring PHP further. The instructor is terrific!

Karen Schwartz, college of william & mary
Norfolk VA

Contact Us or call 1-877-932-8228

Where We Have Trained
We've provided Web Development training all over North America!


  • Calgary, AB
  • Anchorage, AK
  • Juneau, AK
  • Dothan, AL
  • Huntsville, AL
  • Little Rock, AR
  • Chandler, AZ
  • Luke AFB, AZ
  • Phoenix, AZ
  • Scottsdale, AZ
  • Tempe, AZ
  • Tucson, AZ
  • Vancouver, BC
  • Brentwood, CA
  • Cypress, CA
  • Cyprus, CA
  • Davis, CA
  • El Dorado Hills, CA
  • El Segundo, CA
  • Folson, CA
  • Los Angeles, CA
  • Milpitas, CA
  • Mountain View, CA
  • Norwalk,, CA
  • Palo Alto, CA
  • Pleasanton, CA
  • Redwood City, CA
  • Roseville, CA
  • Sacramento, CA
  • San Diego, CA
  • San Francisco, CA
  • San Jose, CA
  • San Ramon, CA
  • Santa Clara, CA
  • Santa Cruz, CA
  • Santa Monica, CA
  • Sunnyvale, CA
  • Torrance, CA
  • West Hollywood, CA
  • Woodland Hills, CA
  • Centennial, CO
  • Colorado Springs, CO
  • Durango, CO
  • Evergreen, CO
  • Golden, CO
  • Louisville, CO
  • Peterson AFB, CO
  • Schriever AFB, CO
  • Bristol, CT
  • Fairfield, CT
  • Hartford, CT
  • New Britain, CT
  • Norwalk, CT
  • Trumbull, CT
  • Washington, DC
  • Bushnell, FL
  • Fort Lauderdale, FL
  • Melbourne, FL
  • Miami, FL
  • Orlando, FL
  • Palm Bay, FL
  • Sarasota, FL
  • Satellite Beach, FL
  • Sunrise, FL
  • Tallahassee, FL
  • Tampa, FL
  • Alpharetta, GA
  • Atlanta, GA
  • Ft Benning, GA
  • Marietta, GA
  • Norcross, GA
  • Honolulu, HI
  • Cedar Rapids, IA
  • Dubuque, IA
  • Boise, ID
  • Aurora, IL
  • Barrington, IL
  • Chicago, IL
  • Harrisburg, IL
  • McHenry, IL
  • Mount Prospect, IL
  • Romeoville, IL
  • Skokie, IL
  • Westchester, IL, IL
  • Fort Wayne, IN
  • Indianapolis, IN
  • Leawood, KS
  • Wichita, KS
  • New Orleans, LA
  • Shreveport, LA
  • Bedford, MA
  • Boston, MA
  • Boxboro, MA
  • Cambridge, MA
  • Chelmsford, MA
  • Chicopee, MA
  • Concord, MA
  • Foxborough, MA
  • Framingham, MA
  • Holyoke, MA
  • Ipswich, MA
  • Leominster, MA
  • Northampton, MA
  • Peabody, MA
  • Randolph, MA
  • Waltham, MA
  • Watertown, MA
  • Worcester, MA
  • Annapolis Junction, MD
  • Baltimore, MD
  • Columbia, MD
  • Hanover, MD
  • Linthicum Heights, MD
  • Owings Mills, MD
  • Rockville, MD
  • Towson, MD
  • Augusta, ME
  • Ann Arbor, MI
  • Canton, MI
  • Detroit, MI
  • Grand Rapids, MI
  • Macomb, MI
  • Minneapolis, MN
  • Stillwater, MN
  • White Bear Lake, MN
  • Creve Couer, MO
  • Jefferson City, MO
  • Saint Louis, MO
  • St. Joseph, MO
  • St. Louis, MO
  • Jackson, MS
  • Vicksburg, MS
  • Fredericton, NB
  • Moncton, NB
  • Cary, NC
  • Elizabeth City, NC
  • Morrisville, NC
  • Raleigh, NC
  • Shelby, NC
  • Winston-Salem, NC
  • Bismarck, ND
  • Minot, ND
  • Bellevue, NE
  • Lincoln, NE
  • Offutt AFB, NE
  • Omaha, NE
  • Papillion, NE
  • Bridgewater, NJ
  • Elizabeth, NJ
  • Fort Monmouth, NJ
  • Franklin Lakes, NJ
  • Lawrenceville , NJ
  • Marlton, NJ
  • Nutley, NJ
  • Park Ridge, NJ
  • Pennington, NJ
  • Pennsauken, NJ
  • Roseland, NJ
  • Titusville, NJ
  • Trenton, NJ
  • Albuquerque, NM
  • Gardnerville, NV
  • Henderson, NV
  • Reno, NV
  • Albany, NY
  • Amherst, NY
  • Bayside, NY
  • Bronxville, NY
  • Brooklyn, NY
  • Buffalo, NY
  • Clinton, NY
  • Garden City, NY
  • Goshen, NY
  • Grand Island, NY
  • Jamesville, NY
  • Long Island City, NY
  • Melville, NY, NY
  • New York, NY
  • NYC, NY
  • Orangeburg, NY
  • Port Washington, NY
  • Poughkeepsie, NY
  • Pulaski, NY
  • Queensbury, NY
  • Rochester, NY
  • Syracuse, NY
  • Troy, NY
  • White Plains, NY
  • Akron, OH
  • Cincinnati, OH
  • Columbus, OH
  • Dayton, OH
  • Liberty Township, OH
  • Lima, OH
  • Orrville, OH
  • Toledo, OH
  • Norman, OK
  • Oklahoma City, OK
  • Brampton, ON
  • London, ON