{"id":74,"date":"2025-03-11T04:35:40","date_gmt":"2025-03-11T04:35:40","guid":{"rendered":"https:\/\/techkubo.com\/php\/?p=74"},"modified":"2025-05-23T17:59:26","modified_gmt":"2025-05-23T17:59:26","slug":"php-operators","status":"publish","type":"post","link":"https:\/\/techkubo.com\/php\/php-operators\/","title":{"rendered":"PHP Operators"},"content":{"rendered":"\n<p>Operators in PHP are essential tools for performing operations on variables and values. They make it possible to calculate, compare, assign, or manipulate data. These operators are divided into distinct groups to cater to specific functions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Categories of PHP Operators<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Arithmetic Operators<\/strong><\/li>\n\n\n\n<li><strong>Assignment Operators<\/strong><\/li>\n\n\n\n<li><strong>Comparison Operators<\/strong><\/li>\n\n\n\n<li><strong>Increment\/Decrement Operators<\/strong><\/li>\n\n\n\n<li><strong>Logical Operators<\/strong><\/li>\n\n\n\n<li><strong>String Operators<\/strong><\/li>\n\n\n\n<li><strong>Array Operators<\/strong><\/li>\n\n\n\n<li><strong>Conditional Assignment Operators<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP Arithmetic Operators<\/strong><\/h2>\n\n\n\n<p>Arithmetic operators allow you to perform mathematical calculations.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Name<\/strong><\/th><th><strong>Example<\/strong><\/th><th><strong>Result<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>+<\/code><\/td><td>Addition<\/td><td><code>$yamaha + $honda<\/code><\/td><td>Sum of <code>$yamaha<\/code> and <code>$honda<\/code><\/td><\/tr><tr><td><code>-<\/code><\/td><td>Subtraction<\/td><td><code>$yamaha - $honda<\/code><\/td><td>Difference between <code>$yamaha<\/code> and <code>$honda<\/code><\/td><\/tr><tr><td><code>*<\/code><\/td><td>Multiplication<\/td><td><code>$yamaha * $honda<\/code><\/td><td>Product of <code>$yamaha<\/code> and <code>$honda<\/code><\/td><\/tr><tr><td><code>\/<\/code><\/td><td>Division<\/td><td><code>$yamaha \/ $honda<\/code><\/td><td>Quotient of <code>$yamaha<\/code> divided by <code>$honda<\/code><\/td><\/tr><tr><td><code>%<\/code><\/td><td>Modulus<\/td><td><code>$yamaha % $honda<\/code><\/td><td>Remainder of <code>$yamaha<\/code> divided by <code>$honda<\/code><\/td><\/tr><tr><td><code>**<\/code><\/td><td>Exponentiation<\/td><td><code>$yamaha ** $honda<\/code><\/td><td><code>$yamaha<\/code> raised to the power of <code>$honda<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP Assignment Operators<\/strong><\/h2>\n\n\n\n<p>These operators assign values to variables. The <code>=<\/code> operator is the simplest form of assignment.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Same as\u2026<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>=<\/code><\/td><td><code>$bmw = $audi<\/code><\/td><td>Assigns the value of <code>$audi<\/code> to <code>$bmw<\/code><\/td><\/tr><tr><td><code>+=<\/code><\/td><td><code>$bmw += $audi<\/code><\/td><td>Adds <code>$audi<\/code> to <code>$bmw<\/code> and assigns the result to <code>$bmw<\/code><\/td><\/tr><tr><td><code>-=<\/code><\/td><td><code>$bmw -= $audi<\/code><\/td><td>Subtracts <code>$audi<\/code> from <code>$bmw<\/code> and assigns the result to <code>$bmw<\/code><\/td><\/tr><tr><td><code>*=<\/code><\/td><td><code>$bmw *= $audi<\/code><\/td><td>Multiplies <code>$bmw<\/code> by <code>$audi<\/code> and assigns the result to <code>$bmw<\/code><\/td><\/tr><tr><td><code>\/=<\/code><\/td><td><code>$bmw \/= $audi<\/code><\/td><td>Divides <code>$bmw<\/code> by <code>$audi<\/code> and assigns the quotient to <code>$bmw<\/code><\/td><\/tr><tr><td><code>%=<\/code><\/td><td><code>$bmw %= $audi<\/code><\/td><td>Assigns the remainder of <code>$bmw<\/code> divided by <code>$audi<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP Comparison Operators<\/strong><\/h2>\n\n\n\n<p>Comparison operators compare values, either numeric or string.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Name<\/strong><\/th><th><strong>Example<\/strong><\/th><th><strong>Result<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>==<\/code><\/td><td>Equal<\/td><td><code>$nike == $puma<\/code><\/td><td><code>true<\/code> if <code>$nike<\/code> equals <code>$puma<\/code><\/td><\/tr><tr><td><code>===<\/code><\/td><td>Identical<\/td><td><code>$nike === $puma<\/code><\/td><td><code>true<\/code> if <code>$nike<\/code> equals <code>$puma<\/code> and are of the same type<\/td><\/tr><tr><td><code>!=<\/code><\/td><td>Not Equal<\/td><td><code>$nike != $puma<\/code><\/td><td><code>true<\/code> if <code>$nike<\/code> is not equal to <code>$puma<\/code><\/td><\/tr><tr><td><code>&lt;&gt;<\/code><\/td><td>Not Equal<\/td><td><code>$nike &lt;&gt; $puma<\/code><\/td><td><code>true<\/code> if <code>$nike<\/code> is not equal to <code>$puma<\/code><\/td><\/tr><tr><td><code>!==<\/code><\/td><td>Not Identical<\/td><td><code>$nike !== $puma<\/code><\/td><td><code>true<\/code> if <code>$nike<\/code> is not equal to <code>$puma<\/code> or not the same type<\/td><\/tr><tr><td><code>&gt;<\/code><\/td><td>Greater Than<\/td><td><code>$nike &gt; $puma<\/code><\/td><td><code>true<\/code> if <code>$nike<\/code> is greater than <code>$puma<\/code><\/td><\/tr><tr><td><code>&lt;<\/code><\/td><td>Less Than<\/td><td><code>$nike &lt; $puma<\/code><\/td><td><code>true<\/code> if <code>$nike<\/code> is less than <code>$puma<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP Increment\/Decrement Operators<\/strong><\/h2>\n\n\n\n<p>Increment\/Decrement operators adjust a variable\u2019s value by one.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Description<\/strong><\/th><th><strong>Example<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>++$adidas<\/code><\/td><td>Pre-increment<\/td><td>Increment <code>$adidas<\/code> by 1, then return <code>$adidas<\/code><\/td><\/tr><tr><td><code>$adidas++<\/code><\/td><td>Post-increment<\/td><td>Return <code>$adidas<\/code>, then increment it by 1<\/td><\/tr><tr><td><code>--$adidas<\/code><\/td><td>Pre-decrement<\/td><td>Decrement <code>$adidas<\/code> by 1, then return <code>$adidas<\/code><\/td><\/tr><tr><td><code>$adidas--<\/code><\/td><td>Post-decrement<\/td><td>Return <code>$adidas<\/code>, then decrement it by 1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP Logical Operators<\/strong><\/h2>\n\n\n\n<p>Logical operators combine multiple conditional statements.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Name<\/strong><\/th><th><strong>Example<\/strong><\/th><th><strong>Result<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>and<\/code><\/td><td>And<\/td><td><code>$toyota and $nissan<\/code><\/td><td><code>true<\/code> if both <code>$toyota<\/code> and <code>$nissan<\/code> are true<\/td><\/tr><tr><td><code>or<\/code><\/td><td>Or<\/td><td><code>$toyota or $nissan<\/code><\/td><td><code>true<\/code> if at least one is true<\/td><\/tr><tr><td><code>!<\/code><\/td><td>Not<\/td><td><code>!$toyota<\/code><\/td><td><code>true<\/code> if <code>$toyota<\/code> is false<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP String Operators<\/strong><\/h2>\n\n\n\n<p>String operators are used for manipulating strings.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Name<\/strong><\/th><th><strong>Example<\/strong><\/th><th><strong>Result<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>.<\/code><\/td><td>Concatenation<\/td><td><code>$brand1 . $brand2<\/code><\/td><td>Combines <code>$brand1<\/code> and <code>$brand2<\/code> into a single string<\/td><\/tr><tr><td><code>.=<\/code><\/td><td>Concatenation Assignment<\/td><td><code>$brand1 .= $brand2<\/code><\/td><td>Appends <code>$brand2<\/code> to <code>$brand1<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP Array Operators<\/strong><\/h2>\n\n\n\n<p>Array operators allow comparisons between arrays or their combination.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Name<\/strong><\/th><th><strong>Example<\/strong><\/th><th><strong>Result<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>+<\/code><\/td><td>Union<\/td><td><code>$toyota + $honda<\/code><\/td><td>Combines arrays <code>$toyota<\/code> and <code>$honda<\/code>, keeping unique keys<\/td><\/tr><tr><td><code>==<\/code><\/td><td>Equality<\/td><td><code>$toyota == $honda<\/code><\/td><td>Returns <code>true<\/code> if <code>$toyota<\/code> and <code>$honda<\/code> have the same key-value pairs<\/td><\/tr><tr><td><code>===<\/code><\/td><td>Identity<\/td><td><code>$toyota === $honda<\/code><\/td><td>Returns <code>true<\/code> if <code>$toyota<\/code> and <code>$honda<\/code> are identical in type and order<\/td><\/tr><tr><td><code>!=<\/code><\/td><td>Inequality<\/td><td><code>$toyota != $honda<\/code><\/td><td>Returns <code>true<\/code> if <code>$toyota<\/code> is not equal to <code>$honda<\/code><\/td><\/tr><tr><td><code>&lt;&gt;<\/code><\/td><td>Inequality<\/td><td><code>$toyota &lt;&gt; $honda<\/code><\/td><td>Returns <code>true<\/code> if <code>$toyota<\/code> is not equal to <code>$honda<\/code><\/td><\/tr><tr><td><code>!==<\/code><\/td><td>Non-identity<\/td><td><code>$toyota !== $honda<\/code><\/td><td>Returns <code>true<\/code> if <code>$toyota<\/code> and <code>$honda<\/code> are not identical in type or order<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP Conditional Assignment Operators<\/strong><\/h2>\n\n\n\n<p>These operators allow assignment based on conditions.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Operator<\/strong><\/th><th><strong>Name<\/strong><\/th><th><strong>Example<\/strong><\/th><th><strong>Result<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>?:<\/code><\/td><td>Ternary<\/td><td><code>$bmw = ($audi &gt; 10) ? $audi : $toyota<\/code><\/td><td>If <code>$audi &gt; 10<\/code>, assigns <code>$audi<\/code> to <code>$bmw<\/code>; otherwise assigns <code>$toyota<\/code><\/td><\/tr><tr><td><code>??<\/code><\/td><td>Null Coalescing<\/td><td><code>$bmw = $audi ?? $toyota<\/code><\/td><td>Assigns <code>$audi<\/code> to <code>$bmw<\/code> if <code>$audi<\/code> exists and is not <code>NULL<\/code>; otherwise assigns <code>$toyota<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Operators in PHP are essential tools for performing operations on variables and values. They make it possible to calculate, compare, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP Operators - PHP Tutorial<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techkubo.com\/php\/php-operators\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP Operators - PHP Tutorial\" \/>\n<meta property=\"og:description\" content=\"Operators in PHP are essential tools for performing operations on variables and values. They make it possible to calculate, compare, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techkubo.com\/php\/php-operators\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-11T04:35:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-23T17:59:26+00:00\" \/>\n<meta name=\"author\" content=\"Manong\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manong\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/techkubo.com\/php\/php-operators\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/techkubo.com\/php\/php-operators\/\"},\"author\":{\"name\":\"Manong\",\"@id\":\"https:\/\/techkubo.com\/php\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965\"},\"headline\":\"PHP Operators\",\"datePublished\":\"2025-03-11T04:35:40+00:00\",\"dateModified\":\"2025-05-23T17:59:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techkubo.com\/php\/php-operators\/\"},\"wordCount\":421,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/techkubo.com\/php\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/techkubo.com\/php\/php-operators\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techkubo.com\/php\/php-operators\/\",\"url\":\"https:\/\/techkubo.com\/php\/php-operators\/\",\"name\":\"PHP Operators - PHP Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/techkubo.com\/php\/#website\"},\"datePublished\":\"2025-03-11T04:35:40+00:00\",\"dateModified\":\"2025-05-23T17:59:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techkubo.com\/php\/php-operators\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techkubo.com\/php\/php-operators\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techkubo.com\/php\/php-operators\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techkubo.com\/php\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP Operators\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techkubo.com\/php\/#website\",\"url\":\"https:\/\/techkubo.com\/php\/\",\"name\":\"PHP Tutorial\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/techkubo.com\/php\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techkubo.com\/php\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techkubo.com\/php\/#organization\",\"name\":\"PHP Tutorial\",\"url\":\"https:\/\/techkubo.com\/php\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techkubo.com\/php\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techkubo.com\/php\/wp-content\/uploads\/sites\/12\/2025\/04\/cropped-TechKubo-Logo-PNG.png\",\"contentUrl\":\"https:\/\/techkubo.com\/php\/wp-content\/uploads\/sites\/12\/2025\/04\/cropped-TechKubo-Logo-PNG.png\",\"width\":300,\"height\":220,\"caption\":\"PHP Tutorial\"},\"image\":{\"@id\":\"https:\/\/techkubo.com\/php\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/techkubo.com\/php\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965\",\"name\":\"Manong\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techkubo.com\/php\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g\",\"caption\":\"Manong\"},\"sameAs\":[\"https:\/\/techkubo.com\"],\"url\":\"https:\/\/techkubo.com\/php\/author\/manong\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP Operators - PHP Tutorial","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:\/\/techkubo.com\/php\/php-operators\/","og_locale":"en_US","og_type":"article","og_title":"PHP Operators - PHP Tutorial","og_description":"Operators in PHP are essential tools for performing operations on variables and values. They make it possible to calculate, compare, [&hellip;]","og_url":"https:\/\/techkubo.com\/php\/php-operators\/","og_site_name":"PHP Tutorial","article_published_time":"2025-03-11T04:35:40+00:00","article_modified_time":"2025-05-23T17:59:26+00:00","author":"Manong","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Manong","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techkubo.com\/php\/php-operators\/#article","isPartOf":{"@id":"https:\/\/techkubo.com\/php\/php-operators\/"},"author":{"name":"Manong","@id":"https:\/\/techkubo.com\/php\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965"},"headline":"PHP Operators","datePublished":"2025-03-11T04:35:40+00:00","dateModified":"2025-05-23T17:59:26+00:00","mainEntityOfPage":{"@id":"https:\/\/techkubo.com\/php\/php-operators\/"},"wordCount":421,"commentCount":0,"publisher":{"@id":"https:\/\/techkubo.com\/php\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techkubo.com\/php\/php-operators\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techkubo.com\/php\/php-operators\/","url":"https:\/\/techkubo.com\/php\/php-operators\/","name":"PHP Operators - PHP Tutorial","isPartOf":{"@id":"https:\/\/techkubo.com\/php\/#website"},"datePublished":"2025-03-11T04:35:40+00:00","dateModified":"2025-05-23T17:59:26+00:00","breadcrumb":{"@id":"https:\/\/techkubo.com\/php\/php-operators\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techkubo.com\/php\/php-operators\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/techkubo.com\/php\/php-operators\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techkubo.com\/php\/"},{"@type":"ListItem","position":2,"name":"PHP Operators"}]},{"@type":"WebSite","@id":"https:\/\/techkubo.com\/php\/#website","url":"https:\/\/techkubo.com\/php\/","name":"PHP Tutorial","description":"","publisher":{"@id":"https:\/\/techkubo.com\/php\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techkubo.com\/php\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techkubo.com\/php\/#organization","name":"PHP Tutorial","url":"https:\/\/techkubo.com\/php\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techkubo.com\/php\/#\/schema\/logo\/image\/","url":"https:\/\/techkubo.com\/php\/wp-content\/uploads\/sites\/12\/2025\/04\/cropped-TechKubo-Logo-PNG.png","contentUrl":"https:\/\/techkubo.com\/php\/wp-content\/uploads\/sites\/12\/2025\/04\/cropped-TechKubo-Logo-PNG.png","width":300,"height":220,"caption":"PHP Tutorial"},"image":{"@id":"https:\/\/techkubo.com\/php\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/techkubo.com\/php\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965","name":"Manong","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techkubo.com\/php\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g","caption":"Manong"},"sameAs":["https:\/\/techkubo.com"],"url":"https:\/\/techkubo.com\/php\/author\/manong\/"}]}},"_links":{"self":[{"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/posts\/74"}],"collection":[{"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":3,"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/posts\/74\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techkubo.com\/php\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}