PHP for Beginners | PHP data types | PHP resource data type | PHP integer | lesson #3.2

Publicado em: 02 Novembro 2021
no canal de: MLA Automation
48
1

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


Nesta página do site você pode assistir ao vídeo on-line PHP for Beginners | PHP data types | PHP resource data type | PHP integer | lesson #3.2 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário MLA Automation 02 Novembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 48 vezes e gostou 1 espectadores. Boa visualização!