dev_fonctions.php
Table of Contents
Functions
- bel_env() : string
- Une fonction récursive pour joliment afficher #ENV, #GET, #SESSION... en squelette : [(#ENV|bel_env)], [(#GET|bel_env)], [(#SESSION|bel_env)] ou encore [(#ARRAY{0,1, a,#SESSION, 1,#ARRAY{x,y}}|bel_env)]
- filtre_dev_afficher_code_dist() : string
- Afficher un bloc de code informatique avec coloration syntaxique si possible.
Functions
bel_env()
Une fonction récursive pour joliment afficher #ENV, #GET, #SESSION... en squelette : [(#ENV|bel_env)], [(#GET|bel_env)], [(#SESSION|bel_env)] ou encore [(#ARRAY{0,1, a,#SESSION, 1,#ARRAY{x,y}}|bel_env)]
bel_env(string|array<string|int, mixed> $env[, bool $afficher_en_clair = false ]) : string
Parameters
- $env : string|array<string|int, mixed>
-
si une string est passée elle doit être le serialize d'un array
- $afficher_en_clair : bool = false
-
si vrai indique qu'il faut afficher la chaine vide, la valeur null et les booleens respectivement comme
''
,null
,true
oufalse
.
Return values
string —une chaîne html affichant une