downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Types de ressources> <Installation
[edit] Last updated: Fri, 24 May 2013

view this page in

Configuration à l'exécution

Le comportement de ces fonctions est affecté par la configuration dans le fichier php.ini.

Options de configuration Yaml
Nom Défaut Modifiable Historique
yaml.decode_binary 0 PHP_INI_ALL
yaml.decode_timestamp 0 PHP_INI_ALL
yaml.output_canonical 0 PHP_INI_ALL
yaml.output_indent 2 PHP_INI_ALL
yaml.output_width 80 PHP_INI_ALL

Voici un éclaircissement sur l'utilisation des directives de configuration.

yaml.decode_binary boolean

Off par défaut ; si mis à on, permet le décodage des entités binaires base64 ayant le tag explicite "tag:yaml.org,2002:binary".

yaml.decode_timestamp integer

Contrôle le décodage des scalaires implicites et explicites "tag:yaml.org,2002:timestamp" dans le flux du document YAML. La valeur par défaut est 0, elle n'appliquera aucun décodage. Mis à 1, strtotime() sera utilisé pour analyser le timestamp comme un timestamp Unix timestamp. Mis à 2, date_create() sera utilisée pour analyser le timestamp via un objet DateTime.

yaml.output_canonical boolean

Off par défaut ; si mis à on, une sortie canonique sera utilisée.

yaml.output_indent integer

Nombres d'espaces pour l'indentation. Un entier entre 1 et 10 est requis.

yaml.output_width integer

Précise la largeur de ligne. -1 signifie illimité.



add a note add a note User Contributed Notes Configuration à l'exécution - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites