Downloads
Documentation
Get Involved
Help
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
Introduction »
« output_reset_rewrite_vars
PHP Manual
Function Reference
Affecting PHP's Behaviour
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
PHP Options and Information
Introduction
Installing/Configuring
Runtime Configuration
Predefined Constants
PHP Options/Info Functions
assert
— Checks an assertion
assert_options
— Set/get the various assert flags
cli_get_process_title
— Returns the current process title
cli_set_process_title
— Sets the process title
dl
— Loads a PHP extension at runtime
extension_loaded
— Find out whether an extension is loaded
gc_collect_cycles
— Forces collection of any existing garbage cycles
gc_disable
— Deactivates the circular reference collector
gc_enable
— Activates the circular reference collector
gc_enabled
— Returns status of the circular reference collector
gc_mem_caches
— Reclaims memory used by the Zend Engine memory manager
gc_status
— Gets information about the garbage collector
get_cfg_var
— Gets the value of a PHP configuration option
get_current_user
— Gets the name of the owner of the current PHP script
get_defined_constants
— Returns an associative array with the names of all the constants and their values
get_extension_funcs
— Returns an array with the names of the functions of a module
get_include_path
— Gets the current include_path configuration option
get_included_files
— Returns an array with the names of included or required files
get_loaded_extensions
— Returns an array with the names of all modules compiled and loaded
get_magic_quotes_gpc
— Gets the current configuration setting of magic_quotes_gpc
get_magic_quotes_runtime
— Gets the current active configuration setting of magic_quotes_runtime
get_required_files
— Alias of get_included_files
get_resources
— Returns active resources
getenv
— Gets the value of a single or all environment variables
getlastmod
— Gets time of last page modification
getmygid
— Get PHP script owner's GID
getmyinode
— Gets the inode of the current script
getmypid
— Gets PHP's process ID
getmyuid
— Gets PHP script owner's UID
getopt
— Gets options from the command line argument list
getrusage
— Gets the current resource usages
ini_alter
— Alias of ini_set
ini_get
— Gets the value of a configuration option
ini_get_all
— Gets all configuration options
ini_parse_quantity
— Get interpreted size from ini shorthand syntax
ini_restore
— Restores the value of a configuration option
ini_set
— Sets the value of a configuration option
memory_get_peak_usage
— Returns the peak of memory allocated by PHP
memory_get_usage
— Returns the amount of memory allocated to PHP
memory_reset_peak_usage
— Reset the peak memory usage
php_ini_loaded_file
— Retrieve a path to the loaded php.ini file
php_ini_scanned_files
— Return a list of .ini files parsed from the additional ini dir
php_sapi_name
— Returns the type of interface between web server and PHP
php_uname
— Returns information about the operating system PHP is running on
phpcredits
— Prints out the credits for PHP
phpinfo
— Outputs information about PHP's configuration
phpversion
— Gets the current PHP version
putenv
— Sets the value of an environment variable
restore_include_path
— Restores the value of the include_path configuration option
set_include_path
— Sets the include_path configuration option
set_time_limit
— Limits the maximum execution time
sys_get_temp_dir
— Returns directory path used for temporary files
version_compare
— Compares two "PHP-standardized" version number strings
zend_thread_id
— Returns a unique identifier for the current thread
zend_version
— Gets the version of the current Zend engine
Improve This Page
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.