PHP Lesson 2: Using Variables

2 years ago
74

https://xoax.net/

Lesson Page:
https://xoax.net/php/crs/core/lessons/Lesson2/

The purpose of this lesson is to explain how variables are used in PHP. PHP variable names are always preceded by a dollar sign. Variables are not strongly typed, as they are in many other languages. In fact, the type of a variable can be changed at any time to any other type. To help understand how to use variables, PHP provides several functions that are employed in this lesson: gettype(), print_r(), var_dump(), and get_defined_vars().

Copyright 2021 XoaX.net LLC

Loading comments...