Sie sind hier: PHP-Versionen > PHP 5 > PHP 5.0

PHP 5.0.5 wurde am 05.09.2005 herausgebracht. Im folgenden erhalten Sie einen kurzen Überblick welche Änderungen in diesem Patch enthalten waren. Bei Interesse kann auch das ausführliche Änderungsprotokoll eingesehen werden.

Fixed failing queries problem (FALSE returned) with mysqli_query() on 64 bit
Fixed memory corruption in pg_copy_from() in case the as_null parameter was passed
Fixed ext/mysqli to allocate less memory when fetching bound params of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT
Fixed memory corruption in ImageTTFText() with 64bit systems
Fixed memory corruption in stristr()
Fixed segfaults when CURL callback functions throw exception
Fixed various reentrancy bugs in user-sort functions
on_modify handler not called to set the default value if setting from php.ini was invalid
date('W') do not return leading zeros for week 1 to 9
ReflectionClass::isInstantiable() returns true for abstract classes
array_filter() crashes with references and objects
Segfault with callbacks (array_map) + overloading
assigning array element by reference causes binary mess
Reflection API problems in methods with boolean or null default values
arr[] as param to function is allowed only if function receives argument by reference
Crash in catch block when many arguments are used
extract($GLOBALS,EXTR_REFS) crashes PHP
array_map() fails to pass by reference when called recursively
php:function call __autoload with lowercase param
throw Exception in error handler causes crash
php_value overrides php_admin_value
ArrayAccess objects doen't initialize $this
LDAP: RootDSE query not possible
warning with nested calls to functions returning by reference
crash if safe_mode is on and session.save_path is changed
crash after extending MySQLi internal class
CLI Crash when calling php:function from XSLT
private method accessed by child class
iconv_strlen() works only with a parameter of < 3 in length
mysqli_real_escape doesn't work in __construct
array_splice() inconsistent when passed function instead of variable
ze1_compatibility_mode does not work as expected
Mangled error message when stream fails
segfault when CURL handle is closed in a callback
odbc_next_result does not signal SQL errors with 2-statement SQL batches
relax jpeg recursive loop protection
preg_replace(): magic_quotes_sybase=On makes 'e' modifier misbehave
--enable-session=shared does not build
foreach enumerates private fields declared in base classes
Soap extension incorrectly detects HTTP/1.1
cygwin version of setitimer doesn't accept ITIMER_PROF
crash when assigning class name to global variable in __autoload
mysqli_prepare() doesn't return an error
str_ireplace() incorrectly counts result string length and may cause segfault
Add a safemode/open_basedir check for runtime "session.save_path" change using session_save_path() function
Improved performance of bzdecompress() by several orders of magnitude
crash when moving xml attribute set in dtd
Don't send extraneous entity-headers on a 304 as per RFC 2616 section 10.3.5
socket errors cause memory leaks in php_strerror()
"make distclean" gives an error with VPATH build
"next month" was handled wrong while parsing dates
ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault
mysql_bind_result() doesn't support MYSQL_TYPE_NULL
Incorrect option for mysqli default password
Disabling session.use_cookies doesn't prevent reading session cookies
Sending structured SOAP fault kills a php
http redirects URLs are not checked for control chars
Cannot extend class "SQLiteDatabase"
Oracle LDAP: ldap_get_entries(), invalid pointer
class extending DOMDocument doesn't clone properly
pg_get_notify() ignores result_type parameter
Crash with singleton and __destruct when zend.ze1_compatibility_mode = On
parse_url() does not handle scheme-only urls properly
temporary files not using plain file wrapper
Missing T1LIB support on Windows
General cookie overrides more specific cookie
ext/odbc: Problems with 64bit systems
crash: calling the corresponding global var during the destruct
SOAP doesn't support one-way operations
GMP functions break when second parameter is 0
incorrect determination of default value (COM)
Cannot access safearray properties in VB6 objects
Segfault in replaceChild() when DocumentFragment has no children
Undefined constant SQLITE_NOTADB
segmentation fault when the stream with a wrapper is not closed
pg_affected_rows() was defined when it was not available
Require/include file in destructor causes segfault
ext/mssql: Error on module shutdown when called from activescript
exception in iterator causes crash
Assignment by reference causes crash when field access is overloaded (__get)
Using register_shutdown_function() with invalid callback can crash PHP
Segfault in replaceChild() using fragment when previousSibling is NULL
ext/snmp: use of snmp_shutdown() causes snmpapp.conf access errors
html_entity_decode() converts single quotes even if ENT_NOQUOTES is given
Segfault/Memory Leak by getClass (etc) in __destruct
ext/mysql: Unsatisfied symbol: ntohs with HP-UX
Possible crash inside imap_mail_compose, with charsets
Apache2: errors sent to error_log do not include timestamps
configure looks for incorrect db2 library
mmap loads only the 1st 2000000 bytes on Win32
proc_get_status() returns the incorrect process status
chunk_split() does not append endstr if chunklen is longer then the original string
File upload error - unable to create a temporary file
mysqli::fetch() returns bad data - 64bit problem
Segfault in mysqli_fetch_array on 64-bit
get_class_methods() output has changed between 5.0.2 and 5.0.3
xml_parser_free() in a function assigned to the xml parser gives a segfault
Userspace stream wrapper crashes PHP
segfault when assigning object to itself with zend.ze1_compatibility_mode=On
ext/mysqli bind_result causes fatal error: memory limit
ISAPI: Custom 5xx error does not return correct HTTP response message
Crash with zend.ze1_compatibility_mode=On
multi_query works exactly every other time - multi query d/e flag global and not per connection
another crash when echoing a COM object
php_std_date() uses short day names in non-y2k_compliance mode
object reference being dropped. $this getting lost
Wrong deserialization from session when using WDDX serializer
False warning in unpack() when working with *
broken non-blocking flock()
array_splice on $GLOBALS crashes
Wrong linenumber in ReflectionClass getStartLine()
Conflict between __get/__set and ++ operator
array_count_values() modifying input array
debug_backtrace() reports incorrect class in overridden methods
static member conflict with $this->member silently ignored
Better support for LDAP SASL bind
magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded
Segmentation fault on exception in method
cannot initialize class variable from class constant
Interface not existing says Class not found
Assignment operators yield wrong result with __get/__set
zend.ze1_compatibility_mode isnt fully compatable with array_push()
Catching exception in constructor causes lose of $this
Problem with array in static properties
Enhancement for error message for abstract classes
Passing array or non array of objects
memory leaks when set_error_handler() is used inside error handler
variables_order behaviour
Function defined in switch, crashes
Backtrace argument list out of sync
headers_list() returns empty array
crash when echoing a COM object
unencoded spaces get ignored after certain tags
Function: is_callable - no support for private and protected classes
Function declaration in method doesn't work
Incorrect behavior of member vars(non string ones)-numeric mem vars und others
SIGSEGV in interactive mode (php -a)
Need to use -[m]ieee option for Alpha CPUs
debug_backtrace is intermittently passing args
list() array key assignment causes HUGE memory leak
Wrong results from Reflection-API getDocComment() when called via STDIN
In error handler, modifying 5th arg (errcontext) may result in seg fault
returning reference to uninitialized variable
(default value of protected member overrides default value of private) and other private variable problems in inherited classes
array_diff with $GLOBALS argument fails
Upgraded PCRE library to version 5.0
Removed php_check_syntax() function which never worked properly
Added new function mysqli_set_charset()
Added man pages for "phpize" and "php-config" scripts
Added support for .cc files in extensions
Added PHP_INT_MAX and PHP_INT_SIZE as predefined constants
Changed sha1_file() and md5_file() functions to use streams instead of low level IO
Changed ming to support official 0.2a and 0.3 library versions
Abstract private methods are no longer allowed

Changelog Quelle