How to write PHP integer datatype

PHP Integer 

Integer has few rules, before writhing integer we need to consider those rules first.

Integer should be least one digit, and it should not have decimal point in place. only positive or negative integer can be considered. 

An integer has limit from -2,147,483,648 and 2,147,483,647.

Syntax : 

<!DOCTYPE html>

$x = 1234;


Output :


No comments :