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

Anuncios

Responder

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

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s