PHP Divers Présentation
La misc. fonctions ont été placées là, car seulement aucune des autres catégories semblaient correspondre.
Installation
Les fonctions misc font partie du coeur de PHP. Il n'y a pas d'installation nécessaire pour utiliser ces fonctions.
Configuration à l'exécution
Le comportement de la misc fonctions est affecté par la configuration dans le fichier php.ini.
Divers. options de configuration:
Nom | Par défaut | Description | Changeable |
---|---|---|---|
ignore_user_abort | "0" | FALSE indique que les scripts seront levées aussitôt que quelque chose qu'ils essaient de sortie après un client a annulé leur connexion | PHP_INI_ALL |
highlight.string | "# DD0000" | Couleur pour mettre en évidence une chaîne dans la syntaxe PHP | PHP_INI_ALL |
highlight.comment | "# FF8000" | Couleur pour mettre en évidence les commentaires PHP | PHP_INI_ALL |
highlight.keyword | "# 007700" | Couleur des mots-clés syntaxe PHP soulignant (par exemple entre parenthèses et point-virgule) | PHP_INI_ALL |
highlight.bg | "# FFFFFF" | Couleur pour le fond | PHP_INI_ALL |
highlight.default | "# 0000BB" | La couleur par défaut pour la syntaxe PHP | PHP_INI_ALL |
highlight.html | "# 000000" | Couleur pour le code HTML | PHP_INI_ALL |
browscap | NULL | Nom et emplacement de navigateur des fonctionnalités de fichier (par exemple browscap.ini) | PHP_INI_SYSTEM |
PHP Divers. Fonctions
PHP : indique la première version de PHP qui prend en charge la fonction.
Fonction | Description | PHP |
---|---|---|
connection_aborted () | Vérifie si le client s'est déconnecté | 3 |
connection_status () | Renvoie l'état actuel de la connexion | 3 |
connection_timeout () | Obsolète en PHP 4.0.5 | 3 |
constante () | Retourne la valeur d'une constante | 4 |
define () | Définit une constante | 3 |
définir () | Vérifie si une constante existe | 3 |
die () | Affiche un message et termine le script courant | 3 |
eval () | Évalue une chaîne comme un script PHP | 3 |
exit () | Affiche un message et termine le script courant | 3 |
get_browser () | Retourne les capacités du navigateur de l'utilisateur | 3 |
highlight_file () | Génère un fichier avec la syntaxe PHP souligné | 4 |
highlight_string () | Sorties d'une chaîne avec la syntaxe PHP souligné | 4 |
ignore_user_abort () | Définit si un client distant peut interrompre le fonctionnement d'un script | 3 |
pack () | Packs de données dans une chaîne binaire | 3 |
php_check_syntax () | Obsolète en PHP 5.0.5 | 5 |
php_strip_whitespace () | Retourne le code source d'un fichier avec des commentaires PHP et les espaces enlevés | 5 |
show_source () | Alias de highlight_file () | 4 |
sleep () | L'exécution de code retards pour un certain nombre de secondes | 3 |
time_nanosleep () | L'exécution de code retards pour un certain nombre de secondes et de nanosecondes | 5 |
time_sleep_until () | L'exécution de code retards jusqu'à un moment précisé | 5 |
uniqid () | Génère un identifiant unique | 3 |
unpack () | Données déballe d'une chaîne binaire | 3 |
usleep () | L'exécution de code retards pour un certain nombre de microsecondes | 3 |
PHP Divers. Constantes
PHP : indique la première version de PHP qui prend en charge la constante.
Constante | Description | PHP |
---|---|---|
Connection_aborted | ||
CONNECTION_NORMAL | ||
CONNECTION_TIMEOUT | ||
__COMPILER_HALT_OFFSET__ | 5 |
Fantastic goods from you, man. I have understand your stuff previous to and you
ReplyDeleteare just too excellent. I actually like what you have acquired
here, certainly like what you are saying and the way in which you say it.
You make it enjoyable and you still take care
of to keep it sensible. I cant wait to read far more from you.
This is really a great website.
hardwood floors installation
My homepage ... engineered hardwood flooring
Your style is very unique compared to other folks
ReplyDeleteI have read stuff from. Thank you for posting when you've got the opportunity, Guess I'll just book mark
this web site.
Feel free to surf to my web site :: hardwood floors
I do not even know how I finished up here, however I assumed this publish was
ReplyDeletegood. I don't realize who you're however definitely you are
going to a well-known blogger in the event you are
not already. Cheers!
Here is my webpage; hardwood flooring
Hello, I think your site might be having browser compatibility issues.
ReplyDeleteWhen I look at your blog in Ie, it looks fine but when opening in Internet Explorer, it has some
overlapping. I just wanted to give you a quick heads up!
Other then that, superb blog!
Feel free to visit my webpage toenail fungus treatment
For the reason that the admin of this website is working,
ReplyDeleteno hesitation very quickly it will be famous, due to its quality contents.
My web page :: hair growth cycle
What's up, just wanted to mention, I enjoyed this blog post. It was inspiring. Keep on posting!
ReplyDeleteMy web site ... ensynefo.com