---
title: "Discussion on \"Some Basic PHP Syntax\" | Hashnode"
description: "Discussion on \"Some Basic PHP Syntax\". In this tutorial, we will be going over some basic syntax of PHP.\nPHP Basic Syntax\nThe default syntax of PHP starts with <?php and ends with ?>\nAny code inside <?php ?> is PHP code.\nExample:\n<?php \n//PHP code goes in here\necho “Everything inside here..."
url: "https://hashnode.com/posts/some-basic-php-syntax/622764bf8547ea809709e47f"
---

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

Discussion

# [Some Basic PHP Syntax](https://javasper.hashnode.dev/some-basic-php-syntax?utm_source=hashnode&utm_medium=feed)

In this tutorial, we will be going over some basic syntax of PHP. PHP Basic Syntax The default syntax of PHP starts with <?php and ends with ?> Any code inside <?php ?> is PHP code. Example: <?php //PHP code goes in here echo “Everything inside here...

Mar 8, 2022 · 2 min read · javasper.hashnode.dev  
Updated Oct 5, 2022  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)

## Written by

[Eric](https://hashnode.com/@javasper)

@javasper · Toronto, Canada

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

Full-Stack Web Developer

I'm a full-stack web developer who loves building new projects and learning new things It might not show from my posts, but I'm also quite funny.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
