pathinfo

pathinfo -- Retourne des informations sur un chemin système

Description

array pathinfo ( string path)

pathinfo( ) retourne un tableau associatif , contenant les informations sur le chemin path . Les éléments suivants sont retournés : dirname , basename et extension .

Exemple 1 . Exemple avec pathinfo( )






Va afficher :






Voir aussi dirname( ) , parse_url( ) , basename( ) et realpath( ) .