{"id":16147,"date":"2012-03-05T13:38:22","date_gmt":"2012-03-05T11:38:22","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=16147"},"modified":"2012-03-05T13:38:22","modified_gmt":"2012-03-05T11:38:22","slug":"php-5-4-0-released","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2012\/03\/05\/php-5-4-0-released\/","title":{"rendered":"PHP 5.4.0 released"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>These days, it is hard to imagine a web developer or an advanced web user who is not involved with PHP somehow. \u00a0For all of you folks, there are some good news &#8211; PHP 5.4.0 has just been released. \u00a0Of course, it will take a bit until it is well tested and pushed to most hosting companies, but you should take a brief look at the <a href=\"http:\/\/www.php.net\/ChangeLog-5.php#5.4.0\">changelog<\/a> to make sure you know what to expect. \u00a0Some of my favorite changes are:<\/p>\n<ul>\n<li>Long-awaited removal of many configuration options: register_globals, register_long_arrays, allow_call_time_pass_reference, magic_quotes_gpc, etc.<\/li>\n<li>Long-awaited removal of some confusing session-related functions: session_register(), session_unregister(), and session_is_registered().<\/li>\n<li>Change of default_charset from ISO-8859-1 to UTF-8.<\/li>\n<li>Added Traversable iterator in mysq_result for MySQLi.<\/li>\n<li>Plenty of performance improvements and memory\u00a0optimization.<\/li>\n<li>Plenty of bug fixes.<\/li>\n<\/ul>\n<p>Also, have a look at the <a href=\"http:\/\/php.net\/manual\/en\/migration54.php\">migrating from 5.3 to 5.4<\/a> document.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>These days, it is hard to imagine a web developer or an advanced web user who is not involved with PHP somehow. \u00a0For all of you folks, there are some good news &#8211; PHP 5.4.0 has just been released. \u00a0Of course, it will take a bit until it is well tested and pushed to most &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2012\/03\/05\/php-5-4-0-released\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PHP 5.4.0 released<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[918,38],"keyring_services":[],"class_list":["post-16147","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","tag-announcements","tag-php"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":18618,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/09\/20\/php-5-4-0-built-in-web-server\/","url_meta":{"origin":16147,"position":0},"title":"PHP 5.4.0 : Built-in web server","author":"Leonid Mamchenkov","date":"September 20, 2013","format":"link","excerpt":"PHP 5.4.0 : Built-in web server","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18605,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/09\/13\/beautifying-phps-json_encode-output\/","url_meta":{"origin":16147,"position":1},"title":"Beautifying PHP&#8217;s json_encode() output","author":"Leonid Mamchenkov","date":"September 13, 2013","format":false,"excerpt":"I've been working a bit more with PHP and JSON recently and one of the things that annoyed me quite a bit was the single line output of the json_encode() function. \u00a0Here is an example: Poorly readable result (imagine having larger, more complex data structures like nested arrays): Apparently, since\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27042,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/12\/02\/php-7-1-0-released\/","url_meta":{"origin":16147,"position":2},"title":"PHP 7.1.0 Released!","author":"Leonid Mamchenkov","date":"December 2, 2016","format":false,"excerpt":"PHP 7.1.0 release is out, bringing quite a bit of new features and improvements. \u00a0Here are some of the new things: Nullable types Void return type Iterable pseudo-type Class constant visiblity modifiers Square bracket syntax for list() and the ability to specify keys in list() Catching multiple exceptions types Many\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":29028,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/25\/php-7-3-performance-benchmarks-are-looking-good-days-ahead-of-its-release\/","url_meta":{"origin":16147,"position":3},"title":"PHP 7.3 Performance Benchmarks Are Looking Good Days Ahead Of Its Release","author":"Leonid Mamchenkov","date":"November 25, 2018","format":false,"excerpt":"PHP 7.3 is scheduled to be released on December 6th, 2018.\u00a0 As always, it'll bring a few changes and new features (read more about it here or here).\u00a0 But it'll also bring a significant performance improvement.\u00a0 Here are the results of a few benchmarks.\u00a0 Long story short: PHP 7.3 is\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/phpbench-500x321.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27037,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/12\/02\/migrating-to-php-7\/","url_meta":{"origin":16147,"position":4},"title":"Migrating to PHP 7","author":"Leonid Mamchenkov","date":"December 2, 2016","format":false,"excerpt":"PHP 7.0.0 has been released for a year now. \u00a0I wasn't in a rush to migrate to it, but with all the cool features and performance optimization, it's definitely something I wanted to look into rather sooner than later. It turns out that I've done my first PHP 7 migration\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28588,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/05\/19\/pvm-php-process-virtual-machine-for-building-and-executing-workflows\/","url_meta":{"origin":16147,"position":5},"title":"pvm &#8211; PHP Process virtual machine for building and executing workflows","author":"Leonid Mamchenkov","date":"May 19, 2018","format":false,"excerpt":"At some point last year I wrote the blog post titled \"Getting started with workflows in PHP\".\u00a0 I received quite a bit of feedback about it, but, unfortunately, the priorities at work shifted and I haven't done much more with workflows since than. The world, however, hasn't stopped.\u00a0 The tools\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/05\/pizza-process-500x211.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/16147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=16147"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/16147\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=16147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=16147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=16147"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=16147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}