{"id":397,"date":"2014-03-02T18:18:59","date_gmt":"2014-03-02T18:18:59","guid":{"rendered":"http:\/\/www.encoders.co.in\/blog\/?p=397"},"modified":"2025-04-29T14:57:14","modified_gmt":"2025-04-29T09:27:14","slug":"new-php-core-functions-are-introduced-in-php-5-5-x","status":"publish","type":"post","link":"https:\/\/www.encoders.co.in\/blog\/php\/new-php-core-functions-are-introduced-in-php-5-5-x","title":{"rendered":"New PHP Core Functions Are Introduced in  PHP 5.5.x"},"content":{"rendered":"<p><strong>Some new PHP Core function are introduced to PHP 5.5.x<a href=\"http:\/\/www.encoders.co.in\"><img decoding=\"async\" class=\"size-full wp-image-398 alignright\" alt=\"php\" src=\"http:\/\/www.encoders.co.in\/blog\/wp-content\/uploads\/2014\/03\/php.jpg\" width=\"264\" height=\"142\" \/><\/a><\/strong><\/p>\n<p><strong>1. array_column()<\/strong><\/p>\n<p><strong>Syntax:<\/strong><br \/>\narray array_column ( array $array , mixed $column_key [, mixed $index_key = null ] )<\/p>\n<p>&#8211; It returns the values from a single column of the array.<\/p>\n<p><strong>2. boolval()<\/strong><\/p>\n<p><strong>Syntax:<\/strong><br \/>\nboolean boolval ( mixed $var )<\/p>\n<p>&#8211; Return boolean value of a variable.<\/p>\n<p><strong>3. json_last_error_msg()<\/strong><\/p>\n<p><strong>Syntax:<\/strong><br \/>\nstring json_last_error_msg ( void )<\/p>\n<p>&#8211; Returns the error string of the last json_encode() \/ json_decode() call<\/p>\n<p><strong>4. password_get_info()<\/strong><\/p>\n<p><strong>Syntax:<\/strong><br \/>\narray password_get_info ( string $hash )<\/p>\n<p>&#8211; This function will returns an array of information about the given hash<\/p>\n<p><strong>5. password_hash()<\/strong><\/p>\n<p><strong>Syntax:<\/strong><br \/>\nstring password_hash ( string $password , integer $algo [, array $options ] )<\/p>\n<p>password_hash() creates a new password hash using a strong one-way hashing algorithm.<\/p>\n<p><strong>8. password_needs_rehash()<\/strong><\/p>\n<p><strong>Syntax:<\/strong><br \/>\nboolean password_needs_rehash ( string $hash , string $algo [, string $options ] )<\/p>\n<p>Checks if the given hash matches the given options<\/p>\n<p><strong>9. password_verify()<\/strong><\/p>\n<p><strong>Syntax:<\/strong><br \/>\nboolean password_verify ( string $password , string $hash )<\/p>\n<p>Verifies that the given hash matches the given password.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some new PHP Core function are introduced to PHP 5.5.x 1. array_column() Syntax: array array_column ( array $array , mixed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1586,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","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":"","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-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":"","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-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":"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":""},"mobile":{"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":""}},"footnotes":""},"categories":[4],"tags":[],"class_list":["post-397","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/posts\/397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/comments?post=397"}],"version-history":[{"count":1,"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/posts\/397\/revisions"}],"predecessor-version":[{"id":399,"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/posts\/397\/revisions\/399"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/media\/1586"}],"wp:attachment":[{"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/media?parent=397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/categories?post=397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.encoders.co.in\/blog\/wp-json\/wp\/v2\/tags?post=397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}