Файловый менеджер - Редактировать - /var/www/vhosts/allit.dev1.mndrn.cloud/wp-content/plugins/otgs-installer-plugin/fp/core/Cast.php
Назад
<?php namespace WPML\INSTALLER\FP; use WPML\Collect\Support\Traits\Macroable; /** * @method static callable|bool toBool( mixed ...$v ) - Curried :: mixed->bool * @method static callable|int toInt( mixed ...$v ) - Curried :: mixed->int */ class Cast { use Macroable; public static function init() { self::macro( 'toBool', curryN( 1, function ( $v ) { return (bool) $v; } ) ); self::macro( 'toInt', curryN( 1, function ( $v ) { return intval( $v ); } ) ); } } Cast::init();
| ver. 1.4 |
Github
|
.
| PHP 8.2.5 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка