$mem=new Memcached();$mem->set('a',10);echo $mem->get('a');Hello Hoang,
Unfortunately, App Engine Memcache support is not provided for PHP 7.2 as it is a second generation runtime which does not have access to proprietary App Engine APIs such as Memcache, but similar functionality can be achieved using Redis Labs Cloud as stated in Migrating your App from PHP 5.5 to PHP 7.2. However, there is a feature request Memcache for PHP 7.2 (standard). The current recommendation taken from the previous link is:
“Redis Labs provides both a redis and memcache interface, which you would access using their respective clients.”
“To use the redis protocol, please follow the guide at:” https://cloud.google.com/appengine/docs/standard/python3/using-redislabs-redis