PHP Tutorial For Beginners | PHP Syntax, Comments and Variables

preview_player
Показать описание
In this video, we are going to discuss about PHP syntax, comments and variables. Here is the outline:

🔽 PHP Syntax (Basic)
✅ File extension .php
✅ Statement should end with semicolon.

✅ Keywords are case insensitive

🔽 PHP Comments
✅ Single-line comments.
✅ Multi-lines comments.

🔽 PHP Variables
✅ Starts with $ sign followed by the variable name.
✅ Variables are case-sensitive.
✅ It must start with a letter or underscore.
✅ Cannot start with a number.

🔽 PHP Variables Scope
✅ Global Scope
Variable declared outside the function and can be accessed outside.
✅ Local Scope
Variable declared inside the function and can be accessed inside.

🔽 Accessing Global Variables
✅ $GLOBALS variable
✅ global keyword

___________________________________________________________________________
Facebook Group:
Facebook Page:

Do you want to learn more about web development?
🔔🔔 Please subscribe to this channel: 🔔🔔

If you need help or guide with your web development project, question, suggestion, or you want to share your takeaways with us for this video. Please comment down below. Really appreciated! 😉
Рекомендации по теме
join shbcf.ru