{"id":503,"date":"2022-10-29T07:30:19","date_gmt":"2022-10-29T07:30:19","guid":{"rendered":"https:\/\/www.devopstrainer.in\/blog\/?p=503"},"modified":"2022-10-29T07:30:19","modified_gmt":"2022-10-29T07:30:19","slug":"list-functions-available-to-sort-a-php-array-explain-with-example","status":"publish","type":"post","link":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/","title":{"rendered":"List functions available to sort a PHP array. explain with example"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-1024x512.png\" alt=\"\" class=\"wp-image-506\" width=\"802\" height=\"401\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-1024x512.png 1024w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-300x150.png 300w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-768x384.png 768w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-1536x768.png 1536w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-2048x1024.png 2048w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><figcaption><strong>Array sorting functions<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">What is sorting?<\/h2>\n\n\n\n<p>Sorting is a way in PHP to order data in an alphabetical, numerical, and increasing or decreasing order fashion according to some linear relationship among the data items. Sorting greatly builds the efficiency of searching.<\/p>\n\n\n\n<p>There are six Sorting functions for Arrays in PHP<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>sort() \u2013 Ascending order in sorts arrays<\/li><li>rsort() \u2013 Descending order in sorts arrays<\/li><li>asort() \u2013 Ascending order in sorts associative arrays, according to the value<\/li><li>ksort() \u2013 Ascending order in sorts associative arrays, according to the key<\/li><li>arsort() \u2013Descending order in sorts associative arrays, according to the value<\/li><li>krsort() \u2013Descending order in sorts associative arrays, according to the key<\/li><\/ul>\n\n\n\n<p>Ascending Order in Sort Array \u2013 sort()<\/p>\n\n\n\n<p>The following function sorts the elements of a numerical array in ascending numerical order:<\/p>\n\n\n\n<p>INPUT :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\n$numbers = array(40, 61, 2, 22, 13);\r\nsort($numbers);\r\n  \r\n$arrlength = count($numbers);\r\nfor($x = 0; $x &lt; $arrlength; $x++) {\r\n    echo $numbers&#91;$x];\r\n    echo \"&lt;br>\";\r\n}\r\n?><\/code><\/pre>\n\n\n\n<p>OUTPUT :<\/p>\n\n\n\n<p>2<br>13<br>22<br>40<br>61<\/p>\n\n\n\n<p>Descending Order in Sort Array \u2013 rsort()<br>The following function sorts the elements of a numerical array in descending numerical order:<\/p>\n\n\n\n<p>INPUT :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\n$numbers = array(40, 61, 2, 22, 13);\r\nrsort($numbers);\r\n  \r\n$arrlength = count($numbers);\r\nfor($x = 0; $x &lt; $arrlength; $x++) {\r\n    echo $numbers&#91;$x];\r\n    echo \"&lt;br>\";\r\n}\r\n?><\/code><\/pre>\n\n\n\n<p>OUTPUT :<br>61<br>40<br>22<br>13<br>2<\/p>\n\n\n\n<p>Ascending Order in Sort Array, According to Value \u2013 asort()<br>The following function sorts an associative array in ascending order, according to the value:<\/p>\n\n\n\n<p>INPUT :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\n$age = array(\"Mayur\"=>\"23\", \"Pritakh\"=>\"47\", \"Shailesh\"=>\"41\");\r\nasort($age);\r\n  \r\nforeach($age as $x => $x_value) {\r\n    echo \"Key=\" . $x . \", Value=\" . $x_value;\r\n    echo \"&lt;br>\";\r\n}\r\n?><\/code><\/pre>\n\n\n\n<p>OUTPUT :<\/p>\n\n\n\n<p>Key=Mayur, Value=23<br>Key=Pritakh, Value=41<br>Key=Shailesh, Value=47<\/p>\n\n\n\n<p>Ascending Order in Sort Array, According to Key \u2013 ksort()<br>The following function sorts an associative array in ascending order, according to the key:<\/p>\n\n\n\n<p>INPUT :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\n$age = array(\"Mayur\"=>\"23\", \"Pritakh\"=>\"47\", \"Shailesh\"=>\"41\");\r\nksort($age);\r\n  \r\nforeach($age as $x => $x_value) {\r\n    echo \"Key=\" . $x . \", Value=\" . $x_value;\r\n    echo \"&lt;br>\";\r\n}\r\n?><\/code><\/pre>\n\n\n\n<p>OUTPUT :<\/p>\n\n\n\n<p>Key=Mayur, Value=23<br>Key=Pritakh, Value=41<br>Key=Shailesh, Value=47<\/p>\n\n\n\n<p>Descending Order in Sort Array, According to Value \u2013 arsort()<br>The following function sorts an associative array in descending order, according to the value.<\/p>\n\n\n\n<p>INPUT :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\n$age = array(\"Mayur\"=>\"23\", \"Pritakh\"=>\"47\", \"Shailesh\"=>\"41\");\r\narsort($age);\r\n  \r\nforeach($age as $x => $x_value) {\r\n    echo \"Key=\" . $x . \", Value=\" . $x_value;\r\n    echo \"&lt;br>\";\r\n}\r\n?><\/code><\/pre>\n\n\n\n<p>OUTPUT :<\/p>\n\n\n\n<p>Key=Mayur, Value=47<br>Key=Pritakh, Value=41<br>Key=Shailesh, Value=23<\/p>\n\n\n\n<p>Descending Order in Sort Array, According to Key \u2013 krsort()<br>The following function sorts an associative array in descending order, according to the key.<\/p>\n\n\n\n<p>INPUT :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\n$age = array(\"Mayur\"=>\"23\", \"Pritakh\"=>\"47\", \"Shailesh\"=>\"41\");\r\nkrsort($age);\r\n  \r\nforeach($age as $x => $x_value) {\r\n    echo \"Key=\" . $x . \", Value=\" . $x_value;\r\n    echo \"&lt;br>\";\r\n}\r\n?><\/code><\/pre>\n\n\n\n<p>OUTPUT :<\/p>\n\n\n\n<p>Key=Mayur, Value=47<br>Key=Pritakh, Value=41<br>Key=Shailesh, Value=23<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is sorting? Sorting is a way in PHP to order data in an alphabetical, numerical, and increasing or decreasing order fashion according to some linear relationship&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[145,165,113,193,194],"tags":[196,197,200,198,201,199,195],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-array","category-function","category-php","category-php-array","category-sorting-functions","tag-arrays-in-php","tag-ascending-order-in-sorts-arrays","tag-ascending-order-in-sorts-associative-arrays","tag-descending-order-in-sorts-arrays","tag-descending-order-in-sorts-associative-arrays","tag-functions-available-to-sort-a-php-array","tag-sorting-functions-for-arrays"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>List functions available to sort a PHP array. explain with example - DevOps | SRE | DevSecOps<\/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:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"List functions available to sort a PHP array. explain with example - DevOps | SRE | DevSecOps\" \/>\n<meta property=\"og:description\" content=\"What is sorting? Sorting is a way in PHP to order data in an alphabetical, numerical, and increasing or decreasing order fashion according to some linear relationship...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps | SRE | DevSecOps\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-29T07:30:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-1024x512.png\" \/>\n<meta name=\"author\" content=\"rahulkr kr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rahulkr kr\" \/>\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:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/\"},\"author\":{\"name\":\"rahulkr kr\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\"},\"headline\":\"List functions available to sort a PHP array. explain with example\",\"datePublished\":\"2022-10-29T07:30:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/\"},\"wordCount\":297,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/array-sorting-functions-1024x512.png\",\"keywords\":[\"Arrays in PHP\",\"Ascending order in sorts arrays\",\"Ascending order in sorts associative arrays\",\"Descending order in sorts arrays\",\"Descending order in sorts associative arrays\",\"functions available to sort a PHP array\",\"Sorting functions for Arrays\"],\"articleSection\":[\"Array\",\"Function\",\"PHP\",\"PHP Array\",\"Sorting Functions\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/\",\"name\":\"List functions available to sort a PHP array. explain with example - DevOps | SRE | DevSecOps\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/array-sorting-functions-1024x512.png\",\"datePublished\":\"2022-10-29T07:30:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/array-sorting-functions.png\",\"contentUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/array-sorting-functions.png\",\"width\":4445,\"height\":2223},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/list-functions-available-to-sort-a-php-array-explain-with-example\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List functions available to sort a PHP array. explain with example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/\",\"name\":\"DevOps | SRE | DevSecOps\",\"description\":\"Automation means Cost, Quality, Time\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\",\"name\":\"rahulkr kr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"caption\":\"rahulkr kr\"},\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/author\\\/rahulkr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"List functions available to sort a PHP array. explain with example - DevOps | SRE | DevSecOps","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.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/","og_locale":"en_US","og_type":"article","og_title":"List functions available to sort a PHP array. explain with example - DevOps | SRE | DevSecOps","og_description":"What is sorting? Sorting is a way in PHP to order data in an alphabetical, numerical, and increasing or decreasing order fashion according to some linear relationship...","og_url":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/","og_site_name":"DevOps | SRE | DevSecOps","article_published_time":"2022-10-29T07:30:19+00:00","og_image":[{"url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-1024x512.png","type":"","width":"","height":""}],"author":"rahulkr kr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rahulkr kr","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#article","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/"},"author":{"name":"rahulkr kr","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d"},"headline":"List functions available to sort a PHP array. explain with example","datePublished":"2022-10-29T07:30:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/"},"wordCount":297,"commentCount":0,"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-1024x512.png","keywords":["Arrays in PHP","Ascending order in sorts arrays","Ascending order in sorts associative arrays","Descending order in sorts arrays","Descending order in sorts associative arrays","functions available to sort a PHP array","Sorting functions for Arrays"],"articleSection":["Array","Function","PHP","PHP Array","Sorting Functions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/","url":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/","name":"List functions available to sort a PHP array. explain with example - DevOps | SRE | DevSecOps","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#primaryimage"},"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions-1024x512.png","datePublished":"2022-10-29T07:30:19+00:00","author":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d"},"breadcrumb":{"@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#primaryimage","url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions.png","contentUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/10\/array-sorting-functions.png","width":4445,"height":2223},{"@type":"BreadcrumbList","@id":"https:\/\/www.devopstrainer.in\/blog\/list-functions-available-to-sort-a-php-array-explain-with-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.devopstrainer.in\/blog\/"},{"@type":"ListItem","position":2,"name":"List functions available to sort a PHP array. explain with example"}]},{"@type":"WebSite","@id":"https:\/\/www.devopstrainer.in\/blog\/#website","url":"https:\/\/www.devopstrainer.in\/blog\/","name":"DevOps | SRE | DevSecOps","description":"Automation means Cost, Quality, Time","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopstrainer.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d","name":"rahulkr kr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","caption":"rahulkr kr"},"url":"https:\/\/www.devopstrainer.in\/blog\/author\/rahulkr\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":4,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":508,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/503\/revisions\/508"}],"wp:attachment":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}