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:
/ 1277730725766712
Facebook Page:
/ life-beyond-code-382539848831045
Do you want to learn more about web development?
🔔🔔 Please subscribe to this channel: 🔔🔔
/ @lifebeyondcode
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! 😉
In questa pagina del sito puoi guardare il video online PHP Tutorial For Beginners | PHP Syntax, Comments and Variables della durata di ore minuti seconda in buona qualità , che l'utente ha caricato LifeBeyondCode 16 maggio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 319 volte e gli è piaciuto 6 spettatori. Buona visione!