PHP code example of scil / opcache-status
1. Go to this page and download the library: Download scil/opcache-status library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
scil / opcache-status example snippets
Route::get('/opcache', function () {
// $request = app()->make('request'); if ($request->query('clear')) { opcache_reset(); return back(); }