.vscode/B1_X108.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<?php
function b2($Seconden,$Minuten,$Dagen,$Uren){
// if ($Dagen) {
// $Dagen = ($Dagen * 24) * ( $Dagen * pow(60,2));
// }else {
// $Dagen = 0;
// };
// if ($Uren) {
// $Uren = ($Uren * pow(60,2));
// }else {
// $Uren = 0;
// };
//echo("yeah");
$Dagen = ($Dagen * 24) * ( $Dagen * pow(60,2));
$Uren = ($Uren * pow(60,2));
return ($Seconden + ($Minuten * 60) + $Uren + $Dagen);
}
$Waardes = b2(10,10,1,1);
echo("tijd is $Waardes")
?>
</body>
</html>
Resultaat
Made by Thijs Aarnoudse