An int is a number of the set ℤ = {..., -2, -1, 0, 1, 2, ...}.
Homework: convert integers to boolean using:
$a = 1234; // decimal number
$a = 0123; // octal number (equivalent to 83 decimal)
$a = 0x1A; // hexadecimal number (equivalent to 26 decimal)
$a = 0b11111111; // binary number (equivalent to 255 decimal)
$a = 1_234_567; // decimal number (as of PHP 7.4.0)
Notes: A leading zero in a numeric literal means "this is octal". But don't be confused: a leading zero in a string does not. Thus:
$x = 0123; // 83
$y = "0123" + 0 // 123
SUBSCRIBE TO CHANNEL:
/ @mlaautomation6888
Facebook - https://www.facebook.com/profile.php?...
Twitter - / kachalov2010
00:52 ► Checking homework lesson #3.1 - Boolean
04:53 ► Today we will talk about type - integer
06:37 ► Different versions of integers
08:16 ► Take a look on examples
10:38 ► Recomendation
11:08 ► Convert different combination of integers
11:12 ► Homework for the next lesson
12:20 ► Farewells with wishes
Don't forget pls to click on 'Like', its giving additional motivation to work on channel.
Thank you for watching, for subscription and see you soon.
#phpinteger #PHPforBeginners #phpoop #php7 #phpresourcedatatype #php7.4 #allphpdatatypes #phpdatatypes #MLAAutomation
Auf dieser Seite können Sie das Online-Video PHP for Beginners | PHP data types | PHP resource data type | PHP integer | lesson #3.2 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer MLA Automation 02 November 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 48 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!