Download
Download Latest
Version Support Policy
Documentation
Documentation Home
Tutorial
Project
Governance
Branding
License
GitHub Repository
Community
Contribute to PHP
Online Communities
Events | Conferences
Mailing Lists
PHP 8.5
All Releases
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
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
Credit Card Processing
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
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
PHP Release 5.0.1
Unsupported Version
5.0 has reached end-of-life
and will no longer receive bugfixes or security patches from the PHP Project.
Some downstream distributions may still continue to provide backported fixes for a time, depending on their support policy.
For more information please see our
support policy
.
This Release is Outdated
The latest release of PHP 5.0 is
5.0.5
.
Source Code
Source (tar.gz)
Change Logs
fixed bug #29474 (win32
Fixed bug
#29490
(.Net object instantiation failed). .
fixed bug #29449 (win32
Fixed bug
#29437
(Possible crash inside array_walk_recursive()).
Fixed bug
#29431
(crash when parsing invalid address; invalid address returned by stream_socket_recvfrom(), stream_socket_getname()).
Fixed bug
#29409
(Segfault in PHP functions called from XSLT).
Fixed unloading of dynamically loaded extensions.
Fixed bug
#29395
(sqlite_escape_string() returns bogus data on empty strings).
Fixed bug
#29392
(com_dotnet crashes when echo'ing an object).
Fixed bug
#29368
(The destructor is called when an exception is thrown from the constructor).
Fixed bug
#29354
(Exception constructor marked as both public and protected).
Fixed bug
#29342
(strtotime() does not handle empty date string properly).
Fixed bug
#29340
(win32 build produces invalid php_ifx.dll).
Fixed bug
#29335
(fetch functions now use MYSQLI_BOTH as default)
Fixed bug
#29291
(get_class_vars() return names with NULLs).
Fixed bug
#29264
(gettext extension not working).
Fixed bug
#29258
(variant_date_from_timestamp() does not honour timezone).
Fixed bug
#29256
(error when sending large packets on a socket).
Fixed bug
#29236
(memory error when wsdl-cache is enabled).
Fixed bug
#29147
(Compile Error in mnoGoSearch functions).
Fixed bug
#29132
($_SERVER["PHP_AUTH_USER"] isn't defined).
Fixed bug
#29119
(html_entity_decode() misbehaves with UTF-8).
fixed bug #29109 (soapfault exception
Fixed bug
#29061
(soap extension segfaults).
Fixed bug
#28985
(__getTypes() returning nothing on complex WSDL).
Fixed bug
#28969
(Wrong data encoding of special characters).
fixed bug #28895 (reflectionclass
Fixed bug
#28829
(Thread-unsafety in bcmath elementary values).
Fixed bug
#28464
(catch() does not catch exceptions by interfaces).
Fixed bug
#27669
(PHP 5 didn't support all possibilities for calling static methods dynamically).
fixed reflectionclass
Fixed convert.* filters to consume remaining buckets_in on flush.
Fixed bug in mysqli->client_version.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open
Press
Enter
without selection to search using Google