{"id":80,"date":"2024-07-17T09:20:21","date_gmt":"2024-07-17T09:20:21","guid":{"rendered":"https:\/\/shaplakanon.com\/wdc\/?p=80"},"modified":"2024-07-17T09:20:22","modified_gmt":"2024-07-17T09:20:22","slug":"beginners-tutorial-on-php-math-functions","status":"publish","type":"post","link":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/","title":{"rendered":"Beginner&#8217;s Tutorial on PHP Math Functions"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Introduction<\/h4>\n\n\n\n<p>PHP provides a wide range of mathematical functions that make it easy to perform various calculations. This tutorial will guide you through the most commonly used PHP math functions, providing examples and explanations to help you understand how to use them effectively in your projects.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Basic Math Functions<\/h4>\n\n\n\n<p>PHP includes several basic math functions to perform common mathematical operations. Below are some of the most frequently used functions:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><code>abs()<\/code><\/strong>: Returns the absolute (positive) value of a number.<\/li>\n\n\n\n<li><strong><code>round()<\/code><\/strong>: Rounds a floating-point number to its nearest integer.<\/li>\n\n\n\n<li><strong><code>ceil()<\/code><\/strong>: Rounds a floating-point number up to the nearest integer.<\/li>\n\n\n\n<li><strong><code>floor()<\/code><\/strong>: Rounds a floating-point number down to the nearest integer.<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">Examples<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Absolute Value<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$number = -15;\necho abs($number); \/\/ Outputs: 15\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Rounding<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$number = 4.7;\necho round($number); \/\/ Outputs: 5\n\n$number = 4.3;\necho round($number); \/\/ Outputs: 4\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Ceiling<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$number = 4.3;\necho ceil($number); \/\/ Outputs: 5\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li><strong>Flooring<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$number = 4.7;\necho floor($number); \/\/ Outputs: 4\n?&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Advanced Math Functions<\/h4>\n\n\n\n<p>In addition to basic functions, PHP offers more advanced math functions for complex calculations:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><code>min()<\/code> and <code>max()<\/code><\/strong>: Find the lowest and highest values in a list of arguments.<\/li>\n\n\n\n<li><strong><code>sqrt()<\/code><\/strong>: Calculates the square root of a number.<\/li>\n\n\n\n<li><strong><code>pow()<\/code><\/strong>: Raises a number to the power of another number.<\/li>\n\n\n\n<li><strong><code>log()<\/code><\/strong>: Returns the natural logarithm of a number.<\/li>\n\n\n\n<li><strong><code>exp()<\/code><\/strong>: Returns <code>e<\/code> raised to the power of a number.<\/li>\n\n\n\n<li><strong><code>sin()<\/code>, <code>cos()<\/code>, <code>tan()<\/code><\/strong>: Calculate the sine, cosine, and tangent of a number.<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">Examples<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Minimum and Maximum<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho min(0, 150, 30, 20, -8, -200); \/\/ Outputs: -200\necho max(0, 150, 30, 20, -8, -200); \/\/ Outputs: 150\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Square Root<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho sqrt(16); \/\/ Outputs: 4\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Power<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho pow(2, 3); \/\/ Outputs: 8\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li><strong>Logarithm<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho log(2.7183); \/\/ Outputs: 1 (approximately)\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li><strong>Exponential<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho exp(1); \/\/ Outputs: 2.718281828459\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li><strong>Trigonometric Functions<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho sin(pi()\/2); \/\/ Outputs: 1\necho cos(pi()); \/\/ Outputs: -1\necho tan(pi()\/4); \/\/ Outputs: 1\n?&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Random Number Generation<\/h4>\n\n\n\n<p>PHP provides functions to generate random numbers, which can be useful in various scenarios such as creating random passwords, tokens, or for games.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><code>rand()<\/code><\/strong>: Generates a random integer.<\/li>\n\n\n\n<li><strong><code>mt_rand()<\/code><\/strong>: Generates a random integer using the Mersenne Twister algorithm.<\/li>\n\n\n\n<li><strong><code>random_int()<\/code><\/strong>: Generates a cryptographically secure random integer.<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">Examples<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Random Integer<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho rand(); \/\/ Outputs a random integer\necho rand(10, 100); \/\/ Outputs a random integer between 10 and 100\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Mersenne Twister Random Integer<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho mt_rand(); \/\/ Outputs a random integer\necho mt_rand(10, 100); \/\/ Outputs a random integer between 10 and 100\n?&gt;<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Cryptographically Secure Random Integer<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\necho random_int(10, 100); \/\/ Outputs a random integer between 10 and 100\n?&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Conclusion<\/h4>\n\n\n\n<p>PHP&#8217;s math functions are powerful tools that can help you perform a wide range of calculations efficiently. By mastering these functions, you can enhance your PHP projects with robust mathematical capabilities.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Exercises<\/h4>\n\n\n\n<p>To practice what you&#8217;ve learned, try the following exercises:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Write a PHP script that calculates the area of a circle given its radius.<\/li>\n\n\n\n<li>Create a function that returns the hypotenuse of a right-angled triangle given the lengths of the other two sides.<\/li>\n\n\n\n<li>Write a script that generates a random password of a specified length using <code>rand()<\/code>.<\/li>\n<\/ol>\n\n\n\n<p>By practicing these exercises, you&#8217;ll gain a deeper understanding of how to apply PHP math functions in real-world scenarios. Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction PHP provides a wide range of mathematical functions that make it easy to perform various calculations. This tutorial will [&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":"default","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":"","ast-disable-related-posts":"","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":[17],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Beginner&#039;s Tutorial on PHP Math Functions - Web Development Course<\/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:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Beginner&#039;s Tutorial on PHP Math Functions - Web Development Course\" \/>\n<meta property=\"og:description\" content=\"Introduction PHP provides a wide range of mathematical functions that make it easy to perform various calculations. This tutorial will [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Development Course\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-17T09:20:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-17T09:20:22+00:00\" \/>\n<meta name=\"author\" content=\"ShaplaKanon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ShaplaKanon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/\"},\"author\":{\"name\":\"ShaplaKanon\",\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/#\\\/schema\\\/person\\\/f5f224239283c27426dadc2e4cc9a825\"},\"headline\":\"Beginner&#8217;s Tutorial on PHP Math Functions\",\"datePublished\":\"2024-07-17T09:20:21+00:00\",\"dateModified\":\"2024-07-17T09:20:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/\"},\"wordCount\":364,\"commentCount\":0,\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/\",\"url\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/\",\"name\":\"Beginner's Tutorial on PHP Math Functions - Web Development Course\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/#website\"},\"datePublished\":\"2024-07-17T09:20:21+00:00\",\"dateModified\":\"2024-07-17T09:20:22+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/#\\\/schema\\\/person\\\/f5f224239283c27426dadc2e4cc9a825\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/beginners-tutorial-on-php-math-functions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Beginner&#8217;s Tutorial on PHP Math Functions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/#website\",\"url\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/\",\"name\":\"Web Development Course\",\"description\":\"Become a Web Developer from Home\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/#\\\/schema\\\/person\\\/f5f224239283c27426dadc2e4cc9a825\",\"name\":\"ShaplaKanon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ef2c8f93a0558c2047555f674c8746b22988ace93eba9262d198d0a28236ce97?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ef2c8f93a0558c2047555f674c8746b22988ace93eba9262d198d0a28236ce97?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ef2c8f93a0558c2047555f674c8746b22988ace93eba9262d198d0a28236ce97?s=96&d=mm&r=g\",\"caption\":\"ShaplaKanon\"},\"sameAs\":[\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/\"],\"url\":\"https:\\\/\\\/shaplakanon.com\\\/wdc\\\/author\\\/sabahat\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Beginner's Tutorial on PHP Math Functions - Web Development Course","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:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/","og_locale":"en_US","og_type":"article","og_title":"Beginner's Tutorial on PHP Math Functions - Web Development Course","og_description":"Introduction PHP provides a wide range of mathematical functions that make it easy to perform various calculations. This tutorial will [&hellip;]","og_url":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/","og_site_name":"Web Development Course","article_published_time":"2024-07-17T09:20:21+00:00","article_modified_time":"2024-07-17T09:20:22+00:00","author":"ShaplaKanon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ShaplaKanon","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/#article","isPartOf":{"@id":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/"},"author":{"name":"ShaplaKanon","@id":"https:\/\/shaplakanon.com\/wdc\/#\/schema\/person\/f5f224239283c27426dadc2e4cc9a825"},"headline":"Beginner&#8217;s Tutorial on PHP Math Functions","datePublished":"2024-07-17T09:20:21+00:00","dateModified":"2024-07-17T09:20:22+00:00","mainEntityOfPage":{"@id":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/"},"wordCount":364,"commentCount":0,"articleSection":["PHP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/","url":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/","name":"Beginner's Tutorial on PHP Math Functions - Web Development Course","isPartOf":{"@id":"https:\/\/shaplakanon.com\/wdc\/#website"},"datePublished":"2024-07-17T09:20:21+00:00","dateModified":"2024-07-17T09:20:22+00:00","author":{"@id":"https:\/\/shaplakanon.com\/wdc\/#\/schema\/person\/f5f224239283c27426dadc2e4cc9a825"},"breadcrumb":{"@id":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/shaplakanon.com\/wdc\/beginners-tutorial-on-php-math-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/shaplakanon.com\/wdc\/"},{"@type":"ListItem","position":2,"name":"Beginner&#8217;s Tutorial on PHP Math Functions"}]},{"@type":"WebSite","@id":"https:\/\/shaplakanon.com\/wdc\/#website","url":"https:\/\/shaplakanon.com\/wdc\/","name":"Web Development Course","description":"Become a Web Developer from Home","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shaplakanon.com\/wdc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/shaplakanon.com\/wdc\/#\/schema\/person\/f5f224239283c27426dadc2e4cc9a825","name":"ShaplaKanon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef2c8f93a0558c2047555f674c8746b22988ace93eba9262d198d0a28236ce97?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef2c8f93a0558c2047555f674c8746b22988ace93eba9262d198d0a28236ce97?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2c8f93a0558c2047555f674c8746b22988ace93eba9262d198d0a28236ce97?s=96&d=mm&r=g","caption":"ShaplaKanon"},"sameAs":["https:\/\/shaplakanon.com\/wdc\/"],"url":"https:\/\/shaplakanon.com\/wdc\/author\/sabahat\/"}]}},"_links":{"self":[{"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":1,"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/posts\/80\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shaplakanon.com\/wdc\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}