final class User {
public function getName() : string {
return "Ryan";
}
public function getGender() : string {
return "MALE";
}
public function getAge() : int {
$today = getdate();
if($today["mday"] === 1 && $today["mon"] === 1)
return $today["year"] - 2005 - 1;
return $today["year"] - 2005;
}
}
🖥️
Online
Highlights
- Pro
Pinned Loading
-
fileeditorjs
fileeditorjs PublicEste projeto é um editor de arquivos criado em nodejs para edição rápida de código
JavaScript
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.