l112/H7/1.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 $c = 10; $f = o($c); function o($c){ $o = $c * (9/5) + 32; return $o; }; echo"Bij $c graden celcius is het $f fahrenheit"; ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse