{"id":235,"date":"2018-07-12T03:04:23","date_gmt":"2018-07-12T03:04:23","guid":{"rendered":"https:\/\/www.go4expert.com\/tutorials\/?p=235"},"modified":"2018-08-01T01:18:22","modified_gmt":"2018-08-01T01:18:22","slug":"operator-types","status":"publish","type":"post","link":"https:\/\/www.go4expert.com\/tutorials\/operator-types\/","title":{"rendered":"Operator Types"},"content":{"rendered":"<p>PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values. These variables or values on which the operator performs actions are called operands.<\/p>\n<p>For example, the addition symbol (+) is an operator that instructs PHP to add two variables or values, while the greater than symbol is an operator that instructs PHP to compare two values.<\/p>\n<p>All PHP operators can be grouped into the following categories depending on the type of operation performed using them:<\/p>\n<ol>\n<li>Arithmetic Operators<\/li>\n<li>Assignment Operators<\/li>\n<li>Comparison Operators<\/li>\n<li>Increment\/Decrement Operators<\/li>\n<li>Logical Operators<\/li>\n<li>String Concatenation Operators<\/li>\n<li>Array Operators<\/li>\n<\/ol>\n<h2>PHP Arithmetic Operators<\/h2>\n<p>Arithmetic operators can be used to perform common arithmetical operations, such as addition, subtraction, multiplication and so on with numerical variables and values. The following table shows the complete list of PHP's arithmetic operators:<\/p>\n<table>\n<thead>\n<tr>\n<th>Operator<\/th>\n<th>Name<\/th>\n<th>Example<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>+<\/td>\n<td>Addition<\/td>\n<td>$a + $b<\/td>\n<td>Sum of $a and $b<\/td>\n<\/tr>\n<tr>\n<td>-<\/td>\n<td>Subtraction<\/td>\n<td>$a - $b<\/td>\n<td>Difference of $a and $b<\/td>\n<\/tr>\n<tr>\n<td>*<\/td>\n<td>Multiplication<\/td>\n<td>$a * $b<\/td>\n<td>Product of $a and $b<\/td>\n<\/tr>\n<tr>\n<td>\/<\/td>\n<td>Division<\/td>\n<td>$a \/ $b<\/td>\n<td>Quotient of $a and $b<\/td>\n<\/tr>\n<tr>\n<td>%<\/td>\n<td>Modulus<\/td>\n<td>$a % $b<\/td>\n<td>Remainder of $a divided by $b<\/td>\n<\/tr>\n<tr>\n<td>**<\/td>\n<td>Exponentiation<\/td>\n<td>$a**$b<\/td>\n<td>Raising $a to the power of $b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following example shows us how arithmetic operators can be used while programming in PHP.<\/p>\n<p><b>Example :<\/b><\/p>\n<div class=\"bbCodeBlock\"><div class=\"type\">Code: <\/div><textarea readonly=\"readonly\">&lt;?php\n$x = 10;\n$y = 4;\necho($x + $y); \/\/ 0utputs: 14\n$z=$x - $y;\necho($z); \/\/ 0utputs: 6\n$z=$x * $y;\necho($z); \/\/ 0utputs: 40\n$z=$x \/ $y;\necho($z);\n\/\/ 0utputs: 2.5\necho($x % $y); \/\/ 0utputs: 2\n?&gt;\n<\/textarea><\/div>\n<h2>PHP Assignment Operators<\/h2>\n<p>Assignment operators are used with numerical values to assign values to variables. The assignment operator is \u201c=\u201d. When it is used with numerical values the operand on the left gets assigned the value of the expression on the right. However it has a different meaning when it is used with strings.<\/p>\n<table>\n<thead>\n<tr>\n<th>Operator<\/th>\n<th>Name<\/th>\n<th>Example<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>=<\/td>\n<td>Assign<\/td>\n<td>$a = $b<\/td>\n<td>$a = $b<\/td>\n<\/tr>\n<tr>\n<td>+=<\/td>\n<td>Add and assign<\/td>\n<td>$a += $b<\/td>\n<td>$a = $a + $b<\/td>\n<\/tr>\n<tr>\n<td>-=<\/td>\n<td>Subtract and assign<\/td>\n<td>$a -= $b<\/td>\n<td>$a = $a - $b<\/td>\n<\/tr>\n<tr>\n<td>*=<\/td>\n<td>Multiply and assign<\/td>\n<td>$a *= $b<\/td>\n<td>$a = $a * $b<\/td>\n<\/tr>\n<tr>\n<td>\/=<\/td>\n<td>Divide and assign - Quotient<\/td>\n<td>$a \/= $b<\/td>\n<td>$a = $a \/ $b<\/td>\n<\/tr>\n<tr>\n<td>%=<\/td>\n<td>Divide and assign - Modulus<\/td>\n<td>$a %= $b<\/td>\n<td>$a = $a % $b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following example which shows assignment operators in action<\/p>\n<p><b><\/b><b>Example:<\/b><\/p>\n<div class=\"bbCodeBlock\"><div class=\"type\">Code: <\/div><textarea readonly=\"readonly\">\n&lt;?php\n$a = 10;\necho $a; \/\/ Outputs: 10\n$a = 20;\n$a += 30;\necho $a; \/\/ Outputs: 50\n$a = 60;\n$a -= 20;\necho $a ; \/\/ Outputs: 40\n$a = 5;\n$a *= 20;\necho $a; \/\/ Outputs: 100\n$a = 50;\n$a \/= 10;\necho $a; \/\/ Outputs: 5\n$a = 100;\n$a %= 15;\necho $a; \/\/ Outputs: 10\n?&gt;\n<\/textarea><\/div>\n<h2>PHP Comparison Operators<\/h2>\n<p>The Comparison Operators are used to compare any two values which could be a string or a number. Comparison operators are generally used to control the flow of the program.<\/p>\n<table>\n<thead>\n<tr>\n<th>Operator<\/th>\n<th>Name<\/th>\n<th>Example<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>==<\/td>\n<td>Equal<\/td>\n<td>$a == $b<\/td>\n<td>True - if $a is equal to $b<\/td>\n<\/tr>\n<tr>\n<td>===<\/td>\n<td>Identical<\/td>\n<td>$a === $b<\/td>\n<td>True only if $a is equal to $b and a &amp; b are of the same type<\/td>\n<\/tr>\n<tr>\n<td>!=<\/td>\n<td>Not equal<\/td>\n<td>$a != $b<\/td>\n<td>True - if $a is not equal to $b<\/td>\n<\/tr>\n<tr>\n<td>&gt;&lt;<\/td>\n<td>Not equal<\/td>\n<td>$a&gt;&lt;$b<\/td>\n<td>True - if $a is not equal to $b<\/td>\n<\/tr>\n<tr>\n<td>!==<\/td>\n<td>Not identical<\/td>\n<td>$a !== $b<\/td>\n<td>True - if $a is not equal to $b, or they are not of the same type<\/td>\n<\/tr>\n<tr>\n<td>&lt;<\/td>\n<td>Less than<\/td>\n<td>$a &lt; $b<\/td>\n<td>True if $a is less than $b<\/td>\n<\/tr>\n<tr>\n<td>&gt;<\/td>\n<td>Greater than<\/td>\n<td>$a &gt; $b<\/td>\n<td>True if $a is greater than $b<\/td>\n<\/tr>\n<tr>\n<td>&gt;=<\/td>\n<td>Greater than or equal to<\/td>\n<td>$a &gt;= $b<\/td>\n<td>True if $a is greater than or equal to $b<\/td>\n<\/tr>\n<tr>\n<td>&lt;=<\/td>\n<td>Less than or equal to<\/td>\n<td>$a &lt;= $b<\/td>\n<td>True if $a is less than or equal to $b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Comparison operators help us compare two values in a Boolean manner.<\/p>\n<p><b><\/b><b>Example:<\/b><\/p>\n<div class=\"bbCodeBlock\"><div class=\"type\">Code: <\/div><textarea readonly=\"readonly\">\n&lt;?php\n$a = 25;\n$b = 35;\n$c = \"25\";\nvar_col($a == $c);\n\/\/ Outputs: boolean true\nvar_ col ($a === $c);\n\/\/ Outputs: boolean false\nvar_ col ($a != $b);\n\/\/ Outputs: boolean true\nvar_ col ($a !== $c);\n\/\/ Outputs: boolean true\nvar_ col ($a $b);\n\/\/ Outputs: boolean false\nvar_ col ($a = $b);\n\/\/ Outputs: boolean false\n?&gt;\n<\/textarea><\/div>\n<h2>PHP Comparison Operators<\/h2>\n<p>The Comparison Operators are used to compare any two values which could be a string or a number.<\/p>\n<table>\n<thead>\n<tr>\n<th>Operator<\/th>\n<th>Name<\/th>\n<th>Effect<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>++$a<\/td>\n<td>Pre-increment<\/td>\n<td>Increments $a by one, then returns $a<\/td>\n<\/tr>\n<tr>\n<td>$a++<\/td>\n<td>Post-increment<\/td>\n<td>Returns $a, then increments $a by one<\/td>\n<\/tr>\n<tr>\n<td>--$a<\/td>\n<td>Pre-decrement<\/td>\n<td>Decrements $a by one, then returns $a<\/td>\n<\/tr>\n<tr>\n<td>$a--<\/td>\n<td>Post-decrement<\/td>\n<td>Returns $a, then decrements $a by one<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following example shows the practical usage of the increment and decrement operators.<\/p>\n<p><b><\/b><b>Example:<\/b><\/p>\n<div class=\"bbCodeBlock\"><div class=\"type\">Code: <\/div><textarea readonly=\"readonly\">&lt;?php\n$a = 20;\necho ++$a; \/\/ Outputs: 21\necho $a; \/\/ Outputs: 21\n$a = 20;\necho $a++;\n\/\/ Outputs: 20\necho $a;\n\/\/ Outputs: 21\n$a = 20;\necho --$a;\n\/\/ Outputs: 19\necho $a;\n\/\/ Outputs: 19\n$x = 20;\necho $x--;\n\/\/ Outputs: 20\necho $x;\n\/\/ Outputs: 19\n?&gt;<\/textarea><\/div>\n<h2>PHP Logical Operators<\/h2>\n<p>Logical operators are generally used to combine conditional statements.<\/p>\n<table>\n<thead>\n<tr>\n<th>Operator<\/th>\n<th>Name<\/th>\n<th>Example<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>And<\/td>\n<td>And<\/td>\n<td>$a and $b<\/td>\n<td>True if both $a and $b are true<\/td>\n<\/tr>\n<tr>\n<td>Or<\/td>\n<td>Or<\/td>\n<td>$a or $b<\/td>\n<td>True if either $a or $b is true<\/td>\n<\/tr>\n<tr>\n<td>Xor<\/td>\n<td>Xor<\/td>\n<td>$a xor $b<\/td>\n<td>True if either $a or $b is true, but not both<\/td>\n<\/tr>\n<tr>\n<td>&amp;&amp;<\/td>\n<td>And<\/td>\n<td>$a &amp;&amp; $b<\/td>\n<td>True if both $a and $b are true<\/td>\n<\/tr>\n<tr>\n<td>||<\/td>\n<td>Or<\/td>\n<td>$a || $b<\/td>\n<td>True if either $$a or $b is true<\/td>\n<\/tr>\n<tr>\n<td>!<\/td>\n<td>Not<\/td>\n<td>!$a<\/td>\n<td>True if $a is not true<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following example shows these logical operators in action:<\/p>\n<p><b>Example:<\/b><\/p>\n<pre><div class=\"bbCodeBlock\"><div class=\"type\">Code: <\/div><textarea readonly=\"readonly\">&lt;?php\r\n$year = 2018;\r\n\/\/ Leap years are divisible by 400 or by 4 but not 100\r\nif(($year % 400 == 0) || (($year % 100 != 0) &amp;&amp; ($year % 4 == 0))){\r\n    echo \"$year is a leap year.\";\r\n}\r\nelse{\r\n    echo \"$year is not a leap year.\";\r\n}\r\n?&gt;<\/textarea><\/div><\/pre>\n<h2>PHP Array Operators<\/h2>\n<p>Array operators are operators which allow us to perform union and high level comparison operations on arrays.<\/p>\n<table>\n<thead>\n<tr>\n<th>Operator<\/th>\n<th>Name<\/th>\n<th>Example<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>+<\/td>\n<td>Union<\/td>\n<td>$a + $b<\/td>\n<td>Union of $a and $b<\/td>\n<\/tr>\n<tr>\n<td>==<\/td>\n<td>Equality<\/td>\n<td>$a == $b<\/td>\n<td>Appends $string2 to $string1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following example shows you these string operators in action<\/p>\n<p><b>Example:<\/b><\/p>\n<div class=\"bbCodeBlock\"><div class=\"type\">Code: <\/div><textarea readonly=\"readonly\">&lt;?php\n$x = \"Hello\";\n$y = \" World!\";\necho $x . $y; \/\/ Outputs: Hello my World!\n$x .= $y;\necho $x; \/\/ Outputs: Hello my World!\n?&gt;<\/textarea><\/div>\n<h2>PHP Array Operators<\/h2>\n<p>Array operators are operators which allow us to perform union and high level comparison operations on arrays.<\/p>\n<table>\n<thead>\n<tr>\n<th>Operator<\/th>\n<th>Name<\/th>\n<th>Example<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>+<\/td>\n<td>Union<\/td>\n<td>$a + $b<\/td>\n<td>Union of $a and $b<\/td>\n<\/tr>\n<tr>\n<td>==<\/td>\n<td>Equality<\/td>\n<td>$a == $b<\/td>\n<td>True if $a and $b have the same key\/value pairs<\/td>\n<\/tr>\n<tr>\n<td>===<\/td>\n<td>Identity<\/td>\n<td>$a === $b<\/td>\n<td>True if $a and $b have the same key\/value pairs in the same order and of the same types<\/td>\n<\/tr>\n<tr>\n<td>!=<\/td>\n<td>Inequality<\/td>\n<td>$a != $b<\/td>\n<td>True if $a is not equal to $b<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Inequality<\/td>\n<td>$a $b<\/td>\n<td>True if $a is not equal to $b<\/td>\n<\/tr>\n<tr>\n<td>!==<\/td>\n<td>Non-identity<\/td>\n<td>$a !== $b<\/td>\n<td>True if $a is not identical to $b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Below example shows these array operators in action<\/p>\n<p><b>Example :<\/b><\/p>\n<div class=\"bbCodeBlock\"><div class=\"type\">Code: <\/div><textarea readonly=\"readonly\">&lt;?php\n$x = array(\"a\" =&gt; \"Red\", \"b\" =&gt; \"Green\", \"c\" =&gt; \"Blue\");\n$y = array(\"u\" =&gt; \"Yellow\", \"v\" =&gt; \"Orange\", \"w\" =&gt; \"Pink\");\n$z = $x + $y; \/\/ Union of $x and $y\nvar_dmp($z);\nvar_dmp($x == $y); \/\/ Outputs: boolean false\nvar_dmp($x === $y); \/\/ Outputs: boolean false\nvar_dmp($x != $y); \/\/ Outputs: boolean true\nvar_dmp($x $y); \/\/ Outputs: boolean true\nvar_dmp($x !== $y); \/\/ Outputs: boolean true\n?&gt;<\/textarea><\/div>\n","protected":false},"excerpt":{"rendered":"<p>PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values. <\/p>\n","protected":false},"author":1,"featured_media":210,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[7],"tags":[],"class_list":{"0":"post-235","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-php","8":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Operator Types - Go4Expert Tutorials<\/title>\n<meta name=\"description\" content=\"PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.go4expert.com\/tutorials\/operator-types\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Operator Types - Go4Expert Tutorials\" \/>\n<meta property=\"og:description\" content=\"PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.go4expert.com\/tutorials\/operator-types\/\" \/>\n<meta property=\"og:site_name\" content=\"Go4Expert Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-12T03:04:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-01T01:18:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.go4expert.com\/tutorials\/wp-content\/uploads\/2018\/07\/PHP.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"770\" \/>\n\t<meta property=\"og:image:height\" content=\"385\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"shabbir\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shabbir\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/operator-types\/\",\"url\":\"https:\/\/www.go4expert.com\/tutorials\/operator-types\/\",\"name\":\"Operator Types - Go4Expert Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/#website\"},\"datePublished\":\"2018-07-12T03:04:23+00:00\",\"dateModified\":\"2018-08-01T01:18:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/#\/schema\/person\/187ce4675295e6b09b98a9374ce2fec6\"},\"description\":\"PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/operator-types\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.go4expert.com\/tutorials\/operator-types\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/operator-types\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.go4expert.com\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Operator Types\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/#website\",\"url\":\"https:\/\/www.go4expert.com\/tutorials\/\",\"name\":\"Go4Expert Tutorials\",\"description\":\"Programming And Web Development Tutorials\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.go4expert.com\/tutorials\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/#\/schema\/person\/187ce4675295e6b09b98a9374ce2fec6\",\"name\":\"shabbir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.go4expert.com\/tutorials\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/303ce933c6bfabf6ac58bc870c696a1d5ef98012ecb820a4a7921853b813406f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/303ce933c6bfabf6ac58bc870c696a1d5ef98012ecb820a4a7921853b813406f?s=96&d=mm&r=g\",\"caption\":\"shabbir\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Operator Types - Go4Expert Tutorials","description":"PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.go4expert.com\/tutorials\/operator-types\/","og_locale":"en_US","og_type":"article","og_title":"Operator Types - Go4Expert Tutorials","og_description":"PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values.","og_url":"https:\/\/www.go4expert.com\/tutorials\/operator-types\/","og_site_name":"Go4Expert Tutorials","article_published_time":"2018-07-12T03:04:23+00:00","article_modified_time":"2018-08-01T01:18:22+00:00","og_image":[{"width":770,"height":385,"url":"https:\/\/www.go4expert.com\/tutorials\/wp-content\/uploads\/2018\/07\/PHP.jpg","type":"image\/jpeg"}],"author":"shabbir","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shabbir","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.go4expert.com\/tutorials\/operator-types\/","url":"https:\/\/www.go4expert.com\/tutorials\/operator-types\/","name":"Operator Types - Go4Expert Tutorials","isPartOf":{"@id":"https:\/\/www.go4expert.com\/tutorials\/#website"},"datePublished":"2018-07-12T03:04:23+00:00","dateModified":"2018-08-01T01:18:22+00:00","author":{"@id":"https:\/\/www.go4expert.com\/tutorials\/#\/schema\/person\/187ce4675295e6b09b98a9374ce2fec6"},"description":"PHP language provides us with a range of operators which allow us to perform diverse operations or actions on variables or values.","breadcrumb":{"@id":"https:\/\/www.go4expert.com\/tutorials\/operator-types\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.go4expert.com\/tutorials\/operator-types\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.go4expert.com\/tutorials\/operator-types\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.go4expert.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Operator Types"}]},{"@type":"WebSite","@id":"https:\/\/www.go4expert.com\/tutorials\/#website","url":"https:\/\/www.go4expert.com\/tutorials\/","name":"Go4Expert Tutorials","description":"Programming And Web Development Tutorials","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.go4expert.com\/tutorials\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.go4expert.com\/tutorials\/#\/schema\/person\/187ce4675295e6b09b98a9374ce2fec6","name":"shabbir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.go4expert.com\/tutorials\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/303ce933c6bfabf6ac58bc870c696a1d5ef98012ecb820a4a7921853b813406f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/303ce933c6bfabf6ac58bc870c696a1d5ef98012ecb820a4a7921853b813406f?s=96&d=mm&r=g","caption":"shabbir"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.go4expert.com\/tutorials\/wp-content\/uploads\/2018\/07\/PHP.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9JSSi-3N","_links":{"self":[{"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":23,"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":369,"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/posts\/235\/revisions\/369"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/media\/210"}],"wp:attachment":[{"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.go4expert.com\/tutorials\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}