3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = opcache_get_status(); var_dump($a); $b = opcache_reset(); var_dump($b);
Output for git.master, rfc.property-hooks
bool(false) bool(false)
Output for git.master_jit
array(8) { ["opcache_enabled"]=> bool(true) ["cache_full"]=> bool(false) ["restart_pending"]=> bool(false) ["restart_in_progress"]=> bool(false) ["memory_usage"]=> array(4) { ["used_memory"]=> int(869576) ["free_memory"]=> int(7519032) ["wasted_memory"]=> int(0) ["current_wasted_percentage"]=> float(0) } ["opcache_statistics"]=> array(13) { ["num_cached_scripts"]=> int(0) ["num_cached_keys"]=> int(0) ["max_cached_keys"]=> int(16229) ["hits"]=> int(0) ["start_time"]=> int(1664766373) ["last_restart_time"]=> int(0) ["oom_restarts"]=> int(0) ["hash_restarts"]=> int(0) ["manual_restarts"]=> int(0) ["misses"]=> int(1) ["blacklist_misses"]=> int(0) ["blacklist_miss_ratio"]=> float(0) ["opcache_hit_rate"]=> float(0) } ["scripts"]=> array(0) { } ["jit"]=> array(7) { ["enabled"]=> bool(true) ["on"]=> bool(true) ["kind"]=> int(5) ["opt_level"]=> int(4) ["opt_flags"]=> int(6) ["buffer_size"]=> int(8388592) ["buffer_free"]=> int(8386096) } } bool(true)

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:
31.86 ms | 409 KiB | 5 Q