PHP Lesson : Data Types, Constant Value, and Casting Variable

Learn PHP & ASP.Net

Hello everyone 😀

Chapter 3 Part 1,
Our material for this post are data types, constant value, and how to casting a variable.

Since we know that PHP variable is very flexible and can become any data types, we still need to know which data types it will be.
Constant value, sometimes we need to define a constant value like Phi = 3.1415926535, it will be useful using a constant value than a normal variable. Casting variable, even though I’d write that variable in PHP will be indicates as String, sometimes we will need to cast it into other data types.

Anyway, let’s begin our material 😀

Ver la entrada original 522 palabras más

Deja una respuesta

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Salir /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Salir /  Cambiar )

Conectando a %s