What are some recommended tutorials or resources for learning object-oriented programming in PHP?

Learning object-oriented programming in PHP can be challenging for beginners. To help with this, there are several recommended tutorials and resources available online that can provide a step-by-step guide on understanding the principles of OOP in PHP. Some popular resources include tutorials on websites like W3Schools, PHP.net, and Laracasts, as well as books like "PHP Objects, Patterns, and Practice" by Matt Zandstra.

<?php
class Person {
  public $name;
  public $age;

  public function __construct($name, $age) {
    $this->name = $name;
    $this->age = $age;
  }

  public function greet() {
    return "Hello, my name is {$this->name} and I am {$this->age} years old.";
  }
}

$person1 = new Person("John", 30);
echo $person1->greet();
?>