Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Generates a storable representation of a value
<?php serialize(mixed $value): string
<?php                 foreach ($httpVerbs as &$verbRoutes) {

                    foreach ($verbRoutes as &$route) {

                        if ($route['handler'] instanceof Closure) {

                            $route['handler'] = '__closure__' . serialize($route['handler']);

                        }

                    }

                }