Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Resource TypesYaconf::__debug_info>
^YaconfLast updated: Mon, 26 Oct 2026

The Yaconf class

(PECL yaconf >= 1.0.0)

Introduction

Yaconf is a configurations container, it parses INI files, stores the result in PHP when PHP is started, the result lives with the whole PHP lifecycle.

Class synopsis

class Yaconf {
/* Methods */
public static function __debug_info(string $name): ?array
public static function get(string $name, mixed $default = null): mixed
public static function has(string $name): bool
}

Table of Contents


<Resource TypesYaconf::__debug_info>
^YaconfLast updated: Mon, 26 Oct 2026