3v4l.org

run code in 300+ PHP versions simultaneously
<?php $memc1 = new Memcached("test"); $memc1->setOption(Memcached::OPT_PREFIX_KEY, 'php'); var_dump($memc1->getOption(Memcached::OPT_PREFIX_KEY)); $memc2 = new Memcached("test"); var_dump($memc2->getOption(Memcached::OPT_PREFIX_KEY)); $memc3 = new Memcached(); var_dump($memc3->getOption(Memcached::OPT_PREFIX_KEY));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "Memcached" not found in /in/ihob4:2 Stack trace: #0 {main} thrown in /in/ihob4 on line 2
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.51 ms | 401 KiB | 8 Q