3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php dl('apc.so'); apc_store('x', '1'); var_dump(apc_inc('x')); var_dump(apc_dec('x'));
based on HokWc
Output for 7.0.0 - 7.1.0
Warning: dl(): Dynamically loaded extensions aren't enabled in /in/pa7i0 on line 3 Fatal error: Uncaught Error: Call to undefined function apc_store() in /in/pa7i0:5 Stack trace: #0 {main} thrown in /in/pa7i0 on line 5
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
bool(false) bool(false)
Output for 5.0.0 - 5.6.28
Warning: dl(): Dynamically loaded extensions aren't enabled in /in/pa7i0 on line 3 Fatal error: Call to undefined function apc_store() in /in/pa7i0 on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: dl(): Dynamically loaded extentions aren't enabled in /in/pa7i0 on line 3 Fatal error: Call to undefined function: apc_store() in /in/pa7i0 on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Warning: dl(): Dynamically loaded extentions aren't enabled in /in/pa7i0 on line 3 Fatal error: Call to undefined function: apc_store() in /in/pa7i0 on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: dl() [http://www.php.net/function.dl]: Dynamically loaded extentions aren't enabled in /in/pa7i0 on line 3 Fatal error: Call to undefined function: apc_store() in /in/pa7i0 on line 5