PHP Divers. Fonctions


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:
NomPar défautDescriptionChangeable
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 connexionPHP_INI_ALL
highlight.string"# DD0000"Couleur pour mettre en évidence une chaîne dans la syntaxe PHPPHP_INI_ALL
highlight.comment"# FF8000"Couleur pour mettre en évidence les commentaires PHPPHP_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 fondPHP_INI_ALL
highlight.default"# 0000BB"La couleur par défaut pour la syntaxe PHPPHP_INI_ALL
highlight.html"# 000000"Couleur pour le code HTMLPHP_INI_ALL
browscapNULLNom 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.
FonctionDescriptionPHP
connection_aborted ()Vérifie si le client s'est déconnecté3
connection_status ()Renvoie l'état actuel de la connexion3
connection_timeout ()Obsolète en PHP 4.0.53
constante ()Retourne la valeur d'une constante4
define ()Définit une constante3
définir ()Vérifie si une constante existe3
die ()Affiche un message et termine le script courant3
eval ()Évalue une chaîne comme un script PHP3
exit ()Affiche un message et termine le script courant3
get_browser ()Retourne les capacités du navigateur de l'utilisateur3
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 script3
pack ()Packs de données dans une chaîne binaire3
php_check_syntax ()Obsolète en PHP 5.0.55
php_strip_whitespace ()Retourne le code source d'un fichier avec des commentaires PHP et les espaces enlevés5
show_source ()Alias ​​de highlight_file ()4
sleep ()L'exécution de code retards pour un certain nombre de secondes3
time_nanosleep ()L'exécution de code retards pour un certain nombre de secondes et de nanosecondes5
time_sleep_until ()L'exécution de code retards jusqu'à un moment précisé5
uniqid ()Génère un identifiant unique3
unpack ()Données déballe d'une chaîne binaire3
usleep ()L'exécution de code retards pour un certain nombre de microsecondes3


PHP Divers. Constantes

PHP : indique la première version de PHP qui prend en charge la constante.
ConstanteDescriptionPHP
Connection_aborted  
CONNECTION_NORMAL  
CONNECTION_TIMEOUT  
__COMPILER_HALT_OFFSET__ 5

6 commentaires:

  1. Fantastic goods from you, man. I have understand your stuff previous to and you
    are 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

    ReplyDelete
  2. Your style is very unique compared to other folks
    I 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

    ReplyDelete
  3. I do not even know how I finished up here, however I assumed this publish was
    good. 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

    ReplyDelete
  4. Hello, I think your site might be having browser compatibility issues.
    When 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

    ReplyDelete
  5. For the reason that the admin of this website is working,
    no hesitation very quickly it will be famous, due to its quality contents.


    My web page :: hair growth cycle

    ReplyDelete
  6. What's up, just wanted to mention, I enjoyed this blog post. It was inspiring. Keep on posting!

    My web site ... ensynefo.com

    ReplyDelete

HELLO VISITORS THANKS FOR YOUR VISIT AND COMMENT