{"id":27300,"date":"2017-02-08T11:26:09","date_gmt":"2017-02-08T09:26:09","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=27300"},"modified":"2017-02-08T11:26:09","modified_gmt":"2017-02-08T09:26:09","slug":"migrating-a-php-5-app-to-php-7","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2017\/02\/08\/migrating-a-php-5-app-to-php-7\/","title":{"rendered":"Migrating a PHP 5 App to PHP 7"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>This year I&#8217;ll be migrating quite a bit of stuff from PHP 5 to PHP 7. \u00a0We haven&#8217;t started with the process yet, but with the recent indicators like <a href=\"https:\/\/mamchenkov.net\/wordpress\/2017\/02\/03\/preparing-for-the-phpunit-6-and-php-7\/\">PHPUnit 6 release<\/a>, I&#8217;m sure the priority of this work will start rising.<\/p>\n<p>Obviously, I&#8217;m familiar with the <a href=\"http:\/\/php.net\/manual\/en\/migration70.new-features.php\">new features of PHP 7<\/a> and some of the things that will have to be done in order to port the applications and make use of the new version. \u00a0But it still helps reading through articles like &#8220;Migrating a PHP 5 App to PHP 7 &#8220;, which comes in two parts:<\/p>\n<ul>\n<li><a href=\"https:\/\/auth0.com\/blog\/migrating-a-php5-app-to-php7-part-one\/\">Development Environment<\/a><\/li>\n<li><a href=\"https:\/\/auth0.com\/blog\/migrating-a-php5-app-to-php7-part-two\/\">Rundown of PHP 7 Features<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>This year I&#8217;ll be migrating quite a bit of stuff from PHP 5 to PHP 7. \u00a0We haven&#8217;t started with the process yet, but with the recent indicators like PHPUnit 6 release, I&#8217;m sure the priority of this work will start rising. Obviously, I&#8217;m familiar with the new features of PHP 7 and some of &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2017\/02\/08\/migrating-a-php-5-app-to-php-7\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Migrating a PHP 5 App to PHP 7<\/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":"Migrating a PHP 5 App to PHP 7 #WebDev #PHP","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"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,1334],"tags":[38,1330],"keyring_services":[],"class_list":["post-27300","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","category-web-work","tag-php","tag-web-development"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":27037,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/12\/02\/migrating-to-php-7\/","url_meta":{"origin":27300,"position":0},"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":16147,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/03\/05\/php-5-4-0-released\/","url_meta":{"origin":27300,"position":1},"title":"PHP 5.4.0 released","author":"Leonid Mamchenkov","date":"March 5, 2012","format":false,"excerpt":"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 - PHP 5.4.0 has just been released. \u00a0Of course, it will take a bit until it is well\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":42631,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/05\/20\/php-in-2019\/","url_meta":{"origin":27300,"position":2},"title":"PHP in 2019","author":"Leonid Mamchenkov","date":"May 20, 2019","format":false,"excerpt":"Here's a nice overview of \"PHP in 2019\" for those who are still trying to avoid the language because of some preconceived or outdated reasons. TL;DR* PHP is actively developed with a new release each year* Performance since the PHP 5 era has doubled, if not tripled* There's a extremely\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":7745,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/08\/02\/migrating-from-microsoft-access-to-mysql\/","url_meta":{"origin":27300,"position":3},"title":"Migrating from Microsoft Access to MySQL","author":"Leonid Mamchenkov","date":"August 2, 2004","format":false,"excerpt":"Many people are migrating still migrating from Microsoft Access to MySQL. I came across a freeware program that can simplify the process. It can migrated all database structure, data, and meta data (indexes, etc). Download links and screenshots are here. If all that stops you now is your ASP code,\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":29219,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/01\/14\/new-in-php-7-4\/","url_meta":{"origin":27300,"position":4},"title":"New in PHP 7.4","author":"Leonid Mamchenkov","date":"January 14, 2019","format":false,"excerpt":"\"New in PHP 7.4\" is a quick and simple introduction into changes and new features of the upcoming PHP 7.4, which is planned for release in December of 2019. In brief: Preloading (parsed source code caching)Typed propertiesImproved type varianceFFI (Foreign Function Interface) - a way to run C code from\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":43022,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/08\/21\/php-vs-p\/","url_meta":{"origin":27300,"position":5},"title":"PHP vs P++","author":"Leonid Mamchenkov","date":"August 21, 2019","format":false,"excerpt":"If you haven't heard the news yet and are wondering what the heck P++ is, here's a quick update for you. There's been some noise around the idea of creating a separate dialect of PHP, code-named P++. The idea is an attempt to find a compromise between two different schools\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":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27300","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=27300"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27300\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=27300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=27300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=27300"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=27300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}