{"id":2216,"date":"2014-06-26T11:33:42","date_gmt":"2014-06-26T11:33:42","guid":{"rendered":"https:\/\/kvr.dishasingh.com\/blog\/2014\/06\/26\/php-5-5-adds-new-features-for-a-developers-delight\/"},"modified":"2024-07-16T06:42:42","modified_gmt":"2024-07-16T06:42:42","slug":"php-5-5-adds-new-features-for-a-developers-delight","status":"publish","type":"post","link":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/","title":{"rendered":"PHP 5.5 adds new features for a developer\u2019s delight"},"content":{"rendered":"<p>PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version of server-side scripting language has come with addition that will make developer\u2019s task a tad easier when it comes to coding. So what are these changes that will make developer\u2019s love PHP even more? Let\u2019s have a look at some of the additions made in the latest update of PHP 5.5.<\/p>\n<p>1)\u00a0\u00a0\u00a0\u00a0\u00a0 Generators<\/p>\n<p>This feature in the updated PHP 5.5 will eliminate the need to write class that outfits the Iterator interface. It comes as a welcome feature that allows the coders to bypass writing boilerplate code that can save time and reduce the complexity of the code written. Generator does this by deriving functionality from yield keyword and instead of returning a single value it generates any number of values. This directly saves a lot of memory as the array size required to store all the values is considerably less.<\/p>\n<p><strong><!--?php <br ?--> foreach (range(0, 1000000) as $number) {<\/strong><\/p>\n<p>echo $number;<br \/>\n}<\/p>\n<p>2)\u00a0\u00a0\u00a0\u00a0\u00a0 Password hashing<\/p>\n<p>PHP 5.5 has a new password hashing API function which eliminates the need for crypt() function that is quiet confusing at times. So this means that developers will be able to understand and implement secure hashing for the websites in a better way. In the new update instead of using crypt(), developer\u2019s will use password hash() and password_verify() functions.<\/p>\n<p>3)\u00a0\u00a0\u00a0\u00a0\u00a0 Finally keyword<\/p>\n<p>In this update finally keyword has been added which allows developers to mention the code to be run at the end of try and catch blocks. It is important because earlier developers were forced to repeat the code with both try and catch blocks.<\/p>\n<p>PHP is a developer\u2019s delight, it is a language that all developers around the globe love to work on. Simply because the language is easy and interesting. And integration of such new features adds considerably to the efficiency of the PHP developers.<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version of server-side scripting language has come with addition that will make developer\u2019s task a tad easier when it comes to coding. So what are&hellip; <a class=\"more-link\" href=\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/\">Continue reading <span class=\"screen-reader-text\">PHP 5.5 adds new features for a developer\u2019s delight<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":2217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-2216","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogwebsite-design-and-development","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP 5.5 adds new features for a developer\u2019s delight- KVR Webtech<\/title>\n<meta name=\"description\" content=\"PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP 5.5 adds new features for a developer\u2019s delight- KVR Webtech\" \/>\n<meta property=\"og:description\" content=\"PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/\" \/>\n<meta property=\"og:site_name\" content=\"KVR Webtech\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-26T11:33:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-16T06:42:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png\" \/>\n\t<meta property=\"og:image:width\" content=\"257\" \/>\n\t<meta property=\"og:image:height\" content=\"237\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Varun Sharma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Varun Sharma\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/\",\"url\":\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/\",\"name\":\"PHP 5.5 adds new features for a developer\u2019s delight- KVR Webtech\",\"isPartOf\":{\"@id\":\"https:\/\/kvrwebtech.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png\",\"datePublished\":\"2014-06-26T11:33:42+00:00\",\"dateModified\":\"2024-07-16T06:42:42+00:00\",\"author\":{\"@id\":\"https:\/\/kvrwebtech.com\/blog\/#\/schema\/person\/1c6c4fe0cbc6fe9f9a4db981ba5e7f13\"},\"description\":\"PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version\",\"breadcrumb\":{\"@id\":\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#primaryimage\",\"url\":\"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png\",\"contentUrl\":\"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png\",\"width\":257,\"height\":237},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kvrwebtech.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP 5.5 adds new features for a developer\u2019s delight\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kvrwebtech.com\/blog\/#website\",\"url\":\"https:\/\/kvrwebtech.com\/blog\/\",\"name\":\"KVR Webtech\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kvrwebtech.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/kvrwebtech.com\/blog\/#\/schema\/person\/1c6c4fe0cbc6fe9f9a4db981ba5e7f13\",\"name\":\"Varun Sharma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kvrwebtech.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/99a6e76cfadfa469d8b454002b6abcc6f2a63f3885f75d46a0a6a0c45d03a946?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/99a6e76cfadfa469d8b454002b6abcc6f2a63f3885f75d46a0a6a0c45d03a946?s=96&d=mm&r=g\",\"caption\":\"Varun Sharma\"},\"description\":\"Started working as a digital marketing expert, Varun Sharma is now also a well-known digital marketing speaker \u2013 a speaker on performance development, and a trusted mentor to businesses in the digital world. His keynote expositions are based on the digital marketing theories, which provide a fascinating insight into the secrets of high performance.\",\"url\":\"https:\/\/kvrwebtech.com\/blog\/author\/varun-sharma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP 5.5 adds new features for a developer\u2019s delight- KVR Webtech","description":"PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version","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:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/","og_locale":"en_US","og_type":"article","og_title":"PHP 5.5 adds new features for a developer\u2019s delight- KVR Webtech","og_description":"PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version","og_url":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/","og_site_name":"KVR Webtech","article_published_time":"2014-06-26T11:33:42+00:00","article_modified_time":"2024-07-16T06:42:42+00:00","og_image":[{"width":257,"height":237,"url":"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png","type":"image\/png"}],"author":"Varun Sharma","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Varun Sharma","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/","url":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/","name":"PHP 5.5 adds new features for a developer\u2019s delight- KVR Webtech","isPartOf":{"@id":"https:\/\/kvrwebtech.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#primaryimage"},"image":{"@id":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#primaryimage"},"thumbnailUrl":"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png","datePublished":"2014-06-26T11:33:42+00:00","dateModified":"2024-07-16T06:42:42+00:00","author":{"@id":"https:\/\/kvrwebtech.com\/blog\/#\/schema\/person\/1c6c4fe0cbc6fe9f9a4db981ba5e7f13"},"description":"PHP is out with an update and it will bring a smile to the faces of developers longing for an update for a long time. PHP 5.5, the newly released version","breadcrumb":{"@id":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#primaryimage","url":"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png","contentUrl":"https:\/\/kvrwebtech.com\/blog\/wp-content\/uploads\/2023\/10\/img13.png","width":257,"height":237},{"@type":"BreadcrumbList","@id":"https:\/\/kvrwebtech.com\/blog\/2014\/06\/php-5-5-adds-new-features-for-a-developers-delight\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kvrwebtech.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP 5.5 adds new features for a developer\u2019s delight"}]},{"@type":"WebSite","@id":"https:\/\/kvrwebtech.com\/blog\/#website","url":"https:\/\/kvrwebtech.com\/blog\/","name":"KVR Webtech","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kvrwebtech.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kvrwebtech.com\/blog\/#\/schema\/person\/1c6c4fe0cbc6fe9f9a4db981ba5e7f13","name":"Varun Sharma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kvrwebtech.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/99a6e76cfadfa469d8b454002b6abcc6f2a63f3885f75d46a0a6a0c45d03a946?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/99a6e76cfadfa469d8b454002b6abcc6f2a63f3885f75d46a0a6a0c45d03a946?s=96&d=mm&r=g","caption":"Varun Sharma"},"description":"Started working as a digital marketing expert, Varun Sharma is now also a well-known digital marketing speaker \u2013 a speaker on performance development, and a trusted mentor to businesses in the digital world. His keynote expositions are based on the digital marketing theories, which provide a fascinating insight into the secrets of high performance.","url":"https:\/\/kvrwebtech.com\/blog\/author\/varun-sharma\/"}]}},"_links":{"self":[{"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/posts\/2216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/comments?post=2216"}],"version-history":[{"count":1,"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/posts\/2216\/revisions"}],"predecessor-version":[{"id":11249,"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/posts\/2216\/revisions\/11249"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/media\/2217"}],"wp:attachment":[{"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/media?parent=2216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/categories?post=2216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kvrwebtech.com\/blog\/wp-json\/wp\/v2\/tags?post=2216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}