Let's say I have two pages, one call teste.php
and the other teste2.php
.
On page teste.php
I have the following code:
...
$usuario = new Usuario();
$usuarios = $usuario->getUsuarios();
...
And on page teste2.php
I have the code:
...
include "teste.php";
...
When doing the include of page teste.php
on page teste2.php
what process happens behind it? Php serializes the OBJ of the teste.php
page and when doing the include does it use the function unserialize () in that OBJ behind the wads?