Downloads
Documentation
Get Involved
Help
Search docs
PHP 8.5.0 Alpha 1 available for testing
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Introducción »
« spl_object_id
Manual de PHP
Referencia de funciones
Otras extensiones básicas
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Flujos
Introducción
Instalación/Configuración
Clases Stream
Constantes predefinidas
Filtros de Flujos
Contextos de Flujos
Errores de Flujos
Ejemplos
Ejemplo de clase registrada como envoltura de flujo
php_user_filter
— La clase php_user_filter
php_user_filter::filter
— Llamado cuando se aplica un filtro
php_user_filter::onClose
— Llamado cuando se cierra el filtro
php_user_filter::onCreate
— Llamado cuando se crea el filtro
streamWrapper
— La clase streamWrapper
streamWrapper::__construct
— Construye una nueva envoltura de flujo
streamWrapper::__destruct
— Destruye una envoltura de flujo existente
streamWrapper::dir_closedir
— Cerrar un gestor de directorio
streamWrapper::dir_opendir
— Abrir un gestor de directorio
streamWrapper::dir_readdir
— Lee un archivo en un directorio
streamWrapper::dir_rewinddir
— Rebobina el gestor de directorio
streamWrapper::mkdir
— Crear un directorio
streamWrapper::rename
— Renombra un archivo o directorio
streamWrapper::rmdir
— Elimina un directorio
streamWrapper::stream_cast
— Lee el recurso subyacente de flujo
streamWrapper::stream_close
— Cerrar un recurso
streamWrapper::stream_eof
— Comprueba si un puntero a un archivo está en el final del archivo (EOF)
streamWrapper::stream_flush
— Vuelca la salida
streamWrapper::stream_lock
— Bloqueo de archivos asesorado
streamWrapper::stream_metadata
— Cambiar los metadatos del flujo
streamWrapper::stream_open
— Abre un archivo o una URL
streamWrapper::stream_read
— Lee desde el flujo
streamWrapper::stream_seek
— Coloca el puntero de flujo en una posición
streamWrapper::stream_set_option
— Cambia las opciones del flujo
streamWrapper::stream_stat
— Recuperar información sobre un recurso de archivo
streamWrapper::stream_tell
— Recuperar la posición actual de un flujo
streamWrapper::stream_truncate
— Truncar un flujo
streamWrapper::stream_write
— Escribir en un flujo
streamWrapper::unlink
— Borrar un archivo
streamWrapper::url_stat
— Lee la información sobre un fichero
Funciones de Flujos
stream_bucket_append
— Añade un compartimento al cuerpo
stream_bucket_make_writeable
— Devuelve un objeto de compartimento desde el cuerpo para operaciones sobre el mismo
stream_bucket_new
— Crea un nuevo compartimento para utilizarlo en el flujo actual
stream_bucket_prepend
— Añadir inicialmente un bucket a una brigada
stream_context_create
— Crea un contexto de flujo
stream_context_get_default
— Lee el contexto por defecto de los flujos
stream_context_get_options
— Recuperar las opciones para un flujo/envoltura/contexto
stream_context_get_params
— Lee los parámetros de un contexto
stream_context_set_default
— Configura el contexto predeterminado de los flujos
stream_context_set_option
— Configura una opción para un flujo/gestor/contexto
stream_context_set_options
— Define las opciones en el contexto especificado
stream_context_set_params
— Configura los parámetros para un flujo/gestor/contexto
stream_copy_to_stream
— Copia datos desde un flujo hacia otro
stream_filter_append
— Añade un filtro a un flujo al final de la lista
stream_filter_prepend
— Adjunta un filtro a un flujo al inicio de la lista
stream_filter_register
— Registra un filtro de flujo
stream_filter_remove
— Elimina un filtro de un flujo
stream_get_contents
— Lee todo un flujo en un string
stream_get_filters
— Lista los filtros registrados
stream_get_line
— Lee una línea en un flujo
stream_get_meta_data
— Lee los encabezados y metadatos de los flujos
stream_get_transports
— Lista los gestores de transporte de sockets disponibles
stream_get_wrappers
— Lista los gestores de flujo
stream_is_local
— Verifica si un flujo es local
stream_isatty
— Verifica si un flujo es un TTY
stream_notification_callback
— Una función de retrollamada para el parámetro de contexto notification
stream_register_wrapper
— Alias de stream_wrapper_register
stream_resolve_include_path
— Resuelve un nombre de fichero siguiendo las reglas de la ruta de inclusión
stream_select
— Supervisa la modificación de uno o varios flujos
stream_set_blocking
— Configura el modo de bloqueo de un flujo
stream_set_size
— Cambia el tamaño del segmento del flujo
stream_set_read_buffer
— Configura el buffer de lectura de un flujo
stream_set_timeout
— Configura el tiempo de espera de un flujo
stream_set_write_buffer
— Configura el buffer de escritura de un flujo
stream_socket_accept
— Acepta una conexión en un socket creado por stream_socket_server
stream_socket_client
— Abre una conexión de socket de Internet o Unix
stream_socket_enable_crypto
— Activa o desactiva el cifrado para un socket ya conectado
stream_socket_get_name
— Lee el nombre del socket local o remoto
stream_socket_pair
— Crea un par de sockets conectados e inseparables
stream_socket_recvfrom
— Lee datos desde un socket, conectado o no
stream_socket_sendto
— Envía un mensaje al socket, conectado o no
stream_socket_server
— Crea un socket de servidor Unix o Internet
stream_socket_shutdown
— Detiene una conexión full-duplex
stream_supports_lock
— Indica si el flujo soporta bloqueo
stream_wrapper_register
— Registra un gestor de URL
stream_wrapper_restore
— Restablece una envoltura incluida que se dejó de registrar previamente
stream_wrapper_unregister
— Deja de registrar una envoltura de URL
Found A Problem?
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google