x108/B2.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 seconden($s,$m,$u=0,$d=0){ $u += $d*24; $m += $u*60; $s += $m*60; return $s; } $temp = seconden(10,15,4); echo "4 uur, 15 minuten en 10 seconden zijn samen $temp seconden." ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse