Blog

python tutorials and learn python

Created with Sketch.

PHP Assignment Operators

PHP Assignment Operators Summary: in this tutorial, you will learn about the most commonly used PHP assignment operators. Introduction to the PHP assignment operator PHP uses the = to represent the assignment operator. The following shows the syntax of the assignment operator: $variable_name = expression; Code language: PHP (php) On the left side of the…
Read more

PHP Type Juggling

PHP Type Juggling Summary: in this tutorial, you’ll learn about PHP type juggling and how it works. Introduction to PHP type juggling PHP is a loosely typed programming language. It means that when you define a variable, you don’t need to declare a type for it. Internally, PHP will determine the type by the context…
Read more

PHP Type Casting

PHP Type Casting Summary: in this tutorial, you’ll learn about the PHP type casting that allows you to convert a value of a type to another. Introduction to the PHP type casting Type casting allows you to convert a value of one type to another. To cast a value, you use the following type casting…
Read more

PHP null

PHP null Summary: in this tutorial, you will learn about the PHP NULL type and how to check if a variable is null or not. Introduction to the PHP null type The null is a special type in PHP. The null type has only one value which is also null. In fact, null indicates the…
Read more

PHP String

PHP String Summary: in this tutorial, you will learn about PHP strings and how to manipulate strings effectively. Introduction to PHP strings In PHP, a string is a sequence of characters. PHP provides you with four ways to define a literal string, including single-quoted, double-quoted, heredoc syntax, and nowdoc syntax. This tutorial focuses on the…
Read more

PHP float

PHP float Summary: in this tutorial, you’ll learn about floating-point numbers or floats in PHP. Introduction to the PHP float Floating-point numbers represent numeric values with decimal digits. Floating-point numbers are often referred to as floats, doubles, or real numbers. Like integers, the range of the floats depends on the platform where PHP runs. PHP…
Read more

PHP int

PHP int Summary: in this tutorial, you’ll learn about the PHP int type that represents integers in PHP. Introduction to the PHP int type Integers are whole numbers such as -3, -2, -1, 0, 1, 2, 3… PHP uses the int type to represent the integers. The range of integers depends on the platform where…
Read more

PHP Boolean

PHP Boolean Summary: in this tutorial, you’ll learn about the PHP Boolean data type and the boolean values Introduction to PHP Boolean A boolean value represents a truth value. In other words, a boolean value can be either true or false. PHP uses the bool type to represent boolean values. To represent boolean literals, you…
Read more

PHP Data Types

PHP Data Types Summary: in this tutorial, you will learn about PHP data types including scalar types, compound types, and special types. Introduction to PHP data types A type specifies the amount of memory that allocates to a value associated with it. A type also determines the operations that you can perform on it. PHP…
Read more

PHP var_dump

PHP var_dump Summary: in this tutorial, you will learn how to use the PHP var_dump() function to dump the information about a variable. Introduction to the PHP var_dump function The var_dump() is a built-in function that allows you to dump the information about a variable. The var_dump() function accepts a variable and displays its type…
Read more