Downloads
Documentation
Get Involved
Help
Search docs
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
cURL »
« var_representation
PHP Manual
Function Reference
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Other Services
cURL
— Client URL Library
Introduction
Installing/Configuring
Predefined Constants
Examples
cURL Functions
CurlHandle
— The CurlHandle class
CurlMultiHandle
— The CurlMultiHandle class
CurlShareHandle
— The CurlShareHandle class
CURLFile
— The CURLFile class
CURLStringFile
— The CURLStringFile class
Event
Introduction
Installing/Configuring
Examples
Event flags
About event persistence
Event callbacks
Constructing signal events
Event
— The Event class
EventBase
— The EventBase class
EventBuffer
— The EventBuffer class
EventBufferEvent
— The EventBufferEvent class
About buffer event callbacks
EventConfig
— The EventConfig class
EventDnsBase
— The EventDnsBase class
EventHttp
— The EventHttp class
EventHttpConnection
— The EventHttpConnection class
EventHttpRequest
— The EventHttpRequest class
EventListener
— The EventListener class
EventSslContext
— The EventSslContext class
EventUtil
— The EventUtil class
EventException
— The EventException class
FTP
Introduction
Installing/Configuring
Predefined Constants
Examples
FTP Functions
FTP\Connection
— The FTP\Connection class
Gearman
Introduction
Installing/Configuring
Predefined Constants
Examples
GearmanClient
— The GearmanClient class
GearmanJob
— The GearmanJob class
GearmanTask
— The GearmanTask class
GearmanWorker
— The GearmanWorker class
GearmanException
— The GearmanException class
LDAP
— Lightweight Directory Access Protocol
Introduction
Installing/Configuring
Predefined Constants
Using the PHP LDAP calls
LDAP controls
Examples
LDAP Functions
LDAP\Connection
— The LDAP\Connection class
LDAP\Result
— The LDAP\Result class
LDAP\ResultEntry
— The LDAP\ResultEntry class
Memcache
Introduction
Installing/Configuring
Predefined Constants
Examples
Memcache
— The Memcache class
Memcache Functions
Memcached
Introduction
Installing/Configuring
Predefined Constants
Expiration Times
Callbacks
Sessions support
Memcached
— The Memcached class
MemcachedException
— The MemcachedException class
mqseries
Introduction
Installing/Configuring
Predefined Constants
mqseries Functions
Network
Introduction
Installing/Configuring
Predefined Constants
Network Functions
RRD
— RRDtool
Introduction
Installing/Configuring
Examples
RRD Functions
RRDCreator
— The RRDCreator class
RRDGraph
— The RRDGraph class
RRDUpdater
— The RRDUpdater class
ScoutAPM
Introduction
Installing/Configuring
Scoutapm Functions
SNMP
Introduction
Installing/Configuring
Predefined Constants
SNMP Functions
SNMP
— The SNMP class
SNMPException
— The SNMPException class
Sockets
Introduction
Installing/Configuring
Predefined Constants
Examples
Socket Errors
Socket Functions
Socket
— The Socket class
AddressInfo
— The AddressInfo class
SSH2
— Secure Shell2
Introduction
Installing/Configuring
Predefined Constants
SSH2 Functions
Stomp
— Stomp Client
Introduction
Installing/Configuring
Examples
Stomp Functions
Stomp
— The Stomp class
StompFrame
— The StompFrame class
StompException
— The StompException class
SVM
— Support Vector Machine
Introduction
Installing/Configuring
Examples
SVM
— The SVM class
SVMModel
— The SVMModel class
SVN
— Subversion
Introduction
Installing/Configuring
Predefined Constants
SVN Functions
TCP
— TCP Wrappers
Introduction
Installing/Configuring
TCP Functions
Varnish
Introduction
Installing/Configuring
Predefined Constants
Examples
VarnishAdmin
— The VarnishAdmin class
VarnishStat
— The VarnishStat class
VarnishLog
— The VarnishLog class
YAZ
Introduction
Installing/Configuring
Examples
YAZ Functions
0MQ messaging
— ZMQ
Introduction
Installing/Configuring
ZMQ
— The ZMQ class
ZMQContext
— The ZMQContext class
ZMQSocket
— The ZMQSocket class
ZMQPoll
— The ZMQPoll class
ZMQDevice
— The ZMQDevice class
ZooKeeper
Introduction
Installing/Configuring
ZooKeeper Functions
Zookeeper
— The Zookeeper class
ZookeeperConfig
— The ZookeeperConfig class
ZookeeperException
— The ZookeeperException class
ZookeeperAuthenticationException
— The ZookeeperAuthenticationException class
ZookeeperConnectionException
— The ZookeeperConnectionException class
ZookeeperMarshallingException
— The ZookeeperMarshallingException class
ZookeeperNoNodeException
— The ZookeeperNoNodeException class
ZookeeperOperationTimeoutException
— The ZookeeperOperationTimeoutException class
ZookeeperSessionException
— The ZookeeperSessionException class
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