12345678910111213 |
- <?php
- ini_set('error_reporting', E_ALL);
- ini_set('display_errors', 1);
- ini_set('display_startup_errors', 1);
- include_once 'Dog.php';
- $spot = new Dog("Spot", "Ruff!");
- $scruffy = new Dog("Scruffy", "Wurf!");
- $spot->dogSays();
- $scruffy->dogSays();
|