{"id":436,"date":"2021-03-15T09:53:04","date_gmt":"2021-03-15T09:53:04","guid":{"rendered":"https:\/\/phptutorial.net\/?page_id=436"},"modified":"2025-04-09T08:58:12","modified_gmt":"2025-04-09T08:58:12","slug":"php-comparison-operators","status":"publish","type":"page","link":"https:\/\/www.phptutorial.net\/php-tutorial\/php-comparison-operators\/","title":{"rendered":"PHP Comparison Operators"},"content":{"rendered":"\n<p><strong>Summary<\/strong>: in this tutorial, you will learn how to use PHP comparison operators to compare two values.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id='introduction-to-php-comparison-operators'>Introduction to PHP comparison operators <a href=\"#introduction-to-php-comparison-operators\" class=\"anchor\" id=\"introduction-to-php-comparison-operators\" title=\"Anchor for Introduction to PHP comparison operators\">#<\/a><\/h2>\n\n\n\n<p>A comparison operator allows you to compare two values and returns <code>true<\/code> if the comparison is truthful and <code>false<\/code> otherwise.<\/p>\n\n\n\n<p>The following table shows the comparison operators in PHP:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Operator<\/th><th>Name<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>==<\/td><td>Equal to<\/td><td>Return&nbsp;<code>true<\/code> if both operands are equal; otherwise, it returns&nbsp;<code>false<\/code>.<\/td><\/tr><tr><td>!=, &lt;&gt;<\/td><td>Not equal to<\/td><td>Return <code>true<\/code> if both operands are equal; otherwise, it returns <code>false<\/code>.<\/td><\/tr><tr><td>===<\/td><td>Identical to<\/td><td>Return&nbsp;<code>true<\/code> if both operands have the same data type and are equal; otherwise, it returns <code>false<\/code>.<\/td><\/tr><tr><td>!==<\/td><td>Not identical to<\/td><td>Return&nbsp;<code>true<\/code> if both operands are not equal or do not have the same data type; otherwise, it returns <code>false<\/code>.<\/td><\/tr><tr><td>&gt;<\/td><td>Greater than<\/td><td>Return&nbsp;<code>true<\/code> if the operand on the left&nbsp; is greater than the operand on the right; otherwise, it returns&nbsp;<code>false<\/code>.<\/td><\/tr><tr><td>&gt;=<\/td><td>Greater than or equal to<\/td><td>Return&nbsp;<code>true<\/code> if the operand on the left&nbsp; is greater than or equal to the operand on the right; otherwise, it returns&nbsp;<code>false<\/code>.<\/td><\/tr><tr><td>&lt;<\/td><td>Less than<\/td><td>Return&nbsp;<code>true<\/code> if the operand on the left&nbsp;is less than the operand on the right; otherwise, it returns&nbsp;<code>false<\/code>.<\/td><\/tr><tr><td>&lt;=<\/td><td>Less than or equal to<\/td><td>Return&nbsp;<code>true<\/code> if the operand on the left&nbsp; is less than or equal to the operand on the right; otherwise, it returns&nbsp;<code>false<\/code>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id='equal-to-operator'>Equal To Operator (==) <a href=\"#equal-to-operator\" class=\"anchor\" id=\"equal-to-operator\" title=\"Anchor for Equal To Operator (==)\">#<\/a><\/h3>\n\n\n\n<p>The equal to operator returns <code>true<\/code> if both values are equal; otherwise, it returns <code>false<\/code>. <\/p>\n\n\n\n<p>The following example returns <code>true<\/code> because 10 is equal to 10:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">10<\/span>;\n$y = <span class=\"hljs-number\">10<\/span>;\n\nvar_dump($x == $y); <span class=\"hljs-comment\">\/\/ bool(true)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMTA7CiR5ID0gMTA7CnZhcl9kdW1wKCR4ID09ICR5KTsgLy8gYm9vbCh0cnVlKQ\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>The following example returns <code>false<\/code> because <code>10<\/code> is not equal <code>20<\/code>:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">\n<span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">20<\/span>;\n$y = <span class=\"hljs-number\">10<\/span>;\nvar_dump($x == $y); <span class=\"hljs-comment\">\/\/ bool(false)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMjA7CiR5ID0gMTA7CnZhcl9kdW1wKCR4ID09ICR5KTsgLy8gYm9vbChmYWxzZSk\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>The following example compares the number <code>20<\/code> with a string <code>'20'<\/code>, it also returns <code>true<\/code>.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-string\">'20'<\/span>;\n$y = <span class=\"hljs-number\">20<\/span>;\nvar_dump($x == $y); <span class=\"hljs-comment\">\/\/ bool(true)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gJzIwJzsKJHkgPSAyMDsKdmFyX2R1bXAoJHggPT0gJHkpOyAvLyBib29sKHRydWUp\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>If you want to compare two values with the consideration of type, you can use the identical operator (<code>===<\/code>).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='not-equal-to-operator'>Not equal to operator (!=, &lt;&gt;) <a href=\"#not-equal-to-operator\" class=\"anchor\" id=\"not-equal-to-operator\" title=\"Anchor for Not equal to operator (!=, &lt;&gt;)\">#<\/a><\/h3>\n\n\n\n<p>The not equal to (<code>!=<\/code>, <code>&lt;><\/code>) operator returns <code>true<\/code> if the lefthand value is not equal to the righthand value; otherwise, it returns <code>false<\/code>. For example:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">20<\/span>;\n$y = <span class=\"hljs-number\">10<\/span>;\n\nvar_dump($x != $y); <span class=\"hljs-comment\">\/\/ bool(true)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMjA7CiR5ID0gMTA7Cgp2YXJfZHVtcCgkeCAhPSAkeSk7IC8vIGJvb2wodHJ1ZSk\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>Output:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">bool(<span class=\"hljs-literal\">true<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\" id='identical-operator'>Identical operator (===) <a href=\"#identical-operator\" class=\"anchor\" id=\"identical-operator\" title=\"Anchor for Identical operator (===)\">#<\/a><\/h3>\n\n\n\n<p>The identical operator returns <code>true<\/code> if both values are equal and have the same type; otherwise returns <code>false<\/code>.<\/p>\n\n\n\n<p>The following example uses the identical operator to compare a string and a number. It returns <code>false<\/code> because these values have different types:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-string\">'20'<\/span>;\n$y = <span class=\"hljs-number\">20<\/span>;\nvar_dump($x === $y); <span class=\"hljs-comment\">\/\/ bool(false)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gJzIwJzsKJHkgPSAyMDsKdmFyX2R1bXAoJHggPT09ICR5KTsgLy8gYm9vbChmYWxzZSk\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='not-identical-operator'>Not identical operator (!==) <a href=\"#not-identical-operator\" class=\"anchor\" id=\"not-identical-operator\" title=\"Anchor for Not identical operator (!==)\">#<\/a><\/h3>\n\n\n\n<p>The not identical operator (!==) returns <code>true<\/code> if the values are not equal or they do not have the same type; otherwise, it returns <code>false<\/code>. For example:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">20<\/span>;\n$y = <span class=\"hljs-number\">10<\/span>;\n\nvar_dump($x != $y); <span class=\"hljs-comment\">\/\/ bool(true)<\/span>\n\n$x = <span class=\"hljs-number\">20<\/span>;\n$y = <span class=\"hljs-string\">'20'<\/span>;\nvar_dump($x != $y); <span class=\"hljs-comment\">\/\/ bool(false)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMjA7CiR5ID0gMTA7Cgp2YXJfZHVtcCgkeCAhPSAkeSk7IC8vIGJvb2wodHJ1ZSkKCiR4ID0gMjA7CiR5ID0gJzIwJzsKdmFyX2R1bXAoJHggIT0gJHkpOyAvLyBib29sKGZhbHNlKQ\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"block-9bdc92b5-32aa-40f8-ac8d-0abc1dce3d17\" id='greater-than'>Greater than (&gt;) <a href=\"#greater-than\" class=\"anchor\" id=\"greater-than\" title=\"Anchor for Greater than (&gt;)\">#<\/a><\/h3>\n\n\n\n<p>The greater-than operator returns <code>true<\/code> if the lefthand value is greater than the righthand value; otherwise, it returns <code>false<\/code>:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">10<\/span>;\n$y = <span class=\"hljs-number\">20<\/span>;\n\nvar_dump($x &gt; $y); <span class=\"hljs-comment\">\/\/ bool(false)<\/span>\nvar_dump($y &gt; $x); <span class=\"hljs-comment\">\/\/ bool(true)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMTA7CiR5ID0gMjA7Cgp2YXJfZHVtcCgkeCA-ICR5KTsgLy8gYm9vbChmYWxzZSkKdmFyX2R1bXAoJHkgPiAkeCk7IC8vIGJvb2wodHJ1ZSk\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='greater-than-or-equal-to'>Greater than or equal to (&gt;=) <a href=\"#greater-than-or-equal-to\" class=\"anchor\" id=\"greater-than-or-equal-to\" title=\"Anchor for Greater than or equal to (&gt;=)\">#<\/a><\/h3>\n\n\n\n<p>The greater than or equal to operator returns true if the lefthand value is greater than or equal to the righthand value; otherwise, it returns false. For example:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-9\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">20<\/span>;\n$y = <span class=\"hljs-number\">20<\/span>;\n\nvar_dump($x &gt;= $y); <span class=\"hljs-comment\">\/\/ bool(true)<\/span>\nvar_dump($y &gt;= $x); <span class=\"hljs-comment\">\/\/ bool(true)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-9\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMjA7CiR5ID0gMjA7Cgp2YXJfZHVtcCgkeCA-PSAkeSk7IC8vIGJvb2wodHJ1ZSkKdmFyX2R1bXAoJHkgPj0gJHgpOyAvLyBib29sKHRydWUp\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='less-than'>Less than (&lt;) <a href=\"#less-than\" class=\"anchor\" id=\"less-than\" title=\"Anchor for Less than (&lt;)\">#<\/a><\/h3>\n\n\n\n<p>The less-than operator returns true if the lefthand value is less than the righthand value; otherwise, it returns false. For example:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-10\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">20<\/span>;\n$y = <span class=\"hljs-number\">10<\/span>;\n\nvar_dump($x &lt; $y); <span class=\"hljs-comment\">\/\/ bool(false)<\/span>\nvar_dump($y &lt; $x); <span class=\"hljs-comment\">\/\/ bool(true)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-10\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMjA7CiR5ID0gMTA7Cgp2YXJfZHVtcCgkeCA8ICR5KTsgLy8gYm9vbChmYWxzZSkKdmFyX2R1bXAoJHkgPCAkeCk7IC8vIGJvb2wodHJ1ZSk\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='less-than-or-equal-to'>Less than or equal to (&lt;=) <a href=\"#less-than-or-equal-to\" class=\"anchor\" id=\"less-than-or-equal-to\" title=\"Anchor for Less than or equal to (&lt;=)\">#<\/a><\/h3>\n\n\n\n<p>If the lefthand value is less than or equal to the righthand value, the less than or equal to operator returns true; otherwise, it returns false. For example:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-11\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span>\n\n$x = <span class=\"hljs-number\">20<\/span>;\n$y = <span class=\"hljs-number\">20<\/span>;\n\nvar_dump($x &lt;= $y); <span class=\"hljs-comment\">\/\/ bool(true)<\/span>\nvar_dump($y &lt;= $x); <span class=\"hljs-comment\">\/\/ bool(true)<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-11\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/phptutorial.net\/playground\/?q=PD9waHAKCiR4ID0gMjA7CiR5ID0gMjA7Cgp2YXJfZHVtcCgkeCA8PSAkeSk7IC8vIGJvb2wodHJ1ZSkKdmFyX2R1bXAoJHkgPD0gJHgpOyAvLyBib29sKHRydWUp\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>In this tutorial, you have learned how to use the PHP comparison operators to compare two values of the same or different types.<\/p>\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Did you find this tutorial useful?<\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"436\"\n\t\t\t\tdata-post-url=\"https:\/\/www.phptutorial.net\/php-tutorial\/php-comparison-operators\/\"\n\t\t\t\tdata-post-title=\"PHP Comparison Operators\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"436\"\n\t\t\t\tdata-post-url=\"https:\/\/www.phptutorial.net\/php-tutorial\/php-comparison-operators\/\"\n\t\t\t\tdata-post-title=\"PHP Comparison Operators\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\n\t\t\t<button class=\"btn btn-primary wth-btn-submit\">Send<\/button>\n\t\t\t<button class=\"btn wth-btn-cancel\">Cancel<\/button>\n\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to use PHP comparison operators to compare two values.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":15,"menu_order":19,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-436","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/pages\/436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/comments?post=436"}],"version-history":[{"count":5,"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/pages\/436\/revisions"}],"predecessor-version":[{"id":3349,"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/pages\/436\/revisions\/3349"}],"up":[{"embeddable":true,"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/pages\/15"}],"wp:attachment":[{"href":"https:\/\/www.phptutorial.net\/wp-json\/wp\/v2\/media?parent=436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}