Commit 42078f31 authored by Denis Buchatsky's avatar Denis Buchatsky
Browse files

Update oop2.php

parent aa83a21d
<?php
declare(strict_types=1);
namespace User;;
/**
* Description of User
*
......@@ -94,3 +90,17 @@ $this -> dbahoj = $dbahoj;
return $this ->dbpri;
}
}
$user = new dbUser();
$user->setdbloi("loi");
$user->setdbahoj(1175);
echo $user->getdbname()."<br>";
echo $user->getdbage()."<br>";
echo $user->getdbheight()."<br>";
echo $user->getdbweight()."<br>";
echo $user->getdbpri()."<br>";
var_dump($user);
?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment