3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(defined('Memcached::RES_SERVER_MARKED_DEAD')); var_dump(defined('Memcached::OPT_REMOVE_FAILED_SERVERS')); var_dump(defined('Memcached::OPT_DEAD_TIMEOUT')); var_dump(defined('Memcached::OPT_CONNECT_TIMEOUT'));
based on 3oUSu
Output for 4.3.5 - 5.2.3, 5.2.13 - 5.6.28, 7.0.0 - 7.1.0
bool(false) bool(false) bool(false) bool(false)
Output for hhvm-3.10.0 - 3.12.0
bool(true) bool(true) bool(true) bool(true)
Output for 5.2.4 - 5.2.12
Fatal error: Class 'Memcached' not found in /in/WkYbt on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.4
int(0) int(0) int(0) int(0)