Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>FACULDADE</title>
- </head>
- <body><pre>
- <?php
- require 'Pessoa.php';
- require 'Aluno.php';
- require 'Professor.php';
- require 'Funcionario.php';
- $p1 = new Pessoa();
- $p2 = new Aluno();
- $p3 = new Professor();
- $p4 = new Funcionario();
- $p1->setNome('Pedro');
- print_r($p1);
- ?></pre>
- </body>
- </html>
Add Comment
Please, Sign In to add comment