---
title: "Discussion on \"The differences between functions in JavaScript, Python, and PHP.\" | Hashnode"
description: "Discussion on \"The differences between functions in JavaScript, Python, and PHP.\". I am often asked about the differences between functions in different programming languages. In this blog post, I will explain the differences between functions in JavaScript, Python, and PHP.\nIn JavaScript, functions are defined using the function k..."
url: "https://hashnode.com/posts/the-differences-between-functions-in-javascript-python-and-php/63990827068b7faa8acd82bb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The differences between functions in JavaScript, Python, and PHP.](https://seteyemfonobot.com/the-differences-between-functions-in-javascript-python-and-php?utm_source=hashnode&utm_medium=feed)

I am often asked about the differences between functions in different programming languages. In this blog post, I will explain the differences between functions in JavaScript, Python, and PHP. In JavaScript, functions are defined using the function k...

Dec 13, 2022 · 2 min read · seteyemfonobot.com  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#python](https://hashnode.com/tag/python)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#php](https://hashnode.com/tag/php)
-   [#newbieintech](https://hashnode.com/tag/newbieintech)

## Written by

[Seteyemfon Raymond Obot](https://hashnode.com/@Seray)

@Seray · Akwa Ibom,Nigeria

  
[View profile](https://hashnode.com/@Seray)

I am a fullstack developer and technical writer, passionate about building and writing about cool stuffs

I am a developer from Nigeria, writing about my interests as I paddle in the tech waters.

## Responses 2

Markdown supported · ⌘↵ to post

[Patrick Austin](https://hashnode.com/@SalernoD)

[Dec 15, 2022](https://hashnode.com/posts/the-differences-between-functions-in-javascript-python-and-php/63990827068b7faa8acd82bb/comment/639aee960517875138ea7a12)

This works really well for us, thank you!

[www.tellhappystar.com Guest Survey](https://www.tellhappystar.org/)

[Seteyemfon Raymond Obot](https://hashnode.com/@Seray)

[Dec 15, 2022](https://hashnode.com/posts/the-differences-between-functions-in-javascript-python-and-php/63990827068b7faa8acd82bb/comment/639aee960517875138ea7a12#reply-639af7b80517875138ea7b47)

you are welcome

[gray serena](https://hashnode.com/@grayserena)

[Dec 14, 2022](https://hashnode.com/posts/the-differences-between-functions-in-javascript-python-and-php/63990827068b7faa8acd82bb/comment/63994c31452f4e3f4cb666d4)

I haven't been to your blog in months, so it's great to be back. Right, this is the article I've been served for so long. I need this article to finish my school assignment, which is about the same subject as your article. Thanks for a lot of helpful information, nice share [waffle game](https://waffler.one/)
