Skip to content

Instantly share code, notes, and snippets.

@amrelarabi
Last active November 20, 2021 21:42
Show Gist options
  • Save amrelarabi/c2c6aba069d17959d2bedab91a18d6ab to your computer and use it in GitHub Desktop.
Save amrelarabi/c2c6aba069d17959d2bedab91a18d6ab to your computer and use it in GitHub Desktop.
<?php
function setHeight(int $minheight = 50) {
echo "The height is : $minheight <br>";
}
setHeight(350);
setHeight(); // سيتم إعتبار القيمة الإفتراضية وهى 50
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment