Test OpCache

";
    https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.force-restart-timeout
    https://docs.roguewave.com/en/zend/current/content/zendserverapi/zend_opcache-configuration_directives.htm
    https://tideways.com/profiler/blog/fine-tune-your-opcache-configuration-to-avoid-caching-suprises
    https://www.digitalocean.com/community/questions/configure-tune-opcache-on-php7
    

Test OpCache Status (ASSERT: array, CONDITION: )

opcache_get_status = [ ]  
[opcache_enabled]   TRUE
[cache_full]   FALSE
[restart_pending]   FALSE
[restart_in_progress]   FALSE
[memory_usage]  
memory_usage = [ ]  
[used_memory]   9217816
[free_memory]   124999912
[wasted_memory]   0
[current_wasted_percentage]   0

[interned_strings_usage]  
interned_strings_usage = [ ]  
[buffer_size]   6291008
[used_memory]   445160
[free_memory]   5845848
[number_of_strings]   9274

[opcache_statistics]  
opcache_statistics = [ ]  
[num_cached_scripts]   5
[num_cached_keys]   5
[max_cached_keys]   16229
[hits]   0
[start_time]   1763362587
[last_restart_time]   0
[oom_restarts]   0
[hash_restarts]   0
[manual_restarts]   0
[misses]   7
[blacklist_misses]   0
[blacklist_miss_ratio]   0
[opcache_hit_rate]   0

[scripts]  
scripts = [ ]  
[/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_data/products_dao.php]  
/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_data/products_dao.php = [ ]  
[full_path]   "/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_data/products_dao.php"
[hits]   0
[memory_consumption]   15152
[last_used]   "Mon Nov 17 01:56:27 2025"
[last_used_timestamp]   1763362587
[timestamp]   1651193884

[/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_admin/db_view.php]  
/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_admin/db_view.php = [ ]  
[full_path]   "/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_admin/db_view.php"
[hits]   0
[memory_consumption]   3432
[last_used]   "Mon Nov 17 01:56:27 2025"
[last_used_timestamp]   1763362587
[timestamp]   1651193873

[/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/include/lib_data_dump.php]  
/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/include/lib_data_dump.php = [ ]  
[full_path]   "/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/include/lib_data_dump.php"
[hits]   0
[memory_consumption]   10992
[last_used]   "Mon Nov 17 01:56:27 2025"
[last_used_timestamp]   1763362587
[timestamp]   1651193822

[/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_admin/opcache_test.php]  
/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_admin/opcache_test.php = [ ]  
[full_path]   "/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_admin/opcache_test.php"
[hits]   0
[memory_consumption]   3032
[last_used]   "Mon Nov 17 01:56:27 2025"
[last_used_timestamp]   1763362587
[timestamp]   1651193875

[/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_data/slug_dao.php]  
/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_data/slug_dao.php = [ ]  
[full_path]   "/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_data/slug_dao.php"
[hits]   0
[memory_consumption]   17184
[last_used]   "Mon Nov 17 01:56:27 2025"
[last_used_timestamp]   1763362587
[timestamp]   1651193885



opcache_get_configuration = [ ]  
[directives]  
directives = [ ]  
[opcache.enable]   TRUE
[opcache.enable_cli]   FALSE
[opcache.use_cwd]   TRUE
[opcache.validate_timestamps]   TRUE
[opcache.validate_permission]   FALSE
[opcache.validate_root]   FALSE
[opcache.dups_fix]   FALSE
[opcache.revalidate_path]   FALSE
[opcache.log_verbosity_level]   1
[opcache.memory_consumption]   134217728
[opcache.interned_strings_buffer]   8
[opcache.max_accelerated_files]   10000
[opcache.max_wasted_percentage]   0.05
[opcache.consistency_checks]   0
[opcache.force_restart_timeout]   180
[opcache.revalidate_freq]   2
[opcache.preferred_memory_model]   ""
[opcache.blacklist_filename]   ""
[opcache.max_file_size]   0
[opcache.error_log]   ""
[opcache.protect_memory]   FALSE
[opcache.save_comments]   TRUE
[opcache.enable_file_override]   FALSE
[opcache.optimization_level]   2147401727
[opcache.lockfile_path]   "/tmp"
[opcache.file_cache]   ""
[opcache.file_cache_only]   FALSE
[opcache.file_cache_consistency_checks]   TRUE
[opcache.file_update_protection]   2
[opcache.opt_debug_level]   0
[opcache.restrict_api]   ""
[opcache.huge_code_pages]   FALSE
[opcache.preload]   ""
[opcache.preload_user]   ""

[version]  
version = [ ]  
[version]   "7.4.33"
[opcache_product_name]   "Zend OPcache"

[blacklist]  
blacklist = [ ]  


/home/toolzoft/public_html/com_jamesburt/Demos/Frameworks/JAMstack/_admin/opcache_test.php Cached = TRUE

Test Slug Count Increment (ASSERT: TRUE, CONDITION: category=car~color=red.html)

TRUE