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

search for in the

eio_rename> <eio_readlink
[edit] Last updated: Fri, 24 May 2013

view this page in

eio_realpath

(PECL eio >= 0.0.1dev)

eio_realpathObtener el nombre de ruta absoluto canonizado

Descripción

resource eio_realpath ( string $path , int $pri , callable $callback [, string $data = NULL ] )

eio_realpath() devuelve el nombre de ruta absoluto canonizado en el argumento result de la función callback.

Parámetros

path

EL nombre abreviado

pri

callback

data

Valores devueltos

Ejemplos

Ejemplo #1 Ejemplo de eio_realpath()

<?php
var_dump
(getcwd());

function 
mi_llamada_retorno_realpath($datos$resultado) {
    
var_dump($resultado);
}

eio_realpath("../"EIO_PRI_DEFAULT"mi_llamada_retorno_realpath");
eio_event_loop();
?>

El resultado del ejemplo sería algo similar a:

string(12) "/home/ruslan"
string(5) "/home"


add a note add a note User Contributed Notes eio_realpath - [0 notes]
There are no user contributed notes for this page.

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