PHP Operator class 9 in hindi Bitwise, Array Operator
PHP Operators
Bitwise
Bitwise operators allow operating on the bitwise representation of their arguments.
Operator Name Example Result
& And $x & $y Bits that are set in both $x and $y
are set.
| Or $x | $y Bits that are set in either $x or $y are
set.
^ Xor $x ^ $y Bits that are set in $x or $y but not
both are set.
~ Not ~$x Bits that are set in $x are not set,
and vice versa.
Shift left Shift the bits of $x $y steps to the left.
Shift right Shift the bits of $x $y steps to the right.*
# Each step means 'multiply by two'
* Each step means 'divide by two'
If both operands for the ~, &, | and ^ operators are strings, then the operation will be performed on the ASCII values of the characters that make up the strings and the result will be a string. In all other cases, both operands will be converted to integers and the result will be an integer.
A bit (Binary digIT) is the basic unit of information stored in the computing system that exists in two possible states, represented as ON or OFF. In a computer system, the ON state considered as 1 and OFF state considered as 0. These states can be compared with two states of a flip-flop, two states of an electric switch ( ON and OFF) e.t.c. These two values 0 and 1 are called Binary digit and these digits are in a specific number system, that is BINARY number system which constructs upon the base of 2.
In decimal number system, a number construct upon the base of 10. Let us see how a decimal number can be constructed -
231=(2 x 102)+(3 x 101)+(1 x 100)
=200+30+1
=231
The binary number system also follows the same concept. The only difference is the base is 2 instead of 10. Let us see how a binary number can be converted into a decimal number -
1011010=(1 x 26)+(0 x 25)+(1 x 24)+(1 x 23)+(0 x 22)+(1 x 21)+(0 x 20)
=(1 x 64) +(0 x 32)+(1 x 16)+(1 x 8)+(0 x 4)+(1 x 2)+(0 x 1)
=64+0+16+8+0+2+0
=90
So, (1011010)2= (90)10
Array
List of array operators
Name Example Result
Union $x + $y Union of $x and $y. The + operator appends elements of remaining keys from the
right-sided array to the left-handed, but duplicated keys are not overwritten.
Equality $x == $y TRUE if $x and $y have the same key/value pairs.
Identity $x === $y TRUE if $x and $y have the same key/value pairs in the same order and of the
same types.
Inequality $x != $y TRUE if $x is not equal to $y.
Non-identity $x !== $y TRUE if $x is not identical to $y.
n the following example equality operator returns true as the two arrays have same key/value pairs whereas identity operator returns false as the key/value of the comparing arrays are same but not in same order.
Download Notes Link:
https://axixatechnologies.com/youtubenotes/PHP%20Operator%20class-9.pdf
.............................................................................
The people of bikaner is also know about quality of Axixa technologies and Rajesh sir. Axixa is old and popular place for programming languages since 10 years.. we'll try to cover all basic and advanced topic of php in our php tutorials.
learn php with AXIXA technologies and have a nice day
If you want me to cover any topic related it sector you can comment down the topic we will try to cover that.
Rajesh purohit (+919251435299)
Email: [email protected]
Website: https://axixatechnologies.com/
Facebook: https://www.facebook.com/axixatechnology/
instagram : https://www.instagram.com/axixatechnologiesoffcial/?hl=en
#PHP # tutoria
#Execution #Operators #Incrementing #/Decrementing #Operators #Logical #Operators #Bitwise #Operators #Array #Operators
#Type #Operators #Define #function #Const #keyword #Magic #constants #Scalar #Compound #Special #datatype #integer #AXIXA #Heredoc #nowdoc #Scope #syntax #php #web_development #free_classes #covid_19_special #stay_tuned #keep_watching #keep_supporting #subscribe_now #press_bell_icon #like #share #web_design #website_design
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «PHP Operator class 9 in hindi Bitwise, Array Operator», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.