{"id":214066,"date":"2019-12-14T11:52:13","date_gmt":"2019-12-14T11:52:13","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=214066"},"modified":"2020-05-08T15:26:36","modified_gmt":"2020-05-08T15:26:36","slug":"php-7-4","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/php-7-4\/","title":{"rendered":"What&#8217;s new in PHP 7.4"},"content":{"rendered":"\n<p>PHP give developer more usability and maintenance, Recently PHP has released our 7.4 version on <em><strong>November<\/strong><\/em> <em><strong>28, 2019<\/strong><\/em>.  With PHP 7.4, we can use some interesting features like arrow function, spread operator etc.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">PHP 7.4 Features List<\/h3><\/div><div class=\"margin-bottom-50\">\n<ul class=\"wp-block-list\"><li><a href=\"#panel-1\">Arrow Function<\/a><\/li><li><a href=\"#panel-3\">Covariant Returns and Contravariant Parameters<\/a><\/li><li><a href=\"#panel-4\">Coalescing Assign Operator<\/a><\/li><li><a href=\"#panel-5\">Spread Operator in Array Expression<\/a><\/li><li><a href=\"#panel-6\">Preloading<\/a><\/li><li><a href=\"#panel-7\">Numeric Literal Separator<\/a><\/li><li><a href=\"#panel-8\">Weak References<\/a><\/li><li><a href=\"#panel-9\">Custom Object Serialization<\/a><\/li><\/ul>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Arrow Function<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>Arrow function will provide a shorthand syntax for defining functions with implicit by-value scope binding.<\/p>\n\n\n\n<p>Arrow function will provide you simplicity in your code, We look out these example<\/p>\n\n\n\n<p>Example 1, before PHP 7.4 :-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$arr = &#091;1, 2, 3, 4, 5];\n\nfunction cube( $c ){\n  return ( $c * $c * $c );\n}\n\n\n$new_arr = array_map( &#039;cube&#039;, $arr );\n\nprint_r( $new_arr );<\/pre>\n<\/div>\n\n\n\n<p>With PHP 7.4, we will get this :-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$arr = &#091;1, 2, 3, 4, 5];\n\n$new_arr = array_map( fn( $c ) =&gt; $c * $c * $c, $arr );\n\nprint_r( $new_arr );<\/pre>\n\n\n\n<p class=\"section-padding-0B\">By <strong>use<\/strong>&nbsp;language construct with  anonymous function, we can inherit parent scope like this<\/p>\n\n\n\n<p>Example 2, before PHP 7.4:-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$fac = 10;\n\n$calc = function( $n ) use( $fac ){\n\treturn $n * $fac;\n};<\/pre>\n\n\n\n<p class=\"section-padding-0B\">But with PHP 7.4, We can do same things like this :-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$fac = 10;\n\n$calc = fn( $n ) =&gt; $n * $fac;<\/pre>\n\n\n\n<p> <\/p>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Covariant Returns and Contravariant Parameters<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>Currently, PHP uses mostly invariant parameter types and return types. Meaning, if a method has a parameter or return type of X then the subtype parameter or return type must also be type&nbsp;<strong>X<\/strong>.<\/p>\n\n\n\n<p>Now, with PHP 7.4 it proposes to allow&nbsp;<strong>covariant<\/strong>&nbsp;(ordered from specific to generic) and&nbsp;<strong>contravariant<\/strong>&nbsp;(reversing the order) on parameter and return types.<\/p>\n\n\n\n<p>For E.g :-<\/p>\n\n\n\n<p>Covariant return type<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">interface Factory {\n function make(): object;\n}\n\nclass UserFactory implements Factory {\n function make(): User;\n}<\/pre>\n\n\n\n<p>Contravariant parameter type<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">interface Concatable {\n function concat(Iterator $input); \n}\n\nclass Collection implements Concatable {\n \/\/ accepts all iterables, not just Iterator\n function concat(iterable $input) {\/* . . . *\/}\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Coalescing Assign Operator<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>PHP 7.4 introduce an another new feature <strong>Coalescing Assign Operator<\/strong>. It\u2019s  next version of  ternary operator together with isset(). By using this we can get first operand if it exists else get second operand.<\/p>\n\n\n\n<p>For E.g :-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$username = $_GET&#091;&#039;user_name&#039;] ?? \u2018something else&#039;;<\/pre>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Spread Operator in Array Expression<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>In PHP 7.4, Now we can use spread operators in arrays, This expression is faster than array_merge function.<\/p>\n\n\n\n<p>Here is an example<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$arrayA = &#091;1, 2, 3];\n\n$arrayB = &#091;4, 5];\n\n$result = &#091;0, ...$arrayA, ...$arrayB, 6 ,7];\n\n\/\/ &#091;0, 1, 2, 3, 4, 5, 6, 7]<\/pre>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Preloading<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>The main purpose of this cool new feature is to increase PHP 7.4 performance. Simply put, preloading is the process of loading files, frameworks, and libraries in&nbsp;<a href=\"https:\/\/www.php.net\/manual\/en\/book.opcache.php\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">OPcache<\/a>&nbsp;and is definitely a great addition to the new release. For example, if you use a framework, its files had to be downloaded and recompiled for each request.<\/p>\n\n\n\n<p>When configuring OPcache, for the first time these code files participate in the request processing and then they are checked for changes each time. Preloading enables the server to load the specified code files into shared memory. It\u2019s important to note that they will be constantly available for all subsequent requests without additional checks for file changes.<\/p>\n\n\n\n<p>It is also noteworthy to mention that during preloading, PHP also eliminates needless includes and resolves class dependencies and links with traits, interfaces, and more.<\/p>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Numeric Literal Separator<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>By using <strong><em>Numeric Literal Separator<\/em><\/strong>, we can seperate numeric values by  underscores.<\/p>\n\n\n\n<p>For E.g :-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$unformattedNumber = 107925284.88;\n\n$formattedNumber = 107_925_284.88;<\/pre>\n\n\n\n<p>The underscores are simply ignored by the engine.<\/p>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Weak References<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>By using weak references the programmer allow to retain a reference to an object that does not prevent the object from being destroyed.<\/p>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Custom Object Serialization<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>A new mechanism for custom object serialization has been added, which uses two new magic methods:&nbsp;<em>__serialize<\/em>&nbsp;and&nbsp;<em>__unserialize<\/em>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/\/ Returns array containing all the necessary state of the object.\npublic function __serialize(): array;\n\n\/\/ Restores the object state from the given data array.\npublic function __unserialize(array $data): void;<\/pre>\n\n\n\n<p>The new serialization mechanism supersedes the&nbsp;<a href=\"https:\/\/www.php.net\/manual\/en\/class.serializable.php\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Serializable<\/a>&nbsp;interface, which will be deprecated in the future.<\/p>\n<\/div>\n\n\n\n<div class=\"wk-index-wrap\"><h3 class=\"index-title\">Deprecations<\/h3><\/div><div class=\"margin-bottom-50\">\n<p>The following list provides a short overview of the functionality targeted for deprecation<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The&nbsp;<code><strong>real<\/strong><\/code>&nbsp;type<\/li><li>Magic quotes legacy<\/li><li><strong>array_key_exists<\/strong>&nbsp;with objects<\/li><li><strong>FILTER_SANITIZE_MAGIC_QUOTES<\/strong>&nbsp;filter<\/li><li>Reflection&nbsp;<strong>export()<\/strong>&nbsp;methods<\/li><li><strong>mb_strrpos()<\/strong>&nbsp;with encoding as 3rd argument<\/li><li><strong>implode()<\/strong>&nbsp;parameter order mix<\/li><li>Unbinding&nbsp;<strong>$this<\/strong>&nbsp;from non-static closures<\/li><li><strong>hebrevc()<\/strong>&nbsp;function<\/li><li><strong>convert_cyr_string()<\/strong>&nbsp;function<\/li><li><strong>money_format()<\/strong>&nbsp;function<\/li><li><strong>ezmlm_hash()<\/strong>&nbsp;function<\/li><li><strong>restore_include_path()<\/strong>&nbsp;function<\/li><li><strong>allow_url_include<\/strong>&nbsp;ini directive<\/li><\/ul>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>Thanks for reading this blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP give developer more usability and maintenance, Recently PHP has released our 7.4 version on November 28, 2019. With PHP 7.4, we can use some interesting features like arrow function, spread operator etc. With PHP 7.4, we will get this :- By use&nbsp;language construct with anonymous function, we can inherit parent scope like this Example <a href=\"https:\/\/webkul.com\/blog\/php-7-4\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":208,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2057,10478],"class_list":["post-214066","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-php","tag-php-7-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What&#039;s new in PHP 7.4 - Webkul Blog<\/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:\/\/webkul.com\/blog\/php-7-4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What&#039;s new in PHP 7.4 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"PHP give developer more usability and maintenance, Recently PHP has released our 7.4 version on November 28, 2019. With PHP 7.4, we can use some interesting features like arrow function, spread operator etc. With PHP 7.4, we will get this :- By use&nbsp;language construct with anonymous function, we can inherit parent scope like this Example [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/php-7-4\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-14T11:52:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-08T15:26:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Manjeet Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manjeet Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/php-7-4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/php-7-4\/\"},\"author\":{\"name\":\"Manjeet Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/0d9f23c10dd088ff08547036334b3724\"},\"headline\":\"What&#8217;s new in PHP 7.4\",\"datePublished\":\"2019-12-14T11:52:13+00:00\",\"dateModified\":\"2020-05-08T15:26:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/php-7-4\/\"},\"wordCount\":602,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"keywords\":[\"PHP\",\"PHP 7.4\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/php-7-4\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/php-7-4\/\",\"url\":\"https:\/\/webkul.com\/blog\/php-7-4\/\",\"name\":\"What's new in PHP 7.4 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2019-12-14T11:52:13+00:00\",\"dateModified\":\"2020-05-08T15:26:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/php-7-4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/php-7-4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/php-7-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What&#8217;s new in PHP 7.4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/0d9f23c10dd088ff08547036334b3724\",\"name\":\"Manjeet Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6d86ed3fe5475956ff997d273dcf5bc857e9bcfacafc241015258f596eff50b0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6d86ed3fe5475956ff997d273dcf5bc857e9bcfacafc241015258f596eff50b0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Manjeet Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/manjeet-kumarwp681\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What's new in PHP 7.4 - Webkul Blog","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:\/\/webkul.com\/blog\/php-7-4\/","og_locale":"en_US","og_type":"article","og_title":"What's new in PHP 7.4 - Webkul Blog","og_description":"PHP give developer more usability and maintenance, Recently PHP has released our 7.4 version on November 28, 2019. With PHP 7.4, we can use some interesting features like arrow function, spread operator etc. With PHP 7.4, we will get this :- By use&nbsp;language construct with anonymous function, we can inherit parent scope like this Example [...]","og_url":"https:\/\/webkul.com\/blog\/php-7-4\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-12-14T11:52:13+00:00","article_modified_time":"2020-05-08T15:26:36+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Manjeet Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Manjeet Kumar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/php-7-4\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/php-7-4\/"},"author":{"name":"Manjeet Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/0d9f23c10dd088ff08547036334b3724"},"headline":"What&#8217;s new in PHP 7.4","datePublished":"2019-12-14T11:52:13+00:00","dateModified":"2020-05-08T15:26:36+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/php-7-4\/"},"wordCount":602,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"keywords":["PHP","PHP 7.4"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/php-7-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/php-7-4\/","url":"https:\/\/webkul.com\/blog\/php-7-4\/","name":"What's new in PHP 7.4 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2019-12-14T11:52:13+00:00","dateModified":"2020-05-08T15:26:36+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/php-7-4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/php-7-4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/php-7-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What&#8217;s new in PHP 7.4"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/0d9f23c10dd088ff08547036334b3724","name":"Manjeet Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6d86ed3fe5475956ff997d273dcf5bc857e9bcfacafc241015258f596eff50b0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d86ed3fe5475956ff997d273dcf5bc857e9bcfacafc241015258f596eff50b0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Manjeet Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/manjeet-kumarwp681\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/214066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/208"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=214066"}],"version-history":[{"count":84,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/214066\/revisions"}],"predecessor-version":[{"id":247875,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/214066\/revisions\/247875"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=214066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=214066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=214066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}