<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Context on seth-shi</title><link>https://sethix.com/tags/context/</link><description>Recent content in Context on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 08 Jan 2021 14:55:21 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/context/index.xml" rel="self" type="application/rss+xml"/><item><title>Differences Between Go and PHP and Parameter Passing in Context</title><link>https://sethix.com/posts/2021010814/</link><pubDate>Fri, 08 Jan 2021 14:55:21 +0800</pubDate><guid>https://sethix.com/posts/2021010814/</guid><description>For developers transitioning from PHP, some common questions arise: How can sequential requests affect each other? In many programming languages, this could be easily achieved using global variables However, in PHP, each request is completely independent This design has both advantages and disadvantages: Downside: Requires reloading code and configurations on each request Advantage: Automatic memory cleanup after request completion eliminates leakage concerns While PHP can achieve cross-request effects using tools like Redis, the approaches differ fundamentally Sample Go Code Analysis package main import ( &amp;#34;fmt&amp;#34; &amp;#34;github.</description></item></channel></rss>