---
title: "#php-function articles | Hashnode"
description: "Explore 2 articles tagged #php-function on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/php-function"
---

Tag

# #php-function

2 posts · 0 followers

[Giver Kdk](https://hashnode.com/@Giver) · [Oct 14, 2023](https://hashnode.com/posts/php-function-conditionals-and-scope/652a8062a694de59573e1651)

### [PHP: Function, Conditionals and Scope](https://giver-kdk.hashnode.dev/php-function-conditionals-and-scope?utm_source=hashnode&utm_medium=feed)

Function Definition A function is defined using the 'function' keyword similar to JavaScript. function myFun() { echo "Hello World"; } // Output: Hello World myFun(); Default Parameter The parameters in a function can be given a default value wh...

2 min read · [giver-kdk.hashnode.dev](https://giver-kdk.hashnode.dev/php-function-conditionals-and-scope?utm_source=hashnode&utm_medium=feed)
