{"id":17977,"date":"2013-04-11T20:30:15","date_gmt":"2013-04-11T18:30:15","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=17977"},"modified":"2013-04-11T20:30:15","modified_gmt":"2013-04-11T18:30:15","slug":"php-is-meant-to-die","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2013\/04\/11\/php-is-meant-to-die\/","title":{"rendered":"PHP is meant to die"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"http:\/\/software-gunslinger.tumblr.com\/post\/47131406821\/php-is-meant-to-die\">PHP is meant to die<\/a><\/p>\n<p>This one is not your average PHP bashing. \u00a0It only covers one, but rather generic, problem with PHP &#8211; dying, no matter what. \u00a0Personally, I am familiar with the problem and I had to work around it as well (that&#8217;s how <a href=\"https:\/\/github.com\/mamchenkov\/locker\">Locker<\/a> came to be), but I&#8217;ve never had a project with high enough load to trigger a major issue.<\/p>\n<blockquote><p>There\u2019s more to this. If you\u2019ve used PHP an awful lot , you may have experienced this very weird issue:<\/p>\n<p>Fatal error: Exception thrown without a stack frame in Unknown on line 0<\/p>\n<p><em id=\"__mceDel\">What does that mean? I honestly have no idea. I can\u2019t find the line #0 into an unknown PHP file.<\/em><\/p><\/blockquote>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>PHP is meant to die This one is not your average PHP bashing. \u00a0It only covers one, but rather generic, problem with PHP &#8211; dying, no matter what. \u00a0Personally, I am familiar with the problem and I had to work around it as well (that&#8217;s how Locker came to be), but I&#8217;ve never had a &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2013\/04\/11\/php-is-meant-to-die\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PHP is meant to die<\/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":"link","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":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],"keyring_services":[],"class_list":["post-17977","post","type-post","status-publish","format-link","hentry","category-general","category-programming","category-technology","category-web-work","tag-php","post_format-post-format-link"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":26306,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/08\/04\/504-gateway-timeout-error-on-nginx-fastcgi-php-fpm\/","url_meta":{"origin":17977,"position":0},"title":"504 Gateway Timeout error on Nginx + FastCGI (php-fpm)","author":"Leonid Mamchenkov","date":"August 4, 2016","format":false,"excerpt":"\"504 Gateway Timeout\" error is a very common issue when using Nginx with PHP-FPM. \u00a0Usually, that means that it took PHP-FPM longer to generate the response, than Nginx was willing to wait for. \u00a0A few possible reasons for this are: Nginx timeout configuration uses very small values (expecting the responses\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"504","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/08\/504-500x385.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27681,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/06\/14\/async-php-requests-reactive-responses-with-php-fpm\/","url_meta":{"origin":17977,"position":1},"title":"Async PHP Requests &#038; Reactive Responses with PHP-FPM","author":"Leonid Mamchenkov","date":"June 14, 2017","format":false,"excerpt":"https:\/\/speakerdeck.com\/hollodotme\/async-php-requests-and-reactive-responses-with-php-fpm \"Async PHP Requests & Reactive Responses with PHP-FPM\" is talk by\u00a0Holger Woltersdorf, in which he shares the approaches he tried for implementing asynchronous requests in PHP, and how he arrived at\u00a0hollodotme\/fast-cgi-client, which is a\u00a0PHP fast CGI client for sending requests (a)synchronously to PHP-FPM.","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":28923,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/10\/php-is-deadviva-le-php\/","url_meta":{"origin":17977,"position":2},"title":"PHP is dead\u2026Viva le PHP!","author":"Leonid Mamchenkov","date":"November 10, 2018","format":false,"excerpt":"Here's a great post on why all those \"PHP is dead\" blog posts and forum threads are a complete load of crap. Here\u2019s the reality: nearly 80% of the internet is running on PHP as of 2018. I guess PHP isn\u2019t that dead after all. PHP doesn\u2019t scale. Riiiiiight. Wikipedia\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\/php-500x335.jpeg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27300,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/02\/08\/migrating-a-php-5-app-to-php-7\/","url_meta":{"origin":17977,"position":3},"title":"Migrating a PHP 5 App to PHP 7","author":"Leonid Mamchenkov","date":"February 8, 2017","format":false,"excerpt":"This year I'll be migrating quite a bit of stuff from PHP 5 to PHP 7. \u00a0We haven't started with the process yet, but with the recent indicators like PHPUnit 6 release, I'm sure the priority of this work will start rising. Obviously, I'm familiar with the new features of\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":18699,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/10\/23\/has-php-json-been-removed-in-php-5-5\/","url_meta":{"origin":17977,"position":4},"title":"Has PHP JSON been removed in PHP 5.5?","author":"Leonid Mamchenkov","date":"October 23, 2013","format":"link","excerpt":"Has PHP JSON been removed in PHP 5.5?","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":28179,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/11\/06\/php-ml-machine-learning-library-for-php\/","url_meta":{"origin":17977,"position":5},"title":"PHP-ML &#8211; Machine Learning library for PHP","author":"Leonid Mamchenkov","date":"November 6, 2017","format":false,"excerpt":"PHP-ML is a machine learning library for PHP.\u00a0 Given, PHP is probably not the best choice when it comes to machine learning, but sometimes one is limited in technology stack choices, so it's good have options like this one. Fresh approach to Machine Learning in PHP. Algorithms, Cross Validation, Neural\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\/17977","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=17977"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/17977\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=17977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=17977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=17977"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=17977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}