How to Create PHP Variables | PHP Tutorial | Learn PHP Programming | PHP for Beginners.
In this tutorial we will talk on PHP variable. Variable is a temporary data storage. In PHP, we don't need to declare any data type unlike other programming language to create a variable.
Rules for PHP variables:
1. A variable starts with the $ sign, followed by the name of the variable
2. A variable must start with a letter or the underscore character
3. A variable name cannot start with a number
4. A variable name can only contain alpha-numeric characters and underscores ( A-z, 0-9, and _ )
5. Variable names are case-sensitive ( $age and $AGE are two different variables )
On this page of the site you can watch the video online PHP Tutorial 4 | Create PHP Variables | PHP Tutorial | Learn PHP Programming | PHP for Beginners with a duration of hours minute second in good quality, which was uploaded by the user Weblogging 05 July 2021, share the link with friends and acquaintances, this video has already been watched 12 times on youtube and it was liked by 0 viewers. Enjoy your viewing!