"docs", "css" => array("changelog.css"), "layout_span" => 12));
?>
PHP 4 ChangeLog
4.4 |
4.3 | 4.2 |
4.1 | 4.0
Version 4.4.9
- Updated PCRE to version 7.7.
- Fixed overflow in memnstr().
- Fixed crash in imageloadfont when an invalid font is given.
- Fixed open_basedir handling issue in the curl extension.
- (mbstring.func_overload set in .htaccess becomes global).
Version 4.4.8
- Improved fix for MOPB-02-2007.
- Fixed an integer overflow inside chunk_split(). Identified by Gerhard Wagner.
- Fixed integer overlow in str[c]spn().
- Fixed regression in glob when open_basedir is on introduced by #41655 fix.
- Fixed money_format() not to accept multiple %i or %n tokens.
- Added "max_input_nesting_level" php.ini option to limit nesting level of input variables. Fix for MOPB-03-2007.
- Fixed INFILE LOCAL option handling with MySQL - now not allowed when open_basedir or safe_mode is active.
- Fixed session.save_path and error_log values to be checked against open_basedir and safe_mode (CVE-2007-3378).
- (Fixed regression in imagearc with two equivelent angles).
- (Recode crashes/does not work on amd64).
- (segfault when an invalid color index is present in the image data).
- (PHP settings leak between Virtual Hosts in Apache 1.3).
- (OpenSSL init corrected in php5 but not in php4).
Version 4.4.7
- Fixed MOPB-33-2007 (PHP mail() Message ASCIIZ Byte Truncation).
- Fixed MOPB-32-2007 (Double free inside session_decode()).
- Fixed MOPB-26-2007 (mb_parse_str() can be used to activate register_globals).
- Fixed MOPB-24-2007 (Fixed unallocated memory access/double free in in array_user_key_compare()).
- Fixed MOPB-22-2007 (PHP session_regenerate_id() Double Free Vulnerability).
- Fixed MOPB-21-2007 (An open_basedir/safe_mode bypass inside the compress.bzip2 wraper).
- Fixed MOPB-8-2007 (XSS in phpinfo()).
- Fixed CVE-2007-1001 (GD wbmp used with invalid image size).
- Fixed CVE-2007-0455 (Buffer overflow in gdImageStringFTEx, used by imagettf function).
- (Calling mcrypt_generic without first calling mcrypt_generic_init crashes).
- (long session array keys are truncated).
- (addcslashes unexpected behavior with binary input).
- (cURL extension doesn't clean up the buffer of reused handle).
- (possible crash in session when save_path is out of open_basedir).
- (Binary data gets corrupted on multipart/formdata POST).
- Fixed huge CPU usage in imagearc when used with large angles (libgd bug #74).
- Fixed CRLF injection inside ftp_putcmd().
Version 4.4.6
- Updated PCRE to version 7.0.
- Fixed segfault in ext/session when register_globals=On.
- (segfault in cURL extension).
- (possible cURL memory error).
- (imagettftext() multithreading issue).
- (ext/interbase compile failure).
- (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed).
Version 4.4.5
- Upgraded PEAR to 1.5.0.
- Updated PCRE to version 6.7.
- Moved extensions to PECL: ext/ovrimos
- Added a meta tag to phpinfo() output to prevent search engines from indexing the page.
- Backported a fix in the configure tests to detect the "rounding fuzz".
- Backported fix for ext/imap compilation failure with recent c-client versions.
- Fixed missing open_basedir check inside chdir() function.
- (Compile fails when using GCC 4.1.1/binutils 2.17).
- (pg_insert/pg_update do not allow now() to be used for timestamp fields).
- (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path).
- (Using $this not in object context can cause segfaults).
- (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled).
- (ftp_put() does not change transfer mode to ASCII).
- (ftp_nlist() returns false on empty dirs).
- (Allow building of curl extension against libcurl 7.16.0).
- (curl_exec() with return transfer returns TRUE on empty files).
- (Fixed a possible open_basedir bypass in tempnam()).
- (ldap_connect causes segfault with newer versions of OpenLDAP).
- (parse_url() fails if passing '@' in passwd).
- (Calling undefined method prints insufficient error message).
- (segfault when calling setlocale() in userspace session handler).
- (constructor is not called for classes used in userspace stream wrappers).
- (wddx_serialize_value() generates no wellformed xml).
- (aggregate_methods_by_list fails to take certain methods).
- (natcasesort() causes array_pop() to misbehave).
- (CURLOPT_HEADERFUNCTION, couldn't set the function in the class).
- (recursive array_walk causes segfault).
There is a separate announcement available for this release.
Version 4.4.4
- Fixed memory_limit on 64bit systems.
- Fixed overflow on 64bit systems in str_repeat() and wordwrap().
- Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled.
- Fixed a memory corruption error with an invalid foreach() call.
- (xmlrpc_get_type() crashes PHP on objects).
- (session_destroy() gives warning after session_regenerate_id()).
- (reading past array in sscanf() leads to arbitary code execution).
- (session_cache_expire()'s value does not match phpinfo's session.cache_expire).
- (socket_select() and invalid arguments).
- (disable_classes=Foobar causes disabled class to be called Foo).
- (corrupted gif segfaults).
- (Added missing safe_mode & open_basedir checks to imap_body()).
- (number_format and problem with 0).
There is a separate announcement available for this release.
Version 4.4.3
- Added control character checks for cURL extension's open_basedir/safe_mode checks.
- Added overflow checks to wordwrap() function.
- Added a check for special characters in the session name.
- Improved safe_mode check for the error_log() function.
- Updated PCRE to version 6.6.
- Fixed handling of extremely long paths inside tempnam() function.
- Fixed XSS inside phpinfo() with long inputs.
- Fixed a possible buffer overflow inside create_named_pipe() for Win32 systems in libmysql.c.
- (merge_php_config scrambles values).
- (WDDX incorrectly encodes high-ascii characters).
- (session_regenerate_id changes session_id() even on failure).
- (Memory errors with a corrupt GIF file).
- (Make PEAR install ignore open_basedir).
- (Crashes when using an invalid colormap format).
- (wddx does not build as a shared extension).
- (foreach breaks static scope).
- (Fixed check for special chars for http redirects).
- (Added support for partial content fetching to the HTTP streams wrapper).
- (node_list_wrapper_dtor segfault).
- (Incorrect adding PHPSESSID to links, which contains \r\n).
- (sleep() accepts negative values).
- (Possible memory corruption in stream_select()).
- (curl bypasses open_basedir restrictions).
- (Memory leaks on duplicate cookies).
- (unpack("H*hex", $data) is adding an extra character to the end of the string).
- (fopen() crashes PHP when opening a URL).
There is a separate announcement available for this release.
Version 4.4.2
- Added missing safe_mode/open_basedir checks into cURL extension.
- Backported missing imap_mailcompose() fixes from PHP 5.x.
- Prevent header injection by limiting each header to a single line.
- Fixed possible XSS inside error reporting functionality.
- Fixed Apache 2 regression with sub-request handling on non-linux systems.
- (unpack() does not decode odd number of hexadecimal values).
- ($EGREP not defined in configure).
- (imap_mail_compose() crashes with multipart-multiboundary-email).
- (whitespace following end of heredoc is lost).
- (%{mod_php_memory_usage}n is not reset after exit).
- (Multiple calls to getopt() may result in a crash).
- (Fixed crash in Apache 2 SAPI when more then one php script is loaded via SSI include).
- (mysql_field_type() doesn't handle NEWDECIMAL).
- (wddx_deserialize() doesn't handle large ints as keys properly).
- (Fix for bug #33760 breaks build with older curl).
- (Multiple virtual() calls crash Apache 2 php module).
- (Calling ob_flush after creating an ob callback causes segfault).
- (stream_set_blocking(true) toggles, not enables blocking).
- (configure does not find ldap_start_tls_s).
- (Wrong fopen mode used in GD safe-mode checks).
- , (key(),current() need to work by reference).
- (socket_read() produces warnings on non blocking sockets).
- (Apache2 crash with mod_rewrite).
- (ZTS: Persistent resource destruct crashes when extension is compiled as shared).
- (ImageTrueColorToPalette() crashes when ncolors is zero).
- (SO_RECVTIMEO and SO_SNDTIMEO socket options expect integer parameter on Windows).
- (the 5th argument of mb_send_mail does not work).
- (Possible crash inside fopen http wrapper).
- (mssql_bind() fails on input parameters).
- (cURL needs CRYPTO_callback functions to prevent locking).
- (mb_encode_mimeheader does not work for multibyte chars).
- (Memory leak in xmlrpc_encode_request()).
- (Crash when fetching some data types).
- (crash in mssql_next result).
- (crash when mssql_bind() is called more than once).
- (ftp_login fails on some SSL servers).
- (Remove MessageBox on win32 for E_CORE errors if display_startup_error is off).
- (number_format() crashes with large numbers).
There is a separate announcement available for this release.
Version 4.4.1
- Added missing safe_mode checks for image* functions and cURL.
- Added missing safe_mode/open_basedir checks for file uploads.
- Fixed a memory corruption bug regarding included files.
- Fixed possible INI setting leak via virtual() in Apache 2 sapi.
- Fixed possible crash and/or memory corruption in import_request_variables().
- Fixed potential GLOBALS overwrite via import_request_variables().
- Fixed possible GLOBALS variable override when register_globals are ON.
- Fixed possible register_globals toggle via parse_str().
- Added "new_link" parameter to mssql_connect(). Bug #34369.
- (--program-suffix and --program-prefix not included in man page names).
- (preg_match_all(), named capturing groups, variable assignment/return => crash).
- (ftp wrapper failures caused from segmented command transfer).
- (Infinite recursion due to corrupt JPEG).
- (ctype corrupts memory when validating large numbers).
- (mb_send_mail does not fetch mail.force_extra_parameters).
- (php -m exits with "error" 1).
- (Possible crash inside pspell extension).
- (unserialize() crashes with chars above 191 dec).
- (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).
- (array_filter() crashes with references and objects).
- (ob_gzhandler does not enforce trailing \0).
- (memory usage remains elevated after memory limit is reached).
- (+,- and . not supported as parts of scheme).
- (assigning array element by reference causes binary mess).
- (Numeric string as array key not cast to integer in wddx_deserialize()).
- (arr[] as param to function is allowed only if function receives argument by reference).
- (extract($GLOBALS,EXTR_REFS) crashes PHP).
- (php script as ErrorDocument causes crash in Apache 2).
- (array_map() fails to pass by reference when called recursively).
- (Crash setting some ini directives in httpd.conf).
- (Added detection for partially uploaded files).
- (Using --with-regex=system causes compile failure).
- (Warning with nested calls to functions returning by reference).
- (crash when retrieving empty LOBs).
- (cygwin version of setitimer doesn't accept ITIMER_PROF).
- (open_basedir looses trailing / in the limiter).
- (possible crash inside imap_mail_compose() function).
- (xmlrpc_encode() segfaults with recursive references).
- (copying a file into itself leads to data loss).
- (array_splice on $GLOBALS crashes).
- (PHP does not explicitly set mime type & charset).
- (array_diff with $GLOBALS argument fails).
- (ext/sesssion: catch bailouts of write handler during RSHUTDOWN).
There is a separate announcement available for this release.
Version 4.4.0
- Added man pages for "phpize" and "php-config" scripts.
- Added support for .cc files in extensions.
- Added the sorting flag SORT_LOCALE_STRING to the sort() functions which makes them sort based on the current locale.
- Changed sha1_file() and md5_file() functions to use streams instead of low level IO.
- Fixed memory corruptions when using references in a wrong way.
- Fixed memory corruption in pg_copy_from() in case the as_null parameter was passed.
- Fixed memory corruption in stristr().
- , (Segfault when using assignment by reference within function).
- (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).
- (shtool: insecure temporary file creation).
- (Add a safemode/open_basedir check for runtime save_path change).
- (Improved performance of bzdecompress() by several orders of magnitude).
- (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).
- (pcntl calls malloc() from a signal handler).
- (Disabling session.use_cookies doesn't prevent reading session cookies).
- (http redirects URLs are not checked for control chars).
- (Oracle LDAP: ldap_get_entries invalid pointer).
- (pg_get_notify() ignores result_type parameter).
- (parse_url() does not handle scheme-only urls properly).
- (temporary files not using plain file wrapper).
- (General cookie overrides more specific cookie).
- , (ext/odbc: Problems with 64bit systems).
- (GMP functions break when second parameter is 0).
- (segmentation fault when the stream with a wrapper is not closed).
- (ext/crack.c fails to compile with cracklib-2.8.3).
- (foreach() does not issue warning on unset array arg).
- (pg_affected_rows() was defined when it was not available).
- (ext/mssql: Error on module shutdown when called from activescript).
- (Using register_shutdown_function() with invalid callback can crash PHP).
- (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).
- (ext/gmp fails to compile in threadsafe mode).
- (ext/swf/swf.c does not compile with gcc-3.4.x or newer).
- (chunk_split() does not append endstr if chunklen is longer then the original string).
- (File upload error - unable to create a temporary file).
- (mb_encode_mimeheader() does not properly escape characters).
- (xml_parser_free() in a function assigned to the xml parser gives a segfault).
- (mysql compressed connection doesn't work under windows).
- (ISAPI: Custom 5xx error does not return correct HTTP response message).
- (php_std_date() uses short day names in non-y2k_compliance mode).
- (Sideeffects caused by fix of bug ).
- (Crash on shutdown after odbc_pconnect()).
- (memory leaks when set_error_handler() is used inside error handler).
- (Function defined in switch, crashes).
- (unencoded spaces get ignored after certain tags).
- (Need to use -[m]ieee option for Alpha CPUs).
- (debug_backtrace is intermittently passing args).
There is a separate announcement available for this release.
Version 4.3.11
- Added Oracle Instant Client support
- Added checks for negative values to gmp_sqrt(), gmp_powm(), gmp_sqrtrem() and gmp_fact() to prevent SIGFPE
- Changed phpize not to require libtool
- Updated bundled libmbfl library (used for multibyte functions)
- Fixed several leaks in ext/browscap and sapi/embed
- Fixed several leaks in ext/filepro
- Fixed build system to always use bundled libtool files
- Fixed MacOSX shared extensions crashing on Apache startup
- (segfault in bzopen() if supplied path to non-existent file).
- (insert_before($node,NULL) does not return).
- (Prevent using both --with-apxs2 and --with-apxs2filter).
- (DOM crashing when attribute appended to Document).
- (mb_convert_encoding ignores named entity 'alpha').
- (msql_fetch_row() and msql_fetch_array() dropping columns with NULL values).
- (set_h_errno() is redefined incompatibly).
- (mb_decode_mimeheader() is case-sensitive to hex escapes).
- (--disable-cli does not force --without-pear).
- (*date('r') does not return RFC2822 conforming date string).
- (exif_read_data() uses too low nesting limit).
- (readline completion handler does not handle empty return values).
- (getrusage() does not provide ru_nswap value).
- (dbase_open() fails for mode = 1).
- (parse_url() does not recognize http://foo.com#bar).
- (dio_tcsetattr(): misconfigured termios settings).
- (unserialize() float problem on non-English locales).
- (OCILogin does not support password grace period).
- (fgetcsv() problematic with "" escape sequences).
- (crash in msg_send() when non-string is stored without being serialized).
- (open_basedir uses path_translated rather then cwd for . translation).
- (Possible infinite loop in imap_mail_compose()).
- (Fixed crash in chunk_split(), when chunklen > strlen).
- (False warning in unpack() when working with *).
- (session_set_save_handler crashes PHP when supplied non-existent object ref).
- (Memory leak in zend_language_scanner.c).
- (unserialize broken on 64-bit systems).
- ($GLOBALS can be overwritten via GPC when register_globals is enabled).
- (curl POSTFIELDS crashes on 64-bit platforms).
- (compile fails with gd 2.0.33 without freetype).
- (highlight_file() trims new line after heredoc).
- (missing safe_mode/open_basedir check in swf_openfile()).
- (compile warning in url.c).
- (COM object access is not working).
- (imap_mail_compose() fails to generate correct output).
- (When magic_guotes_gpc are enabled filenames with ' get cutoff).
- (Possible crash in mysql_fetch_field(), if mysql_list_fields() was not called previously).
- (mssql_query returns false on successful inserts and stored procedures).
- , , , (Compile failure of zend_strtod.c).
- (Fixed crash in overloaded objects).
- (Better error message when c-client cannot be found).
- (missing kerberos header file path with --with-openssl).
- (var_export() does not output an array element with an empty string key).
- (imageftbbox() does not use linespacing parameter).
- (php_std_date() returns invalid formatted date if y2k_compliance is On).
- (apache2filter: per request leak proportional to the full path of the request URI).
- (-.1 like numbers are not being handled correctly).
- (cURL functions bypass open_basedir).
- (compiler warnings in libmbfl due to invalid type cast).
- (incorrect character translations for some ISO8859 charsets).
- (apache2handler: virtual() includes files out of sequence)
- (odbc_next_result() doesn't bind values and that results in segfault).
- (imagettftext() and imagettfbbox() accept too many parameters).
- (printf() handles repeated placeholders wrong).
- (width and height inverted for JPEG2000 files).
- (mail(): use "From:" from headers if sendmail_from is empty).
- (PHP sources pick wrong header files generated by bison).
- (ini-file section parsing pattern is buggy).
- (enabled debug causes bailout errors with CLI on AIX because of fflush() called on already closed filedescriptor).
- (corrupt EXIF headers have unlimited recursive IFD directory entries).
- (mb_strwidth() returns wrong width values for some handful chars).
- (crash inside overload() function).
- (FastCGI: stderr should be written in a FCGI stderr stream).
- (partially incorrect utf8 to htmlentities mapping).
- (Double \r problem on ftp_get in ASCII mode on Win32).
- (Multiple OUs in x509 certificate not handled properly).
- (Cannot use PATH_INFO fully with php isapi).
There is a separate announcement available for this release.
Version 4.3.10
- Added the %F modifier to *printf to render a non-locale-aware representation of a float with the . as decimal separator.
- Fixed a bug in addslashes() handling of the '\0' character.
- Backported Marcus' foreach() speedup patch from PHP 5.x.
- Fixed potential problems with unserializing invalid serialize data.
- (Problem with non-existing iconv header file).
- (Crash in fgetcsv() with negative length).
- (Logic error mssql library checking).
- (snmp extension does not build with net-snmp 5.2).
- (allow popen() on *NIX to accept 'b' flag).
- (Certain reference relations cannot be unserialized properly).
- (Meaningful error message when upload directory is not accessible).
- (imagefill does not set back alphablending mode).
- (Problem handling exif data in jpeg images at unusual places).
- (Ensure that temporary files created by GD are removed).
- (oci8 persistent connection is deleted from hash if there was exclusive connection with the same credentials).
- (Prevent infinite recursion in url redirection).
- (array_multisort doesn't separate zvals before changing them).
- (curl_getinfo() may crash in some situations).
- (segfault when parsing ?getvariable[][ ).
- (rename across filesystems loses ownership and permission info).
- (segfault when using unknown/unsupported session.save_handler and/or session.serialize_handler).
- (Prevent non-wbmp images from being detected as such).
- (Possible crash in ctype_digit on large numbers).
- (imagerectangle and imagefilledrectangle do work well with alpha channel, corners are drawn twice).
- (Sybase date strings are sometimes not null terminated).
- (get_current_user() crashes on Windows).
- (did not detect IPV6 on FreeBSD 4.1).
- (Possible crash inside ftp_get()).
- (HTTP Authentication Issues).
- (double free when openssl_csr_new fails)..
- (Lost support for MS Symbol fonts).
- (Circular references not properly serialized).
- (NULL decimal separator is not being handled correctly).
- (serialize() objects of incomplete class).
There is a separate announcement available for this release.
Version 4.3.9
- GPC input processing fixes.
- Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory exhaustion.
- Fixed bug with raw_post_data not getting set.
- Fixed a file-descriptor leak with phpinfo() and other 'special' URLs.
- Rewritten UNIX and Windows install help files.
- Updated PCRE to provide better error handling in certain cases.
- NSAPI: added "bucket" parameter to list of non-php.ini-keys of php4_execute for doing performance stats without warnings in server-log.
- Fixed leap year checking with idate().
- Fixed strip_tags() to correctly handle '\0' characters.
- Fixed funny forking effect in FastCGI when PHP_FCGI_CHILDREN was not set.
- (Possible crash inside php_shutdown_config()).
- (isset crashes on arrays).
- (mcal_fetch_event() allows 2nd argument to be optional).
- (Added missing CURL authentication directives).
- (fgetcsv() has problem parsing strings ending with escaped enclosures).
- (highlighting code with HEREDOC produces invalid output).
- (domxml_error segfaults another apache module).
- (Use PHP's own tmpfile() implementation).
- (Typo inside php.ini comments for mysql.trace_mode).
- (extract(array, EXTR_REFS) misbehaves with elements referred twice or more times).
- (Sanity check for wbmp detection).
- (Uploaded files with ' or " in their names get their names truncated at those characters).
- (imagecreatefromstring() crashes with external GD library).
- (output_buffering+trans_sess_id can corrupt output).
- (ctype_* functions missing validation of numeric string representations).
- (imap_fetchbody() doesn't check message index).
- (Zend constant warning uses memory after free).
- (Potential double free in php_stat).
- (strnatcmp() incorrectly handles whitespace).
- (array sorting via user function/method does not validate it).
- (extract() with EXTR_PREFIX_SAME prefixes empty strings).
- (wordwrap() returns a boolean when passed empty string).
- (overflow in array_slice(), array_splice(), substr, substr_replace(), strspn(), strcspn()).
- (ibase: -1 returned as -0.000 for 64-bit scaled int).
- (Implicit/Explicit array creation inconsistency when using Resources, Arrays, or Objects as indices).
- (Setting of inikey's in obj.conf fails).
- (Internal wrapper registry not thread safe).
- (Apache 2 sapis do not export st_dev).
- (strings beginning with "inf" improperly converted).
- (Fixed mbstring config.m4 to work on OSes where test command does not support -e parameter).
- (\0 in Authenticate header passed via safe_mode).
- (WWW-Authentication header mangling with PCRE in safe_mode adds extra spaces).
- (glob() does not work with relative paths on Windows).
- (Proper glob() return value on Linux when there are no matches).
- (sprintf incorrectly adding padding to floats).
- (When multiple MySQL links are used default link is leaked).
- (gmp_powm() does not work with hexadecimal string modulo represented as a string).
- (Allocate enough space to store MSSQL data).
- (mbstring_convert_variables() array separation problem).
- (Allow bundled GD to compile against freetype 2.1.2).
There is a separate announcement available for this release.
Version 4.3.8
- Fixed strip_tags() to correctly handle '\0' characters. (Stefan)
- Improved stability during startup when memory_limit is used. (Stefan)
- Replace alloca() with emalloc() for better stack protection. (Ilia)
- Added missing safe_mode checks inside ftok and itpc. (Ilia)
- Fixed address allocation routine in IMAP extension. (Ilia)
- Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL. (Ilia)
There is a separate announcement available for this release.
Version 4.3.7
- Upgraded bundled GD library to 2.0.23. (Ilia)
- Changed user error handler mechanism to relay to built-in error handler if it returns false. (Andrei)
- Fixed command line escaping routines for win32. (Ilia)
- Fixed problems with *printf() functions and '%f' formatting. (Marcus)
- Fixed possible crash inside pg_copy_(to|from) function if delimiter is more then 1 character long. (Ilia)
- Fixed crash inside cpdf_place_inline_image() when working with true-color images. (Ilia)
- Fixed handling of return values from stored procedures in mssql_execute() with multiple result sets returned. (Frank)
- Fixed logic bug in session_register() which allowed registering _SESSION and/or HTTP_SESSION_VARS. (Sara)
- (xmlrpc_encode_request() incorrectly encodes chars in 200-210 range). (fernando dot nemec at folha dot com dot br, Ilia)
- (informix connection id is not thread safe). (novicky at aarongroup dot cz, Ard)
- (Problem building informix as a shared extension). (roques at mti dot ag, Ilia)
- (Do not make hypot() available if not supported by libc). (Ilia)
- (Allow negative start angle in imagearc and imagefilledarc). (Pierre)
- (Problem with enclosed / in uploaded files). (Antony)
- (wordwrap() wraps lines 1 character too soon). (Ilia)
- (Possible unterminated loop inside _php_pgsql_trim_message()). (Ilia)
- (glob() does not return error on Linux when it does not have permission to open the directory). (Ilia)
- (incorrect resolving of relative paths by glob() in windows). (Ilia)
- (run-tests tripped up by spaces in names). (Marcus)
- (number_format() does not allow empty decimal separator). (Ilia)
- (missing error constants in cURL extension). (Ilia)
- (parse_url() not handling embedded IPv6 in URLs). (Sara)
- (build problem for people using FreeType 2.1.0-2.1.2). (Ilia)
- (Crash with drawing anti-aliased lines). (Derick)
- (dba_open db3: Permission denied). (Marcus)
- (sqlite_query() crashing apache on malformed query). (Ilia, Marcus)
- (timeout duration too long in feof()/pfsockopen() liveness checks). (Wez)
- (Do not force mysql.trace_mode to 0 on every request). (Ilia)
- (greek letters in html to entity mapping not correct). (Derick)
- (compile mssql extension with old versions of FreeTDS fails). (Frank)
- (imagefilltoborder() stops the fill process prematurely). (Ilia)
- (don't use php's pemalloc in ext/pcre). (Joe Orton)
- (SSL: fatal protocol error when talking to IIS). (Wez)
There is a separate announcement available for this release.
Version 4.3.6
- Updated bundled PDFLib library to version 5.0.3p1 in Windows distribution. (Edin)
- Synchronized bundled GD library with GD 2.0.22. (Ilia)
- Fixed a crash in multi-threaded environments when a thread is shutdown by the web server. (Stas)
- Fixed a bug that prevented building of the GD extension against external GD lib 1.X. (Ilia, Edin, Nick Talbott).
- (Session lifetime setting may leak between requests). (Ilia)
- (configure craps out on trivial syntax error). (Derick)
- (is_resource() returns TRUE for closed resources). (Derick)
- (problems returning reference to a reference parameter). (Ilia)
- (ftp_systype returns null on some ftp servers). (Ilia)
- (default number of children to 8 when PHP_FCGI_CHILDREN is not defined). (Ilia)
- (strtotime(+1 xxx) returns a wrong date/time). (Derick)
- (domxml_xmltree crashes). (Rob)
- (Get return value from a stored procedure not returning any result sets). (Frank)
- (SCO Openserver doesn't have S_ISSOCK). (Wez)
- (Make sure Money types are converted and returned correctly). (Frank)
- (Fixed compilation bug inside php_sab_info.h). (Ilia)
- (error_reporting() inside @ block fails to set error_reporting level). (Ilia)
- (mktime issues on and around DST changeover). (Rasmus)
- (Test Failures when compiled on 64-bit mode). (Ard, Derick)
- (Bug Adding Default Charset to 'text/*' Content-Type Header). (Marcus)
- (compile failure with cURL 7.11.1). (Ilia)
- (Cannot serialize/unserialize non-finite numeric values). (Marcus)
- (session.save_path default is bogus for win32). (Wez)
- (Crash inside mssql extension when selecting many columns of type money). (Frank)
- (error_handler and array index with function call). cschneid at cschneid dot com)
There is a separate announcement available for this release.
Version 4.3.5
- Fixed possible crash using an invalid color index with a palette image in imagecolortransparent (Pierre)
- Fixed php-cgi to not ignore command-line switches when run in a web context. This fixes our test cases allowing INI with GET sections to work (Rasmus)
- Fixed getopt() so it works without $_SERVER (Rasmus, bfrance)
- Fixed crash in php_ini_scanned_files() when no additional INI files were actually parsed. (Jon)
- Fixed possible crashes inside socket extension, due to missing check inside allocation functions. (Ilia)
- Fixed zero bytes memory allocation when no extra ini files are found in the --with-config-file-scan-dir specified directory. (Eric Colinet, Derick)
- Changed "allow_url_fopen" php.ini option to be PHP_INI_SYSTEM. (Sara)
- Improved the sybase_ct module: (Timm)
- Added ability to define a message handler not only globally, but also per connection.
- Added "sybct.packet_size" php.ini option.
- Changed "sybct.login_timeout" php.ini option changeable at runtime.
- Fixed memory leak in sybase_set_message_handler().
- Synchronized bundled GD library with GD 2.0.17
- Upgraded PCRE library to version 4.5. (Andrei)
- Updated bundled PostgreSQL library to version 7.4 in Windows distribution. (Edin)
- Added support for --program-prefix and --program-suffix configure options. (Jani)
- Added a warning when creating temp stream fails with ftp_(n)list(). (Sara)
- Fixed header handler in NSAPI SAPI module (header->replace was ignored, send_default_content_type now sends value from php.ini). (Uwe Schindler)
- (Incorrect EOL translation by ftp_get() in ASCII mode). (Ilia)
- (GCC 3.0.4 does not like __attribute__ directive). (Sascha)
- (crash during shutdown when freeing persistent resources in ZTS mode). (Ilia)
- (possible crashes in imagefilltoborder()). (Pierre)
- (pre-initialization errors in ap2 handler are not being written to vhost error log). (Ilia)
- (Corrected open_basedir resolving logic). (Ilia)
- (broken http auth when safe_mode is on and PCRE is disabled). (Ilia)
- (broken getaddrinfo() causes fsockopen() error). (Sara)
- (htmlentities() does not handle BIG5 correctly). (Ilia, ywliu at hotmail dot com)
- (bogus safe_mode error on nonexistent directories for chdir() and opendir() functions). (Ilia)
- (base64_decode() does not handle extra padding). (Ilia, naish at klanen dot net)
- (defined() returns wrong type). (Derick)
- (wrong freetype include inside GD library). (Ilia)
- (headers missing on flush() in apache 2 SAPIs). (Ilia)
- (mbstring.func_overload should be system ini setting). (Ilia)
- (unpack() misbehaves with 1 char string). (GeorgeS)
- (Potential crash inside fopen_wrapper, while parsing response code). (Ilia)
- (Modulus operator crashes PHP). (Derick)
- (HEAD requests fail to return data). (Ilia)
- (missing sapi_shutdown() in sapi/isapi causes memory leak). (Jani, msisolak at yahoo dot com)
- (ftp extension relies on 32-bit longs). (Sara)
- (Improved regex for pg_convert()). (benjcarson at digitaljunkies dot ca, Ilia)
- (memory leak inside sscanf()). (Ilia)
- (two crashes inside image2wbmp()). (Ilia)
- (get_browser matches browscap.ini patterns incorrectly). (Jay)
- (*printf() functions treat arguments as if passed by reference). (Ilia)
- (iptcparse() function misses some fields). (Pierre)
- (Interbase NUMERIC x.0 field returns empty string on 0). (Ard)
- (Missing content_length initialization in apache 2 sapis). (Ilia, pdoru at kappa dot ro)
- (userland stream wrapper segfaults on stream_write). (Moriyoshi)
- (tzset() is not being called by PHP on startup). (Ilia, sagawa at sohgoh dot net)
- (Possible floating point exception in gmp_powm()). (Ilia)
- (crash inside gmp_hamdist()). (Jani)
- (Compile Failure on Solaris 8). (Timm)
- (broken CLOB support in oci8 extension). (Antony)
- (Possible crash inside mb_strlen()). (Moriyoshi)
- (CLI/CGI SAPI module variable name conflict). (Marcus)
- (crash in sybase_connect() with 2 arguments). (Ilia)
- (ints used instead of longs inside some GD functions). (Ilia)
- (passing an array of form-fields to CURLOPT_POSTFIELDS does not work). (Ilia, Jani)
- (fixed possible crash in apache2handler output code). (Ilia)
- (Added "cgi.nph" php.ini option to allow forcing of the 'Status: 200' header that is not normally needed). (Ilia)
- (64bit int/long confusion in preg_match*() functions). (Ilia)
- (missing connection closure when connect fails in pgsql). (Ilia)
- (rename() doesn't check the destination file against safe_mode/open_basedir). (Ilia)
- (*printf() '+' modifier broken). (Jani)
- (--with-openssl=shared build fails). (Jani)
- (Segfault with Interbase module built as shared). (Ard)
- (rand(min,max) always returns min when ZTS enabled). (Jani)
- (Warning in xml.c). (Jani)
- (preg_quote() does not escape \0). (Ilia)
- (ext/imap: pam and crypt libraries missing when build as shared extension). (Jani)
- (crash in imap_mime_header_decode() when no encoding is used). (Ilia)
- (ext/ftp does not work as shared extension). (Jani)
- (ORA-21301 in ocinewcollection() call). (Antony)
- (problem with multiple references to the same variable with different types). (Ilia)
- (pg_(update|delete) ignore PGSQL_DML_EXEC option). (Ilia)
- (ob_flush() followed by output_reset_rewrite_vars() may result in data loss). (Ilia, scottmacvicar at ntlworld dot com)
- (memory leak in mail() when to/subject contain only spaces). (Ilia)
- (When included file has a parse error, terminate script execution). (Ilia)
- (ext/interbase: Let DB handle NULL params). (Ard)
- , #26967 (file operations return NULL instead of FALSE). (Wez, Ilia)
- (FastCGI exits immediately with status 255). (Ilia, tcarter at noggin dot com dot au)
- (CLI now overrides php.ini settings and switches off output buffering). (Edin)
- (zend_fetch_list_dtor_id() doesn't check NULL strings). (Jani, Markus dot Lidel at shadowconnect dot com)
- (Silent unterminated loop when length parameter for fgets(), fread() and fgetss() is 0). (Ilia)
- (PHP can't find the MySQL socket on a case sensitive file system). (Derick)
- (Certain characters inside strings incorrectly treated as keywords). (vrana [at] php [dot] net, Ilia)
- (mbstring doesn't identify "binary" as a valid encoding). (nirva-php at ishiboo dot com, Moriyoshi)
- (Added safety checks to ip2long()). (Ilia)
- (open_basedir incorrectly resolved on win32). (Ilia, scottmacvicar at ntlworld dot com)
- (mb_convert_variables() clutters variables beyond the references). (Moriyoshi)
- (fixed look up for fonts in the current directory w/ZTS). (Ilia)
- (pg_convert sets NULL incorrectly for character data types). (Ilia)
- (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
- (ext/domxml: XSLT_NAMESPACE undeclared). (Christian)
- (strtotime("this month") resolving to the wrong month). (Jani)
- (ncurses5 has headers in PREFIX/include/ncurses/). (Jani)
- (ext/session: Malformed HTTP dates headers). (Derick)
- (ext/domxml: get_elements_by_tag_name() wildcard fails). (Rob Richards)
- (Missing declaration of CRTSCTS in ext/dio/dio.c). (Jani)
- (flock() does not force the "wouldblock" parameter to be passed by reference). (Wez)
- (Incorrect handling of semicolons after heredoc). (Ilia)
- (phpize + ext/bcmath -> compile error). (Jani)
- (-lssl missing from LIBS). (Jani)
- (var_dump(), var_export(), debug_zval_dump() not binary safe for array keys). (Ilia)
- (--with-openssl=shared causes compile errors). (Jani)
- (domxml_open_file() returns an empty error-Array). (Rob)
- (MFH missing context options). (Ilia)
- (error in thttpd SAPI installation). (Jani)
- (Updated bundled OpenSSL DLLs in the Windows distribution to 0.9.7c). (Edin)
- (Result set fetching broken around transactions). (Timm)
- (parse_url() destroys strings that contain a character in range of \x80-\xff)). (Moriyoshi)
- (crash in domxslt->process()). (Christian)
- (rand() without srand() doesn't work with certain php.ini). (Jani)
- (typo in ext/odbc/config.m4: DBMaker test fails). (Jani)
- (flock() doesn't initialize the wouldblock argument). (Ilia)
- (Fixed argument parsing for imageftbbox()). (Ilia)
- (Unexpected data loss when opening dba file). (Marcus)
- (escapeshellarg() uses wrong quotes on windows). (Ilia)
- (gmp_random() leaks memory and does not produce random numbers). (Jani)
- (ext/tokenizer: build as shared extension fails). (Jani)
- (yp_first/yp_next do not specify correct key length). (Ilia)
- ("getimagesize(): stream does not support seeking" when using remote files). (Marcus)
- (crash in ibase_trans() on invalid link handle). (Ilia)
- (strtotime() handling of M/F Y date format). (Ilia)
- (iconv() not properly defined with libiconv). (Steph, Frank, Moriyoshi)
- (Fixed handling of numeric keys in INI files). (Ilia)
- (shtool availability check in phpize). (robbat2 at gentoo dot org, Ilia)
- (Print the notice before modifying variable on type mismatch). (morten-bugs dot php dot net at afdelingp dot dk, Ilia)
- (mbstring prints out wrong information on phpinfo()). (Moriyoshi)
- (remove leftover local file when ftp_get/ftp_nb_get fails). (Ilia)
- (Compile failure on GCC version 3.0.X). (Ilia)
- (ext/mime_magic causes compile failure in ext/mssql). (Jani)
- (gdImageColorClosestAlpha() returns incorrect results). (sprice at wisc dot edu, Ilia)
- (memory leak if mcrypt_generic_deinit() is not called after every mcrypt_generic_init() call). (Ilia)
- (Segfault on glob() without GLOB_NOCHECK or GLOB_NOMAGIC under *BSD platforms). (Moriyoshi)
- (Random "cannot change the session ini settings" errors). (Jani, jsnajdr at kerio dot com)
- (Make fgetcsv() binary safe). (Ilia, Moriyoshi)
- (PostgreSQL error message include \n characters). (Marcus, Ilia)
- (feof() not working correctly for sockets). (Wez)
- (get_browser() -> PHP Fatal error: Nesting level too deep - recursive dependency?). (Uwe Schindler)
- (Cannot open existing hash db3 file with write" ext/dba). (Marcus)
- (php.ini settings "leak" from vhosts/.htaccess files). (Patch by: rover at tob dot ru)
- (round() and number_format() give inconsistent results). (Ilia)
- (calling ITypeInfo::Invoke with bogus params). (Wez)
- (getimagesize () return incorrect values on bitmap (os2) files). (Marcus)
- (sqlite_create_function with method and reference to $this). (Marcus).
- (unsetting string as array causes a crash). (Sara)
- (Unsetting string offsets crashes PHP). (Moriyoshi, Sara)
- (extensions can't be loaded dynamically in Solaris/iPlanet). (Jani)
- (date('T') outputs incorrect Time Zone). (Jani, scottmacvicar at ntlworld dot com)
- (PHP crashes when executing a sql procedure without parameters). (Timm)
- (Invalid response code when force-cgi-redirect safety mechanism is triggered). (Ilia, scottmacvicar at ntlworld dot com)
- (Use of uninitialized pointer inside php_read()). (Ilia, uce at ftc dot gov)
- (shutdown functions not executed if timed out). (Zeev)
- (ftp_genlist/ANSI-tmpfile() fail w/ some platform). (Sara)
There is a separate announcement available for this release.
Version 4.3.4
- Made MCVE extension available on win32. (Jani)
- Upgraded bundled libfcgi and made FastCGI support viable on Win32. (Sascha)
- Added apache_get_version() function. (Ilia)
- Fixed disk_total_space() and disk_free_space() under FreeBSD. (Jon Parise)
- Fixed crash bug when non-existing save/serializer handler was used. (Jani)
- Fixed memory leak in gethostbynamel() if an error occurs. (Sara)
- Fixed FastCGI being unable to bind to a specific IP. (Sascha)
- Fixed multibyte regex engine to properly handle ".*" pattern under POSIX compatible mode. (K.Kosako <kosako at sofnec.co.jp>, Moriyoshi)
- (Compile failure on MacOSX 10.3 Panther). (Marko, Dan)
- (mail() modifies the to & subject arguments). (Ilia)
- (Crash in error handler when 5th argument is modified). (Ilia)
- (Possible crash in mime_content_type()). (Ilia)
- (document->get_elements_by_tag_name with default xmlns). (Rob)
- (Incorrect detection of safe_mode limited ini options). (Ilia)
- (Crash of php.exe when xpath_eval of a namespace). (Rob)
- (last key of multi-dimensional array passed via GPC not being escaped when magic_quotes_gpc is on). (Ilia)
- (tzset() was not called to reset libc environment on request shutdown). (Wez)
- (Make flock() return correct value when 3rd argument is used). (Ilia)
- (parse_url() could not parse urls with empty port). (Ilia)
- (ext/session: invalid "session.cookie_lifetime" makes session_start() to crash in win32). (Jani)
- (Do not rtrim() of text fields fetched from mssql). (Ilia)
- (Segfault with PHP and bison 1.875). (eggert@gnu.org, Marcus)
- (ldap_get_option() crashes with unbound ldap link). (Jani)
- (var_export does not escape ' & \ inside array keys). (Ilia)
- (ext/ncurses: ncurses.h instead of curses.h with BSD). (Jani)
- (Do not bail out when unable to chdir original dir on systems with broken getcwd()). (Ilia)
- (ctype functions fail with non-ascii characters). (Moriyoshi)
- (make ZTS build of ext/sybase compile). (Ilia)
- (alloca() related issues on the Darwin platform). (Moriyoshi)
- (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS). (Moriyoshi)
- (html_entity_decode() over-decodes <). (Moriyoshi)
- (openssl configure check failed). (Jani)
- (On flush() set headers_sent in apache2handler). (Ilia)
- (str_replace() corrupts subarrays). (Sara)
- (eregi() with non-ascii characters). (Moriyoshi)
- (var_dump() hangs on Nan and INF). (Ilia)
- (xslt_set_encoding() not detected correctly). (Jani)
- (SNMP Session not closed on success). (Ilia, patch by: nesslage at mwsc dot edu)
- (Make "make tests" to fail due to invalid include_path). (Ilia)
- (HAVE_SNMP_PARSE_OID undefined with phpize build). (Jani)
- (Incorrect handling of paths starting with "/" on win32 inside glob() function). (Ilia)
- (Possible crash in apache2handler when zend_bailout called outside of zend_try {} block). (Ilia)
- (ext/dbase: reverted fix for bug ). (Vlad)
- (checkdate() incorrectly handles floats). (Ilia)
- (ldap_explode_dn() crashes when passed invalid dn). (Sara, patch by: mikael dot suvi at trigger dot ee)
- (pcre_match_all() crashes when passed only 2 parameters). (Jani)
- (ext/informix: bogus -469 error from ifx_query()). (Jani, patch by: denisov at kubsu dot ru)
- (ext/cpdf: compile failure with bundled GD)
- (fix copying of stdin using copy() function). (Ilia)
- (ext/informix: lvarchar not supported in win32). (Jani)
- (ext/pgsql: open transactions not closed when script ends). (Marcus)
- (ob_gzhandler(): typo in sapi_add_header_ex() call). (Jani)
- (unserialize() crashes with invalid data). (Jani)
- (sscanf() does not work with %X). (Jani)
- ("make install" fails with --enable-short-tags). (Jani)
- (is_dir() gives warning on FreeBSD). (Jani)
- (Possible body corruption & crash in win32 mail()). (Ilia)
- (Possible infinite loop inside _php_stream_write()). (Ilia)
- (FTP_ASCII mode behaving like binary from Win->Unix). (Sara)
- (php -m crashes when zend extensions are loaded). (Stas)
- (Crash with WDDX serializer). (Sascha, Jani)
- (QNX6: php_ini.c:414: 'alphasort' undeclared). (Jani)
- (ext/ftp: NLST failure leads to crash on exit). (Sara, Rob)
- (Output correct EOL to error_log). (Ilia)
- (ftp_fopen_wrapper not RFC compliant). (Sara)
- ("deflate" compressed pages had a gzip header). (Stefan)
- (image.c compile failure with AIX). (Marcus)
- (WDDX serializer handler missing in win32). (Jani)
- (Possible crash when fetching field names in pgsql). (Ilia)
- (Added more stringent checks on bzopen() mode). (Ilia)
- (unlock session files on win32 before closing them). (Ilia)
- (Compile failure with gettext 0.12.x). (Jani)
- (zlib.output_compression overrides Vary header). (Stefan)
- (ext/domxml: Attributes via append_child not supported). (Melvyn)
- (Wrong Apache version shown in phpinfo() output). (Jani)
- (ifx_close() leaves open session). (nobbie@php.net)
- (realpath() returns invalid results for non-existent paths). (Ilia)
There is a separate announcement available for this release.
Version 4.3.3
- Synchronized bundled GD library with GD 2.0.15. (Ilia)
- Upgraded the bundled Expat library to version 1.95.6. (Jani)
- Upgraded the bundled PCRE library to version 4.3. (Andrei)
- Improved the engine to use POSIX/socket IO where feasible. (Sascha)
- Improved the NSAPI SAPI module (Uwe Schindler)
- php4_init (magnus.conf): new parameter to set alternate path to php.ini. (php_ini="/path/to/php.ini")
- php4_execute (obj.conf): support for additional php.ini values. Allows different settings per virtual server. (See sapi/nsapi/nsapi-readme.txt for more information)
- Added support for virtual().
- Added nsapi_request_headers() and nsapi_response_headers() with aliases for apache compatibility.
- Added "nsapi.read_timeout" php.ini option.
- Synced $_SERVER variables to be similar to Apache variables.
- Added possibility to use PHP to generate HTTP error pages (404 Not Found..)
- Added possibility to use PHP to generate directory listings for directories without index.html
- Improved the IMAP extension (Ilia)
- Added imap_timeout() function. (bug )
- Added optional 'charset' parameter to imap_search() and imap_sort(). (bug )
- Improved the InterBase extension (Daniela)
- Added transaction constants: IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WRITE, IBASE_WAIT and IBASE_CONCURRENCY. (bugs , )
- Made numeric/decimal datatype handling work on any platform.
- Added DBA handler 'inifile' to support ini files. (Marcus)
- Added a "DEBUG" note to 'php -v' output when --enable-debug is used. (Derick)
- Added long options into CLI & CGI (e.g. --version). (Marcus)
- Added a new parameter to preg_match*() that can be used to specify the starting offset in the subject string to match from. (Andrei)
- Fixed possible integer overflows in:
- base64_encode(). (Moriyoshi)
- bundled GD library. (Ilia)
- Fixed "mysql.connect_timeout" php.ini option to be settable with ini_set(). (Rasmus)
- Fixed ext/yaz to not log if "yaz.log_file" php.ini option is not set. (Adam)
- Fixed a bug in bundled libmysql (mysql bug 564). (Georg)
- Fixed ext/exif to honor "magic_quotes_runtime" php.ini option. (Marcus)
- Fixed FastCGI IIS document root problem. (Shane)
- Fixed corruption of multibyte character including 0x5c as second byte in multipart/form-data. (Rui)
- Fixed possible crash in imagerotate() when an invalid color index is used for background color. (Pierre-Alain Joye)
- Fixed a bug that under certain circumstances could invalidate safe_mode. (Ilia)
- Fixed certificate version and allowed setting of the serial number in openssl_csr_sign(). (Stefan Roehrich)
- Fixed each() to be binary safe for keys. (Zeev)
- (Various leaks due to non-freed queries). (Ilia)
- (Make refer check not dependant on register_globals). (Ilia)
- (odbc_fetch_array() may mangle numeric fields). (Ilia)
- (header("Location:") changing HTTP status). (Marcus)
- (Possible infinite loop inside SendText()). (Ilia)
- (rand() & mt_rand() seed RNG every call). (Jani)
- (external libexpat conflicts with bundled libexpat). (Jani)
- (array_reduce() uses first element as default running total). (Ilia)
- (Revert mysql_select_db optimization). (Ilia)
- (Incorrect handling of 404s). (Ilia, Justin)
- (ob_flush() needlessly destroys output handler). (Ilia)
- (ext/fdf not linked properly as shared extension). (Jani)
- (Bad random numbers with ZTS builds on Solaris). (Ilia)
- (inconsistent behavior of shuffle() & array_multisort()). (Ilia, Jani)
- (variables_order and gpc_order being ignored). (Ilia)
- (incorrect handling of / inside open_basedir). (Ilia)
- (methods misidentified as constructors). (Ilia)
- (ob_gzhandler overrides Vary header). (Ilia)
- (--enable-zend-multibyte causes random segfaults with ZTS). (fujimoto)
- (foreach($ar as $key => $val), $key not binary safe). (Zeev)
- (non-default SNMP port number not working). (Jani)
- (Unhandled "uniqueidentifier" field type). (Ilia, s.sonnenberg[at]coolspot.de)
- (Crash when $obj->{0} is used). (Zeev)
- (\n. sequences were not being escaped). (Ilia)
- (var_export() and var_dump() can not output large floats). (Marcus)
- (FreeBSD select() does not like large microseconds values). (Mirco Bauer).
- (ext/domxml: segfault when using replace node across different docs). (Rob Richards)
- (Rewrite of the imagefill() function). (Pierre-Alain Joye)
- (NULL related crash in session extension). (Sascha)
- (debug_backtrace() crashes if $this set to null). (Jani)
- (parse_url() incorrectly handling certain file:// based schemas). (Ilia)
- (make fclose() respect refcount on the resource). (Wez, Ilia)
- (apache2 compile misses some include directories). (Jani)
- (ext/mysql: crash when retrieving data from unbuffered result after the original connection has been changed). (Ilia)
- (aggregate_methods_by_list() does not increment refcount).
- (file_exists() warning on non-existent files when open_basedir is used). (Ilia)
- (base64_decode() does not skip 0xF0-0xFF characters). (gereon.steffens[at]onvista.de, Ilia)
- (Fixed memory leak inside pg_ping()). (Ilia)
- (fdf_add_doc_javascript() not available on Windows). (Edin)
- (ibase_blob_get() overflow). (Ard)
- (missing variable initialization in bundled gd). (Ilia)
- (range() didn't handle numeric strings correctly). (Ilia)
- (not detecting assume_default_colors - typo). (Sara)
- (Invalid recursion detection in array_merge_recurcive()). (Ilia)
- (Status not set correctly after flush() in Apache 2). (Ilia)
- (gdImageRotate270 incorrectly use x parameter for y axis). (tom@gksystems.com, Ilia)
- (crash in imap_fetch_overview() & imap_rfc822_write_address()). (Ilia)
- (workaround for a gcc bug affecting round()). (Marcus, Ilia)
- (serialize() missing 0 after the . on scientific notation). (Marcus, Ilia)
- (scientific notation broken in *printf()). (Ilia)
- (ncurses_del_panel() causes segfault). (Georg)
- (Integer overflow failure with GCC/x86 for *=). (Sascha)
- (Reading raw post message by php://input failed). (Jani)
- (FastCGI handling of file not found). (Shane)
- (Problem with register_globals & arrays). (Ilia)
- (constants in static initializers clobbered by inheritance). (Wez, Zend Engine)
- (ext/interbase: fail to select and fetch). (Ard)
- (make rename() work across partitions on *nix). (Ilia)
- (Invalid CSS in phpinfo() output). (Ilia)
- (NULL in CGI header output). (Shane)
- (Proper handling of NULLs in odbc_result, odbc_fetch_into and odbc_result_all). (Ilia)
- (Fixed a check for mbfilter_ru.h). (aleks@m2media.ru, Ilia)
- (sprintf() decimal specifiers problem). (Moriyoshi)
- (Missing input validation for flags parameter). (Ilia)
- (broken imagecopymerge()). (Pierre-Alain Joye)
- (Spaces were not being stripped from Bcc header). (Ilia)
- (imagerotate() problems with limited pallet, the function will always return true color image from now on). (Pierre-Alain Joye)
- (mysql_connect(): disable local infile option if php.ini option "open_basedir" is set). (Georg)
- (In FreeBSD glob() gives wrong result when pattern not found). (Hartmut)
- (Coredump on startup with Oracle 9+). (Edin)
- (fake values returned when OID value is an empty string). (Jani)
- (FastCGI socket listening). (Shane)
- (exit code lost when exit() called from register_shutdown_function()). (Ilia)
- (added Dbase2 version check). (Vlad Krupin)
- (Potential Stack overflow in zendlex). (Wez)
- (hash position of static arrays not being reset). (Ilia)
- , (aggregate() related leaks and crashes). (Andrei)
- (Ack() inside win32/sendmail.c may stall in certain situations). (Ilia)
- (ob_start() did not work with create_function() callbacks). (Marcus)
- (Cascading assignments to strings with curly braces broken). (Stas)
- (References inside $_SESSION not being handled). (Ilia)
- (Possible crash when memory_limit is reached and output buffering in addition to session.use_trans_sid is used). (Ilia)
- (Apache2 sapis do not detect aborted connections). (Ilia)
- (workaround for unusual realpath() on AIX & Tru64). (Ilia)
- (serialize() mangles objects with __sleep). (Ilia)
- (strange behavior of mixed type in array-keys). (Marcus)
- (Threading issue on HP-UX). (Roshan Naik, Andi, Moriyoshi)
- (version_compare() does not support "p" as suffix). (Stefan Walk)
- (Apache2: "ErrorDocument xxx /error.php" broken). (Jani)
- (-s -w modes with php-cli cause php to hang). (Ilia)
- (putenv("VAR=") does not empty VAR on win32). (Zeev)
- (blob_add() has max limit of 64k). (Ard)
- (escapeshellcmd() can now handle quoted arguments). (Ilia)
- (pthreads bug workaround). (timo.teras[at]iki.fi)
- (strtotime not handling "M d H:i:s Y" format). (Ilia)
- (ibase_query(), ibase_execute() mangled passed parameters). (Jani)
- (crash in _php_ibase_error() after request shutdown). (Ard)
More information on this release on our Releases page.
Version 4.3.2
- Syncronized bundled GD library with GD 2.0.12. (Ilia)
- Removed support for GDLIB version 1.x.x (php_gd.dll) on Windows. (Edin)
- Enabled read-only GIF support in the bundled GDLIB (php_gd2.dll) on Windows. (Sebastian, Edin)
-
Improved dba extension (Marcus)
- Added support for internal error handling of Berkeley db libraries.
- Disallowed Berkeley db versions 4.1.0 to 4.1.24 due to locking problems.
- Disallowed linkage of Berkeley db submodules against libraries with different major versions.
- Disallowed configuring of more than one Berkeley db handler.
- Reenabled dba_popen() with new persistent STDIO streams.
- Added a new Apache 2.0 SAPI module (sapi/apache2handler) based on the old version (sapi/apache2filter). (Ian Holsman, Justin Erenkrantz)
- Added "disable_classes" php.ini option to allow administrators to disable certain classes for security reasons. (Harald)
- Added man page for CLI version of PHP. (Marcus)
- Added --clean option into phpize. (Jani)
- Added --ldflags option into php-config. (Jani)
- Added imagesavealpha() and imageistruecolor() functions. (Pierre)
- Added XBM support for bundled GD library. (Marcus)
- Added session_regenerate_id() function. (Sascha)
- Added zlib_get_coding_type() function which returns the coding type used for output compression. (Moriyoshi)
- Added OCIPasswordChange() which allows renewing expired Oracle users. (Maxim)
- Added memory_get_usage(). Only available when PHP is configured with --enable-memory-limit. (Andrey)
- Added improved JPEG 2000 support for getimagesize(). (Marcus, Adam Wright)
- Added XBM and WBMP support for getimagesize(). (Marcus)
- Added KOI8-R, CP866, and CP1251 support for htmlentities(). (Antony Dovgal, Moriyoshi)
- Added domdocument->free() to free XML-documents from memory. (Rob Richards)
- Fixed a bug in error reporting with the CLI for start-up errors. (Derick)
- Fixed spurious fsync calls during socket communication. (Sascha)
- Fixed a possible vhost issue in thttpd. (Sascha, dgl@dgl.cx)
- Fixed including from HTTP URLs. (Sascha)
- Fixed a lot of memory leaks in domxml. (Rob Richards, Chregu)
- Fixed a bug in GD's truecolor TTF handling. (Derick)
- Fixed several 64-bit problems. (Dave)
- Fixed several errors in hwapi extension. Objects weren't handled properly. (Uwe)
- (str|preg_replace() clobber the array elements). (Ilia)
- (file uploads ignored due to case sensitivity). (Sara)
- (ifx_copy_blob() crash). (Jani)
- (mysql_fetch_array() gives no warning when an invalid argument was passed as result_type). (Derick)
- (set_error_handler() registered handler not called for object instances). (Jani, waboring@qualys.com)
- (Unable to build --with-db4 (db4.1.25)). (Marcus)
- (pfsockopen() returns dead connections). (Wez)
- (curl_exec() produces strange results). (daniel@haxx.se)
- (PostScript Type 1 fonts do not render properly). (nid@home.se, Ilia)
- (crash with improper use of mssql_bind()). (Frank)
- (configure falsely detects c-client using SSL). (Jani)
- (fopen on multiple URLs causes memory corruption). (Wez)
- (serialize cuts off floats & doubles). (Ilia, Marcus)
- (safe_mode does not honor PHP_AUTH_* in apache2). (Ilia)
- (money_format() didn't handle erroneous return of strfmon). (Ilia, marcot@tabini.ca)
- (set_file_buffer() crashes with stdio streams). (Ilia)
- (CDB databases created with 'c' mode do not work). (Marcus)
- (memory leaks in sybase_connect/sybase_pconnect). (Ilia)
- (user_error() crashs if error message > 1024 bytes). (Jay, Marcus, Moriyoshi)
- ($http_response_header empty on invalid URLs). (Ilia)
- (integer overflow in exif_iif_add_value()). (Ilia)
- (ext/interbase: libgds.so: undefined reference to 'crypt'). (Jani)
- (highlight_string() crashed with __FUNCTION__). (Jani)
- (socket_strerror() crashes on win32). (Moriyoshi)
- (when DST in effect, date("T") crashed PHP). (Scott MacVicar, Jani)
- (tempnam creates readonly file [win32]). (Wez)
- (pg_select with timestamp). (Marcus, Jay)
- (ldap_start_tls() not available on Windows). (Edin)
- (When ftp_close() is called, send QUIT to the ftp server). (Ilia)
- (sendmail not found by configure). (igyu@ionsphere.org)
- (missing perror() check in configure). (Jani)
- (Crash in gd lib's ImageFillToBorder()). (Ilia)
- (crash in imap_header_info()). (Ilia)
- (Changing bool value via -d or ini_set(), On would be Off). (Ilia)
- (Crash when trying to call DomAttribute's set_namespace method). (Chregu)
- (Fatal errors exit with status 0 with CGI/CLI). (Jani)
- (PHP crashes when exiting (long XML doc)). (Rob Richards)
- (Compile error in gdcache.c when external libgd is used). (Jani)
- (Poor file() performance on systems without mmap). (Wez)
- (Crash in interbase when database unavailable). (Vladimir Michl)
- (Crash when reading from invalid file pointer). (Ilia)
- (User not logged under Apache2). (Ian)
- (Wrong order of -lssl and -lcrypto with IMAP). (Jani)
- (imagettfbox() does not add the kerning distance to the running position). (Ilia)
- (Do not terminate the script on minor errors). (Ilia)
- (overflow protection for upload_max_filesize ini option). (Ilia)
- (writing transparency to truecolor png images). (Ilia)
- (failed stat on stdio/stdin/stderr streams). (Wez, Ilia)
- (append_child does not unlink node). (Chregu)
- (mcrypt_generic_deinit() was not available on Windows). (Edin)
- (Added protection against circular HTML redirects). (Ilia)
- (ISAPI Secure Server variables not available). (Christian Swoboda)
- (opening of ftp for read/write could fail due to invalid return code handling). (Ilia)
- (FNM_CASEFOLD is not available). (Hartmut)
- (fgetcsv() did not handle \" correctly). (Ilia)
- (wrong httpd.conf modified when using INSTALL_ROOT). (Jani)
- (combinations of fwrite(), fread() and fseek() produce unexpected results). (Wez)
- (PHP would remove folding from Subject & To fields). (Ilia)
- (overloaded strrpos() gives wrong results). (david@santinoli.com, Moriyoshi)
- (crash on failed connection when curl_getinfo() was called). (Phil Oleson <poleson@verio.net>)
- (optimized passthru, code is now ~40 times faster). (Ilia)
- (pg_lo_seek($h, 0, PGSQL_SEEK_SET) succeeds but returns false). (Jani)
- (htmlspecialchars() crashes Apache on Tru64). (Ilia)
- (gethostbyname() with non-existing domain crashed on MacOSX). (Jani)
- (possible crash when opening relative URLs). (Ilia)
- (stream_select() clobbers fifos under win9x). (Wez)
- (copy() fails if source file has 0 length). (Moriyoshi)
- (printf() field limiters broke between 4.2.3 and 4.3.0). (Moriyoshi)
- (implode() changes object references in array). (Moriyoshi)
- (bad rows count in the result object for postgresql). (Marc)
- (e notation in *printf would be missing a 0 when there is no exponent). (Ilia)
- ("php_admin_value open_basedir none" does not work). (Jani)
- (frontbase build broken with old version of frontbase). (Ilia)
- (spprintf function did not handle floats correctly). (Ilia)
- (incorrect insertion of session id when tabs are used to separate tag elements). (Ilia)
- (removed undocumented Boyer str_replace() method). (Sara)
- (Added gdImageEllipse and replaced old gdImageFilledEllipse with a better implementation). (Pierre)
- (array_shift() left next index to be +1 too much). (Jani)
- (MySQL charset directory problem on Windows). (Edin)
- (ftp_chdir() causes segfault). (Sara)
- (crash in imap_header() when the e-mail contains an abnormally large number of special characters). (Ilia)
- (pg_result_seek() would never seek to the 1st row in the result due to always seeking to row next to the one requested). (Ilia)
- (Made curl_write() & curl_write_header() binary safe). (Ilia)
- (Crash in imap_mail_compose() if the body is an empty array). (Ilia)
- (date() does not support negative timestamps on win32). (Ilia)
- (strip_tags() eliminates too much). (Moriyoshi)
- (Overload extension and _call() breaks classes). (Shane)
- (array_pop() did not reset the current array position). (Jani)
- , (win32 mail(), bcc: gets interpreted as cc:). (Sara)
- (move_uploaded_file() does not ignore open_basedir). (Wez)
- ("$arr['foo']" generates bogus E_NOTICE, should be E_PARSE). (Jani)
- (fpassthru() ignored buffered data but complained anyway). (Wez)
- (select would not always timeout during socket shutdown). (Wez)
- (default output buffer could not be deleted). (Marcus)
- (return behaviour differs between include and require). (Zeev)
- (include remote files leaks descriptors on Solaris). (Wez)
- (ucwords() trouble again). (Moriyoshi)
- (fgetcsv() suppresses some characters before a separator). (Masahiro, Moriyoshi)
- , (getimagesize() failed for remote files). (Wez)
- (made glob() understand Windows paths). (Edin)
- (problem with Ingres II persistent connections). (Jani)
- (Extended checks for where FreeTDS is installed). (Frank)
- (typo in gmp_gcdext() causes incorrect results). (Sara)
- (file_exists() and other filestat functions report errors when the requested file/directory does not exists). (Sara)
- (memory corruption by fsockopen()). (Ilia)
- (bind_textdomain_codeset() now available on Windows). (Edin)
- (number_format() could cause a memory allocation for a negative memory size in situations where the sprintf implementation of the host system generated less decimal places than were requested). (Wez)
- (imagecreatefromstring() crashed with invalid image files). (Ilia)
- (config.status warning). (Jani)
- (mysql_pconnect connection problems). (Georg)
- (improper handling of non-terminated < by strip_tags()). (Ilia)
- (gd unable to open fonts). (Ilia)
- (improper handling of ? surrounded by spaces in get_browser()). (Ilia)
- (crash in mail() on Windows when 1st parameter is empty). (Edin)
- (fixed handling of NULL or "" files on Win32). (Ilia)
- (COM code crashes after update 4.2.1 to 4.3.0). (Harald)
- (html_entity_decode() crashed when "" is passed). (Ilia)
- (Solaris has issues with getcwd() needing read permissions on directories instead of just execute). (Wez, jflemer)
- (in CLI/CGI on the #! it would leave a \n when the code encounters \r\n). (Ilia)
- (session_decode() returned FALSE on success). (Ilia)
- (opening URLs that result in redirection to a relative path was failing). (Ilia)
- (missing 3rd argument to php_module_startup). (Ilia)
- (broken check for ob_gzhandler and made ob_start() return the correct value). (Ilia)
- (parse_url handling of urls without a path). (Ilia)
- (apache configure fails when using --enable-versioning). (Jani)
- (Compile Failure and lots of warnings on UnixWare). (Derick)
- (fopen() with mode 'a+' and rewind() doesn't work). (Wez)
- (html_errors off text-only output in phpinfo). (Marcus)
- (snmpset() failed always, patch by: rs@epost.de). (Jani)
- (PHP would die silently when memory limit reached). (Ilia)
- (odbc could not be compiled as shared extension). (Jani)
- (Numeric/decimal datatype overflow in ext/interbase on Win32). (Daniela)
- (imagesetbrush() not available on Windows). (Edin)
- (COM memory leak). (Harald)
- (snprintf() not defined on some systems). (Jani)
- (crash in sapi_apache_header_handler under heavy load). (George)
- (Problems with strnatcmp() / strnatcasecmp()). (Moriyoshi)
- (multiple <!--include--> used to include PHP files crashes). (Ilia)
- (Print the message when OCI_SUCCESS_WITH_INFO is returned). (Maxim)
- (make Apache2 aware that PHP scripts should not be cached). (Ilia)
- (Compile failure with LOB support for Oracle version < 8.1). (Maxim)
- (fixed connection_status() to return 2 for timeouts). (Jani)
- ('make install' fails on AIX when using --with-apxs). (Jani)
- (CGI: passing query string on command line broken). (Shane)
- (--without-pear disabled phpize/php-config install). (Jani)
- (bcmath functions applying scale incorrectly). (Sara)
More information on this release on our Releases page.
Version 4.3.1
- Fixed serious security vulnerability in CGI SAPI. (Shane)
More information on this release on our Releases page.
Version 4.2.3
- Enable UTF8 modifier support for PCRE on win32. (Wez, Edin)
- Enabled strcoll() on win32. (Markus)
- Fixed possible ASCII control char injection in mail(). (Stefan Esser)
- Fixed a potential crash bug in import_request_variables() (Zeev)
- Fixed several problems with directory functions on Windows. (Steph)
- Fixed xbithack bug in Apache module. (Rasmus)
- Fixed a bug that prevented touch() from working on various platforms. (Steph)
- Fixed ob_gzhandler()'s handling of requests that do have the Accept-Encoding header, but do not allow compression. (Zeev)
- Fixed several bugs in the multithreaded version that could cause random parse errors, especially on machines with multiple CPUs. (Zeev, Zend Engine)
- Fixed a build problem in bcmath. (Alan)
- Fixed several bzip2 issues. (Andrei, kalowsky)
- Fixed several COM issues. (Harald)
- Various exif fixes. (Marcus)
- Fixed domxml_xslt_process() and domxml_get_element_by_id() and several other issues in DOMXML. (Christian)
- Fixed DOMXML crash on removing previously created attributes. (Christian)
- Fixed crash when converting $GLOBALS to an object. (Zeev, Zend Engine)
- Fixed ImageCreateFromGD2Part() (Jani)
- Fixed a build issue in the IMAP extension under IRIX. (kalowsky)
- Fixed a bug in imap_last_error() (Jani)
- Various mbstring fixes. (Yasuo, Rui)
- Fixed a build problem in the mcal extension. (Jani)
- Made MySQL rollback open transactions when the request ends. (Georg)
- Fixed a crash in the shutdown order of the ODBC module. (kalowsky)
- Fixed PCRE build problems. (troels@arvin.dk)
- Fixed a crash in pg_lo_write() (Yasuo)
- Fixed posix_isatty() and posix_ttyname(). (Markus)
- Fixed accidental pg_lo_import() API change. (Yasuo)
- Fixed ereg_replace() crash when the backreference number was greater than the number of captured subpatterns. (oliver@billix.franken.de)
- Fixed array_rand() on thread-safe platforms such as Windows. (Edin)
- Report the right exit code after a call to exit(). (Edin)
More information on this release on our Releases page.
Version 4.2.2
- Fixed serious security vulnerability. (Stefan Esser)
More information on this release on our Releases page.
Version 4.2.1
- Added safe-mode checks to show_source(), parse_ini_file() and rmdir(). Also
fixed security problems with safe_mode_include_dir directive. (Rasmus)
- Changed HTTP upload code to accept 0 byte file uploads. (Zeev)
- Major update of domxml. New functions, better DOM compliance and bug fixes:
-
Changed the old $node->append_child() to $node->append_sibling() since
the new append_child() behaves correctly (= W3C standard).
-
Added domxml functions:
- domxml_elem_get_elements_by_tagname()
- domxml_doc_get_elements_by_tagname()
- domxml_doc_get_element_by_id()
- domxml_elem_remove_attribute()
- domxml_elem_get_attribute_node()
-
Fixed a segfault in domxml_unlink().
-
Added formatting option to domxml_dump_mem().
(Uwe, jtate, Chregu)
- Fixed a bug in socket_select() that could cause unexpected behavior when
using a statement like $w = $e = array($sock); This change unfortunately
prevents the use of constant values (e.g. NULL) for the socket array
paramaters. Instead, use a temporary variable or an expression with the
leftmost member being a temporary variable. ex.:
socket_select($w, $r, $e = NULL, 10); (Jason)
- Fixed crashes in the session serializer. (Stas)
- Fixed malformed atime/mtime with touch(). (Yasuo)
- Fixed a couple of bugs in array_sum() and array_merge(). (Andrei)
- Fixed SJIS directory name handling under Windows. (Rui)
- Fixed empty mb_output_handler() output when Content-Type is specified.
(Yasuo)
- Fixed the false logic in ext/session which made SID constant not to be
defined when cookies are disabled. (Sascha)
- Fixed possible crash bug in HTTP uploads. (Patch: Lucas Schroeder)
- Fixed possible NULL-pointer dereferencing in the COM extension which
caused 'Error in php_OLECHAR_to_char()' warnings on various places.
Also modified the API to consistently return NULL in case of an error.
(Alan, Harald)
- Fixed a bug in the COM extension that caused outproc servers to 'hang'
because of a missing Release() call. (Alan, Harald)
More information on this release on our Releases page.
Version 4.2.0
- ATTENTION!! register_globals defaults to 'off' now !!!
- Note: Apache2 support is EXPERIMENTAL.
- Moved ext/mailparse to PECL. See http://thebrainroom.com/opensource/php/
for more information and to download the extension. (Wez/Jim)
- Fixed pg_last_notice() crash. (Yasuo)
- Modified the mysql extension to disable 'LOAD LOCAL' when safe mode is
enabled. (Jason)
- Fixed HTTP file upload support to handle big files better. (Jani)
- Major modifications to the Sockets Extension and its API (Jason):
- Fixed numerous bugs.
- Added automatic host lookup capability to all functions that take addr's.
example: socket_connect($sock, 'www.yahoo.com', 80);
- Corrected and standardized host lookup errors
- Modified socket_recv() behavior. [$r=socket_recv($sock, $buf, $len, $flags)]
- Added socket_set_block() which changes a socket into blocking IO mode
- Modified socket_last_error() to not clear the last error
- Added socket_clear_error() which clears the last error on a socket
- Removed all code pertaining to fd_sets (socket_fd_*)
- Modified/Improved socket_select() to accept array of resources instead of fd_sets. example:
<?php
$wfds=$rfds=array($sock1, $sock2, $sock3, $sock7);
$r=socket_select($rfds, $wfds, NULL, 1);
print "Ready to read:\n"; var_dump($rfds);
?>
- Fixed segfault in ibase_close() if user does not free the resultset.
Bugs , . (daniela)
- Fixed pg_last_notice() crash. (Yasuo)
- Added optional 3rd parameter "int encoding_mode" to gzencode() and fixed
parameters to conform documentation. (Stefan)
- Changed read_exif_data() to be an alias of exif_read_data(). (Marcus)
- Added exif_tagname() function which returns the names of tags and
exif_thumbnail() function to extract embedded thumbnails. (Marcus)
- Fixed iconv support with FreeBSD. (kalowsky)
- Cleaned up the posix extension: (Markus)
- Removed unwanted warning messages
- Added posix_errno() and posix_strerror() for fetching error messages
- Changed the way posix_getgrnam() and posix_getgrgid() return their values
(breaks BC but makes more sense)
- Does not include functions in symbol table which aren't supported on host
system.
- Added TIFF support for getimagesize() and read_exif_data(). (Marcus)
- Changed the Velocis extension namespace to Birdstep to reflect new product
name. Added aliases for BC. (James)
- Added safe_mode checks for opendir(). (jflemer)
- Changed the 2nd parameter in pgsql_fetch_*() functions to support NULL if
all 3 parameters are supplied, but you do not want to provide a row number.
(Derick)
- Improved iconv() when using libc's iconv. (Yasuo)
- Added PHP_SAPI constant which contains the name of running SAPI. (Edin)
- Added ob_get_status() which returns an array of buffers with their status.
(Yasuo)
- Fixed a crash bug in ob_end_*() functions. ob_end_*() will not delete
buffers that may not be deleted. (Yasuo)
- Added 3rd parameter "bool erase" to ob_start(). If FALSE, the buffer may not
be deleted until script finishes. (Yasuo)
- Changed ob_*() functions to return TRUE for success, FALSE for failure.
(Yasuo)
- Added sybase_ct support to dbx module. (Marc)
- Fixed error message handling with PostgreSQL 7.2. (Rui)
- Added object aggregation capability, see aggregation_*() functions. (Andrei)
- Added debug_zval_dump() which works similarly to var_dump, but displays
extra internal information such as refcounts and true type names. (Jason)
- Added Andrei's tokenizer extension. (Stig)
- Fixed a bug in the COM extension which caused php to crash in
php_COM_get_ids_of_names(). (Paul, Harald)
- Removed ext/satellite. It is now part of PEAR. (eriksson)
- Changed php.ini directive 'safe_mode_include_dir' to accept a (semi)colon
separated path (like 'include_path') rather than a single directory.
(jflemer)
- Added is_a() function that can be used to test whether object is of a certain
class or is derived from it. (Andrei, Zend Engine)
- Added optional parameter to highlight_string() and highlight_file() which
makes these functions to return a highlighted string instead of dumping
it to standard output. (Derick)
- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract(). (Rasmus)
- Fixed a segfault in pg_pconnect(). If PostgreSQL server is restarted, broken
connection is detected and reconnected. (Yasuo)
- Fixed --enable-safe-mode configure option. (Yasuo)
- Added function domxml_dump_node($doc,$node). Dumps a node plus all children
into a string. (chregu)
- Added function domxml_node_get_content(). (chregu)
- Added function domxml_dump_file($filename,[$compression]). Dumps XML to
a file and uses compression, if specified. (chregu)
- Added exslt integration to domxml extension (http://exslt.org/ for details).
Configure with --with-dom-exslt[=DIR] (and --with-dom-xslt).
(chregu,jaroslaw)
- Fixed session_unset() to not touch any globals if register_globals is off.
(Thies)
- Added 3 new optional parameters to OCIFetchStatement(). They control
the number of rows to skip at the beginning of the cursor, the
maximun numer of rows that should be fetched and the format of the
returned array. (Thies)
- Updated the XSLT extension to support Sablotron 0.8. (Petr Cimprich)
- Fixed a bug in preg_match() and preg_match_all() when matching strings
contain null bytes. (Andrei)
- Added xpath_register_ns() function. This makes it possible to issue XPath
queries with namespaces like for example: "//namespace:sampletag".
(Chris Jarecki)
- Added multi-byte enabled regular expression functions. (Rui)
- Added optional second parameter to count() which can be used to specify
either normal or recursive counting. (patch by Vlad Bosinceanu <glipy@fx.ro>)
- Added mb_get_info() to get internal settings of mbstring. (Rui)
- Added async query functions to PostgreSQL module. (Yasuo)
- Added pg_copy_to()/pg_copy_from() for PostgreSQL module. (Youichi, Yasuo)
- Added IPv6 support for FTP extension. (Stig Venaas)
- Improved the speed of wordwrap() significantly. (Jim)
- Fixed pow()'s incorrect behaviour when dealing with powers of 0. (Jim)
- Added is_finite(), is_infinite() and is_nan(). (Jim)
- Fixed segfault in wordwrap() when wrapping to zero width and using
multi-character break or trying to force cut (bug ). (Jim)
- Fixed several bugs in dbase extension (dbase_pack() truncate file to right
size, fix #1 and #2). (Vlad)
- Fixed bug in krsort() where an extra character was being compared. (Andi)
- Fixed bug that made pspell include pspell.h from a wrong location. (Vlad)
- Added function overload in mbstring to add multibyte support for
string and mail functions. (Rui)
- Added flags parameter to preg_grep(). The only flag currently is
PREG_GREP_INVERT that will make the function return entries that
did not match. (Andrei)
- Fixed several crash bugs in the xslt extension. (Markus, Derick)
- Fixed problem with dbase not returning very large (larger than long)
integers properly. (Vlad)
- Added concepts to IRCG: bailout-on-trivial issue, write output to
files, fetch a resource upon connection end. (Sascha)
- Fixed POST-related bugs in thttpd, added QUERY_STRING, HTTP_HOST,
HTTP_ACCEPT_LANGUAGE to the script environment, improved patch
to send correct MIME types, and added support for /nocache/. (Sascha)
- Fixed several bugs and memleaks in the domxml extension. (Markus)
- Added var_export() which outputs a representation of a variable as reusable
PHP code. (Derick)
- Added -w option to the CGI-version to strip all comments and whitespace
from the script. (Thies)
- Added support for SO_RCVTIMEO and SO_SNDTIMEO to ext/sockets. (Jason)
- Added ob_get_level() which returns the nesting level of the output buffering
mechanism. (Yasuo, Derick)
- Added ob_flush() and ob_clean() functions which flush and clean an output
buffer without destroying the buffer. (Derick)
- Added new optional parameter to mysql_connect() which forces a new database
link to be created. (Markus, Derick)
- Added ldap_sort() function. (Stig Venaas)
- Added md5_file() function which calculates the MD5 sum of a file.
Patch by Alessandro Astarita <aleast@capri.it> (Derick)
- Added support for parsing recordsets contained in WDDX packets. (Andrei)
- Renamed key_exists() to array_key_exists(). (Derick)
- Fixed ImageColorsForIndex() and ImageColorAt() to work for TrueColor
images. (Rasmus)
- Added support for bind_textdomain_codeset(). <rudib@email.si>
- Added generic Win 32 API extension. (jmoore)
- Removed warning message about NONEXISTENT character set from mysql_connect()
when the server's default character set != latin1. (MySQL Team)
- Added Direct I/O extension for lowlevel access to the POSIX layer. (Sterling)
- Added SAPI module for the WebJames server on RISC OS. (Alex Waugh)
- Fixed ldap_add() and ldap_modify() functions to throw a warning with illegal
value arrays. Previously segfaulted or added wrong value. (Stig Venaas)
- Added udm_check_charset() function into mnoGoSearch extension. (gluke)
- Fixed mnoGoSearch extension to support mnogosearch-3.2.x. (gluke)
- Made fbsql_num_rows() to return the correct value on all select statements.
(Frank)
- Added array_chunk() function which splits an array into chunks of specified
size. (Andrei)
- Fixed $HTTP_RAW_POST_DATA to be populated on a missing content-type when
always_populate_raw_post_data is on. (Rasmus)
- Added session_cache_expire() function. (patch by <anuradha@gnu.org>) (Andrei)
- Added array_fill() function. (Rasmus)
- Made Authorization header to be hidden from phpinfo() output in safe_mode.
(Rasmus)
- Re-instated safe-mode realm mangling. (Rasmus)
- Fixed a bug in preg_replace() that would change the type of the replacement
array entries to string. (Andrei)
- Added user-space object overloading extension. (Andrei)
- Added ldap_start_tls() function. (Stig Venaas, patch by <kuenne@rentec.com>)
- Changed rand() and mt_rand() to be seed automatically if srand() or
mt_srand() has not been called. (Sterling)
- Changed the seed options to srand() and mt_srand() to be optional. If the
seed is not specified the most random seed possible is generated. (Sterling)
- Added array_change_key_case() function which returns an array with all
string keys lowercased or uppercased. (Edin)
- Added parameter to ircg_pconnect to suppress treating non-fatal errors
as fatal, and added conversion of Windows quotes to ". (Sascha)
- Added pcntl_exec() function which behaves similar to the system execve.
(Jason)
- Fixed segfault and check for truecolor image in ImageColorAt(). (Rasmus)
- Fixed nl2br() to handle all styles of line-endings in one string.
(Boian, Derick)
- Added mcrypt_generic_deinit() to replace mcrypt_generic_end(). (Derick)
- Added apache_setenv() function for injecting variables into Apache's
subprocess_env table. (Rasmus)
- Added support for 'int', 'bool', 'float' and 'null' in settype(). (Jeroen)
- Added IPv6 support to gethostbyaddr().
(Patch by Matthias Wimmer <matthias@charente.de> and venaas)
- Fixed LONG_VARCHAR type crashing in ODBC extension. Patch by Walter Franzini.
(kalowsky)
- Changed in_array() and search_array() to allow the needle to be an array
in itself. (Andrei)
- Added ini_get_all() function which returns all registered ini entries
or entries for the specified extension. (Jani)
- Added support for chinese encodings in htmlentities() and htmlspecialchars().
(Patch by Alan Knowles <alan_k@hklc.com> and Wez)
- Improved support for autoconf-2.50+/libtool 1.4b+. (Jan Kneschke, Sascha)
More information on this release on our Releases page.
Version 4.1.2
- Fixed start up failure when mm save handler is used and there is multiple
SAPIs are working at the same time. (Yasuo)
- Fixed the Roxen SAPI (Yasuo)
- Fixed a buffer overflow in the RFC-1867 file upload code (Stefan)
- Fixed a crash in the session module (Yasuo)
- Fixed a crash in the pspell module (Yasuo)
- Changed the default output encoding of mbstring 'pass' to fix
initialization problem (Rui)
More information on this release on our Releases page.
Version 4.1.1
- Fixed incompatibility with Windows .NET / IIS 6 - may improve stability
under other versions of IIS. (Zeev)
- Fixed bug that caused crashes or error notices on shutdown on threaded
platforms. (Zeev)
- Fixed several crash bugs in the xslt extension. (Markus, Derick)
- Fixed problem with dbase not returning very large (larger than long)
integers properly. (Vlad)
- Fixed several bugs and memleaks in the domxml extension. (Markus)
- Fixed bug in gmmktime() which was one hour off during standard time -
bug . Patch by bfoddy@mediaone.net. (jmoore)
- Fixed bug in gmdate() timezone handling on Windows - bug . (jmoore)
- Fixed several crash bugs in the mcrypt extension. (Derick)
- Made the mcrypt extension compile with the libmcrypt 2.2 series again.
(Sterling)
- Fixed a bug where the is_file() family of functions would in-correctly give
an error when they were given filenames that didn't exist. (Sterling)
- Fixed a bug in the strtotime() function where it was incorrectly recognizing
GMT +0100 and GMT -0100. (Derick)
More information on this release on our Releases page.
Version 4.1.0
- Worked around a bug in the MySQL client library that could cause PHP to hang
when using unbuffered queries. (Zeev)
- Fixed a bug which caused set_time_limit() to affect all subsequent requests
to running Apache child process. (Zeev)
- Removed the sablotron extension in favor of the new XSLT extension.
(Sterling)
- Fixed a bug in WDDX deserialization that would sometimes corrupt the root
element if it was a scalar one. (Andrei)
- Make ImageColorAt() and ImageColorsForIndex() work with TrueColor images.
(Rasmus)
- Fixed a bug in preg_match_all() that would return results under improper
indices in certain cases. (Andrei)
- Fixed a crash in str_replace() that would happen if search parameter was an
array and one of the replacements resulted in subject string being empty.
(Andrei)
- Fixed MySQL extension to work with MySQL 4.0. (Jani)
- Fixed a crash bug within Cobalt systems. Patch by tomc@tripac.com.
(Jani)
- Bundled Dan Libby's xmlrpc-epi extension.
- Introduced extension version numbers. (Stig)
- Added version_compare() function. (Stig)
- Fixed pg_last_notice() (could cause random crashes in PostgreSQL
applications, even if they didn't use pg_last_notice()). (Zeev)
- Fixed DOM-XML's error reporting, so E_WARNING errors are given instead of
E_ERROR error's, this allows you to trap errors thrown by DOMXML functions.
(Sterling)
- Fixed a bug in the mcrypt extension, where list destructors were not
properly being allocated. (Sterling)
- Better Interbase blob, null and error handling. (Patch by Jeremy Bettis)
- Fixed a crash bug in array_map() if the input arrays had string or
non-sequential keys. Also modified it so that if a single array is passed,
its keys are preserved in the resulting array. (Andrei)
- Fixed a crash in dbase_replace_record. (Patch by robin.marlow@dps-int.com)
- Fixed a crash in msql_result(). (Zeev)
- Added support for single dimensional SafeArrays and Enumerations.
Added com_isenum() function to check if a component implements an
enumeration. (Alan, Harald)
- Fixed a bug in dbase_get_record() and dbase_get_record_with_names().
boolean fields are now returned correctly.
Patch by Lawrence E. Widman <widman@cardiothink.com> (Jani)
- Added --version option to php-config. (Stig)
- Improved support for thttpd-2.21b by incorporating patches for all known
bugs. (Sascha)
- Added ircg_get_username, a roomkey argument to ircg_join, error fetching
infrastructure, a tokenizer to speed up message processing, and fixed
a lot of bugs in the IRCG extension. (Sascha)
- Improved speed of the serializer/deserializer. (Thies, Sascha)
- Floating point numbers are better detected when converting from strings.
(Zeev, Zend Engine)
- Replaced php.ini-optimized with php.ini-recommended. As the name implies,
it's warmly recommended to use this file as the basis for your PHP
configuration, rather than php.ini-dist. (Zeev)
- Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There
are still some known leaks. (Joey)
- Added import_request_variables(), to allow users to safely import form
variables to the global scope (Zeev)
- Introduced a new $_REQUEST array, which includes any GET, POST or COOKIE
variables. Like the other new variables, this variable is also available
regardless of the context. (Andi & Zeev)
- Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which
deprecate the old $HTTP_*_VARS arrays. In addition to be much shorter to
type - these variables are also available regardless of the scope, and
there's no need to import them using the 'global' statement. (Andi & Zeev)
- Added vprintf() and vsprintf() functions that allow passing all arguments
after format as an array. (Andrei)
- Added support for GD2 image type for ImageCreateFromString() (Jani)
- Added ImageCreateFromGD(), ImageCreateFromGD2(), ImageCreateFromGD2part(),
ImageGD() and ImageGD2() functions (Jani)
- addcslashes now warns when charlist is invalid. The returned string
remained the same (Jeroen)
- Added optional extra argument to gmp_init(). The extra argument
indicates which number base gmp should use when converting a
string to the gmp-number. (Troels)
- Added the Cyrus-IMAP extension, which allows a direct interface to Cyrus'
more advanced capabilities. (Sterling)
- Enhance read_exif_data() to support multiple comment tags (Rasmus)
- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)
- Change from E_ERROR to E_WARNING in the exif extension (Rasmus)
- New pow() implementation, which returns an integer when possible,
and warnings on wrong input (jeroen)
- Added optional second parameter to trim, chop and ltrim. You can
now specify which characters to trim (jeroen)
- Hugely improved the performance of the thread-safe version of PHP, especially
under Windows (Andi & Zeev)
- Improved request-shutdown performance significantly (Andi & Zeev, Zend
Engine)
- Added a few new math functions. (Jesus)
- Bump bundled expat to 1.95.2 (Thies)
- Improved the stability of OCIPlogon() after a database restart. (Thies)
- Fixed __FILE__ in the CGI & Java servlet modes when used in the main script.
It only worked correctly in included files before this fix (Andi)
- Improved the Zend hash table implementation to be much faster (Andi, Zend
Engine)
- Updated PHP's file open function (used by include()) to check in the calling
script's directory in case the file can't be found in the include_path (Andi)
- Fixed a corruption bug that could cause constants to become corrupted, and
possibly prevent resources from properly being cleaned up at the end of
a request (Zeev)
- Added optional use of Boyer-Moore algorithm to str_replace() (Sascha)
- Fixed and improved shared-memory session storage module (Sascha)
- Add config option (always_populate_raw_post_data) which when enabled
will always populate $HTTP_RAW_POST_DATA regardless of the post mime
type (Rasmus)
- Added support for socket and popen file types to ftp_fput (Jason)
- Fixed various memory leaks in the LDAP extension (Stig Venaas)
- Improved interactive mode - it is now available in all builds of PHP, without
any significant slowdown (Zeev, Zend Engine)
- Fixed crash in iptcparse() if the supplied data was bogus. (Thies)
- Fixed return value for a failed snmpset() - now returns false (Rasmus)
- Added hostname:port support to snmp functions (nbougues@axialys.net, Rasmus)
- Added fdf_set_encoding() function (Masaki YATSU, Rasmus)
- Reversed the destruction-order of resources. This fixes the reported OCI8
"failed to rollback outstanding transactions!" message (Thies, Zend Engine)
- Added option for returning XMLRPC fault packets. (Matt Allen, Sascha
Schumann)
- Improved range() function to support range('a','z') and range(9,0) types of
ranges. (Rasmus)
- Added getmygid() and safe_mode_gid ini directive to allow safe mode to do
a gid check instead of a uid check. (James E. Flemer, Rasmus)
- Made assert() accept the array(&$obj, 'methodname') syntax. (Thies)
- Made sure that OCI8 outbound variables are always zero-terminated. (Thies)
- Fixed a bug that allowed users to spawn processes while using the 5th
parameter to mail(). (Derick)
- Added nl_langinfo() (when OS provides it) that returns locale.
- Fixed a major memory corruption bug in the thread safe version. (Zeev)
- Fixed a crash when using the CURLOPT_WRITEHEADER option. (Sterling)
- Added optional suffix removal parameter to basename(). (Hartmut)
- Added new parameter UDM_PARAM_VARDIR ha in Udm_Set_Agent_Param() function to
support alternative search data directory. This requires mnogoSearch 3.1.13
or later.
- Fixed references in sessions. This doesn't work when using the WDDX
session-serializer. Also improved speed of sessions. (Thies)
- Added new experimental module pcntl (Process Control). (Jason)
- Fixed a bug when com.allow_dcom is set to false. (phanto)
- Added a further parameter to the constructor to load typelibs from file when
instantiating components (e.g. DCOM Components without local registration).
(phanto)
- Added the possibility to specify typelibs by full name in the typelib file
(Alan Brown)
- Renamed the ZZiplib extension to the Zip extension, function names have also
changed accordingly, functionality, has stayed constant. (Sterling)
- Made the length argument (argument 2) to pg_loread() optional, if not
specified data will be read in 1kb chunks. (Sterling)
- Added a third argument to pg_lowrite() which is the length of the data to
write. (Sterling)
- Added the CONNECTION_ABORTED, CONNECTION_TIMEOUT and CONNECTION_NORMAL
constants. (Zak)
- Assigning to a string offset beyond the end of the string now automatically
increases the string length by padding it with spaces, and performs the
assignment. (Zeev, Zend Engine)
- Added warnings in case an uninitialized string offset is read. (Zeev, Zend
Engine)
- Fixed a couple of overflow bugs in case of very large negative integer
numbers. (Zeev, Zend Engine)
- Fixed a crash bug in the string-offsets implementation (Zeev, Zend Engine)
- Improved the implementation of parent::method_name() for classes which use
run-time inheritance. (Zeev, Zend Engine)
- Added 'W' flag to date() function to return week number of year using ISO
8601 standard. (Colin)
- Made the PostgreSQL driver do internal row counting when iterating through
result sets. (gvz@2scale.net)
- Updated ext/mysql/libmysql to version 3.23.39; Portability fixes, minor
bug fixes. (tim@mysql.com)
- Added get_defined_constants() function to return an associative array of
constants mapped to their values. (Sean)
- New mailparse extension for parsing and manipulating MIME mail. (Wez)
- Define HAVE_CONFIG_H when building standalone DSO extensions. (Stig)
- Added the 'u' modifier to printf/sprintf which prints unsigned longs.
(Derick)
- Improved IRIX compatibility. (Sascha)
- Fixed crash bug in bzopen() when specifying an invalid file. (Andi)
- Fixed bugs in the mcrypt extension that caused crashes. (Derick)
- Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
specified that the drawn curve should be rounded. (Sterling)
- Updated the sockets extension to use resources instead of longs for the
socket descriptors. The socket functions have been renamed to conform with
the PHP standard instead of their C counterparts. The sockets extension is
now usable under Win32. (Daniel)
- Added disk_total_space() to return the total size of a filesystem.
(Patch from Steven Bower)
- Renamed diskfreespace() to disk_free_space() to conform to established
naming conventions. (Jon)
- Fixed . Now zero is returned instead of an unset value for
7-bit encoding and plain text body type. (Vlad)
- Fixed a bug in call_user_*() functions that would not allow calling
functions/methods that accepted parameters by reference. (Andrei)
- Added com_release($obj) and com_addref($obj) functions and the related class
members $obj->Release() and $obj->AddRef() to gain more control over the used
COM components. (phanto)
- Added an additional parameter to dotnet_load to specify the codepage (phanto)
- Added peak memory logging. Use --enable-memory-limit to create a new Apache
1.x logging directive "{mod_php_memory_usage}n" which will log the peak
amount of memory used by the script. (Thies)
- Made fstat() and stat() provide identical output by returning a numerical and
string indexed array. (Jason)
- Fixed memory leak upon re-registering constants. (Sascha, Zend Engine)
More information on this release on our Releases page.
Version 4.0.6
- Fixed memory fragmention problem which could lead to web server processes
growing much more than they should. (Andi, Zend Engine)
- Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value
when register_globals is on. (Andrei)
- Fixed disk_free_space() and disk_total_space() under FreeBSD. (Jon)
- Fixed readfile/passthru losing resources during connection abort (Sascha)
- Fixed bug in the mcrypt extension that caused segfaults when using a key
that is too large for the used algorithm, and a bug that caused
mcrypt_generic() to segfault PHP (Derick)
- Fixed getopt so that it accepts command line arguments in the form
-<opt><arg> and -<opt> <arg>. (Jmoore)
- Fixed race in writing session files (Sascha)
- Fixed a possible crash in the PHP CGI when no input file is
specified (Zeev)
- Added is_callable() function that can be used to find out whether
its argument is a valid callable construct. (Andrei)
- Fixed a rare possible crash when generating extended information. (Dmitri
Dmitrienko, Zend Engine)
- Improved virtual() to support PHP-enabled URIs. (Zeev)
- Fixed undefined behavior when using floating point keys in array()
expressions. (Zeev, Zend Engine)
- Fixed a possible crash in case of parse errors in include files or eval
statements. (Zeev, Zend Engine)
- Added --with-layout configure option. (Stig)
- Improved interactive mode - supports function calls, and works in
multithreaded builds. (Zeev, Zend Engine)
- Fixed a crash bug in interactive mode. (Zeev, Zend Engine)
- Added pg_last_notice() function. (Rasmus from suggestion by Dirk@rackspace.com)
- Fixed a bug in preg_split() that would incorrectly limit the number of
results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Added connection error support to mysql_error() and mysql_errno(). (Jason)
- Added support to getimagesize to return dimensions of BMP and PSD
files. (Derick)
- Added heuristic to kill stale IRC connections, message scanner caching, and
nickname escaping to IRCG, suppress option to ircg_msg(), and statistics to
IRCG phpinfo() output. (Sascha)
- Added Japanese multibyte string functions support. (Rui)
- Added Mac OS X "\r" line ending support. (Andi, Zend Engine)
- Fixed a bug regarding the $PHP_SELF being incorrectly registered when
force-cgi-redirect was not enabled. (Sterling)
- pfpro extension now supports version 3 of the Verisign SDK. (John Donagher)
- Udm_Cat_List and Udm_Cat_Path functions has been added.
- Added key_exists() to check if a given key or index exists in an
array or object. (David Croft)
- Modify the cURL extension to compile only with the latest cURL release.
Backwards compatibility with regards to the extension api has not been
broken. (Sterling)
- Added the ability to use user-defined callbacks with cURL. (Sterling)
- Added the SSL_VERIFYPEER, CAINFO, MAXREDIRS, FILETIME, RANDOM_FILE, EGDSOCKET
and CONNECTTIMEOUT options to curl_setopt(). (Sterling)
- Added support for persistent connections with cURL. (Sterling)
- Fixed a problem in cURL with file descriptors being allocated, but never
closed. (Sterling)
- Fixed interactive mode (-a). It works again with the same limitations it
has always had. (Andi, Zend Engine)
- Improved memory manager to use less memory and provide better memory overflow
detection abilities in debug mode. (Andi, Zend Engine)
- Fixed resource leaks when resources were being cast to numbers. (Zeev, Zend
Engine)
- Fixed foreach() to not crash when being sent an invalid argument. (Andi, Zend
Engine)
- Fixed a bug in opendir() under Windows when trying to open a non-exisiting
directory. (Andi)
- Fixed popen() and the exec family under Win32 (Unable to fork issue). (Daniel)
- Make the printf family of functions binary clean. (Rasmus)
- Fixed WDDX serialization to HTML-escape key/variable names so as not to
break the XML packet. (Andrei)
- Made WDDX extension enabled by default. (Andrei)
- Added -C command-line option to avoid chdir to the script's directory. (Stig)
- Fixed a bug with /e modifier in preg_replace(), that would not correctly
replace two-digit references if single digit references were present
before them. This fixed bug . (Andrei)
- Added temporary LOB support in OCI8. (Patch by David Benson)
- Fixed crash in pathinfo()
- OCI8 now supports binding of collections. (Patch by Andy Sautins
<asautins@veripost.net>)
- Added GD 2.0.1 support for truecolor and alpha channels, plus some other gd
functions, both old and new - see docs for more info. (Wez)
- Added S/MIME sign/verify encrypt/decrypt functions to openssl extension,
along with some other certificate manipulation and interrogation functions.
See docs for more info. (Wez)
- printf argnum (parameter swapping) support. (Morten Poulsen, Rasmus)
- Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows). (Stig)
- Added small change to php_odbc module, to check for failed SQLDisconnects
and to close any outstanding transactions if the call fails, then disconnect
again. (lurcher)
- Modified get_parent_class() and get_class_methods() to accept a class name as
well as a class instance. (Andrei, Zend Engine)
- Added support for UNC style paths. (\\server\share\file,
//server/share/file). (Daniel, TSRM)
- Added dbx module (database abstraction) to the repository. (Marc)
- Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
and even COM calls much faster.
All ini settings are now prefixed by 'com.'.
Now you need not provide a path to the file containing the typelib, you can
also provide the GUID of the TypeLib - entry or an IID for preloading
type - information. (phanto)
- Rewrite of domxml. It's now mostly DOM Level 2 conform. (Uwe)
- Added array_map() function that applies a callback to the elements
of given arrays and returns the result. It can also be used with a
null callback to transpose arrays. (Andrei)
- Added array_filter(), which allows filtering of array elements via
the specified callback. (Andrei)
- Fixed all relevant array functions to avoid moving the internal array
pointer during operations. (Andrei)
- Added mysql_unbuffered_query(), which is useful for very large result sets.
(Zeev)
More information on this release on our Releases page.
Version 4.0.5
- IMPORTANT: removed /F modifier handling from preg_replace(). Instead
one should use new preg_replace_callback() function. (Andrei)
- Added new php.ini directive: arg_separator.input which is used to tell
PHP which characters are considered as argument separators in URLs.
Renamed php.ini directive: arg_separator -> arg_separator.output (Jani)
- Added FastCGI SAPI module. (Ben Mansell)
- Added array_reduce(), which allows iterative reduction of an array
to a single value via a callback function. (Andrei)
- The imageloadfont function of the gd extension should be not platform
dependent after this fix. (alex@zend.com)
- Fixed a compatibility problem in some file functions (fgets, fputs, fread,
fwrite). The ANSI standard says that if a file is opened in read/write
mode, fseek() should be called before switching from reading to writing
and vice versa. (alex@zend.com)
- Fixed argument checking for call_user_func* functions and allowed
specifying array($obj, 'method') syntax for call_user_func_array. (Andrei)
- Fixed parent::method() to also work with runtime bindings.
(Zeev, Zend Engine)
- Implemented high-performance zlib-based output compression - see
zlib.output_compression INI directive. (Zeev)
- Improved ob_gzhandler() to support chunked output buffering - it's
recommended to use it with 4KB chunks. (Zeev)
- Fixed chunked output buffering. (Zeev)
- Forced call_user_method() and call_user_method_array() to take the
object argument by reference. (Andrei)
- Fixed binding of ROWIDs in OCI8. (Thies)
- Added PEAR/Cache as a generic Caching System. (Sebastian, PEAR/Cache)
- Added IMAP quota support (imap_set_quota, imap_get_quota), enabled/added via
c-client2000. (kalowsky)
- Upgraded PCRE to version 3.4. (Andrei)
- Added array_search which works similar to in_array but returns
the key instead of a boolean. (jason@php.net)
- Fixed pgsql transaction support. (Stig, PEAR/DB)
- Added new object VARIANT() to encapsulate values for use with
the COM and DOTNET module. Therefore it is now possible to pass
values by reference, convert php values to extended variant types (currency,
date, idispatch, iunknown, ...) and define the codepage that should
be used for unicode - conversion.
- Improved overall speed of IRCG, added URL handling to message scanner.
(Sascha)
- Fixed some modules to allow using output-buffering. (Thies)
- Added the chroot() function. (Derick)
- PostgreSQL now does a rollback at the end of a request on every
persistent connection. This is done by doing an "empty" transaction
on the connection. This was advised by someone from the PostgreSQL
core-team. (Thies)
- Fixed PostgeSQL pg_connect() bug. We would sometimes close the default
link by accident. (Patch by: aja@nlgroup.ca)
- Improved OCI8 dead-session detection. (Patch by: George Schlossnagle)
- Fixed get_meta_tags() multiline bug . (Sean)
- Prefer random() over *rand48(). (JimJag)
- Sped up WDDX serialization 2x. (Andrei)
- Added a new parameter to mail() which appends aditional command line
parameters to the mail program. (Derick)
- Added Udm_Clear_Search_Limits mnoGoSearch extension function. (gluke)
- Fixed mnogosearch protos. Fixed mnogosearch functions return values.
A bug with capital letters break search has been fixed. (gluke)
- Static methods can now be called via call_user_method_* functions, e.g.
call_user_method('method', 'class'), and also array('class', 'method')
constructs (for array_walk(), for example). (Andrei, Zend Engine)
- microtime() under Windows now returns accurate values. (James)
- Added PREG_SPLIT_DELIM_CAPTURE flag to preg_split() that allows for Perl-like
functionality of capturing parenthesized delimiter expression. (Andrei)
- Fixed strip_tags() to not strip a lone > character. (Rasmus)
- When using the ob_gzhandler() PHP now automagically also sets the
Content-Lengh correctly which enables browsers to use the HTTP
Keep-Alive feature. (Thies)
- Improved handling of preg_replace() /F modifier so that it's possible to
specify array($obj, 'method') construct as a replacement function. (Andrei)
- Added mysql_get_client_info(), mysql_get_server_info(),
mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean)
- Major change of the php pdf api. It could break some functions though
backwards compatibility was tried to maintain. Adding some still
missing functions as well. (Uwe)
- Added mnoGoSearch extension - http://search.mnogo.ru. (Sergey K)
- Allow URL encoding in DB usernames and passwords. (Stig, PEAR)
- Added raiseError and setErrorHandling methods to PEAR class. (Stig, PEAR)
- Added support for converting images from JPG/PNG on the fly with the GD
extension, which is usefull for creating dynamic WAP-sites. (Derick)
- Updated ext/mysql/libmysql to version 3.23.32; bug fixes. (tim@mysql.com)
- Fixed possible crash in all (non-pcre) regex functions. (Thies)
- Improved str_replace() to accept an array for any parameter - similar
to preg_replace(). (Andrei)
- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is
used. (Andrei)
- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix
string keys that do not constitute valid variable names. (Andrei)
- BeOS patch from svanegmond@bang.dhs.org, modified somewhat by Rasmus.
- Fixed the Apache module to overwrite PATH_TRANSLATED with SCRIPT_FILENAME,
only if PATH_TRANSLATED is not previously set. (Zeev)
- Fixed crash bug in highlight_string(). (Rasmus)
- Added URL support for getimagesize() function. (Jani)
- Added xslt_set_scheme_handler() function. (carmelo@akooe.com)
- Added the pg_lolseek and pg_lotell functions. (Derick)
- Fixed wrong breaking with the wordwrap function. (Derick)
- Fixed 'O' and 'r' flags of date() to have correct sign for timezone
offset. (Andrei)
- Changed 'Z' flag to date() to always return timezone offset with
negative sign if it's west of UTC. (Andrei)
- Added the HTML_Processor class which provides common functions for
processing HTML. (Sterling)
- Added localeconv() and strcoll() functions for localization. (Sean)
- Added the xslt_set_base function. (Sterling)
- Added support for Zeus 3.3.8.
- Added odbc_error() and odbc_errormsg() functions. (Stig)
- New extension for vpopmail - http://www.inter7.com/vpopmail,
give it a try, but keep in mind that it is not ready for production
environments. (David Croft, Boian Bonev)
- Added sybase_get_last_message() to the Sybase CT module. (Jan Fedak)
- Made ldap_list(), ldap_read() and ldap_search() do parallel search when
first parameter is an array of link identifiers. (Stig Venaas)
- Made fopen() of HTTP URL follow redirects, $http_response_header will
contain all headers with empty string as delimiter. (Stig Venaas)
- Added Console_Getopt class for parsing command-line args. (Andrei, PEAR)
- Added an experimental version of the ZZipLib extension which provides the
ability to read zip files. (Sterling)
- Allow access to uploaded files in safe_mode. Beware that you can only
read the file. If you copy it to new location the copy will not have the
right UID and you script won't be able to access that copy. (Thies)
- Changed extract() to check that prefixed name is a valid one. (Andrei)
- Changed extract() to return the number of variables extracted. (Andrei)
- Added ldap_rename() function. (Stig Venaas)
- Made ldap_set_option() support controls. (Stig Venaas)
- Changed ldap_search() and added functions ldap_parse_result(),
ldap_first_reference(), ldap_next_reference() and ldap_parse_reference()
to cope with LDAPv3 stuff like referrals and references. (Stig Venaas)
- Fixed date('r') overflow.
- Made the php.ini path reported in phpinfo() always point to the absolute
path that was opened. (Zeev)
- Made the INI mechanism thread safe. (Zeev, Zend Engine)
- Changed setlocale() to use LC_* constants. (Jani)
- ctype functions now follow the extension naming conventions. (Hartmut)
- Added iconv() function (using libc or libiconv). (Stig)
- Added ODBC_TYPE constant. (Stig)
- Added the call_user_method_array function which allows you to call a method
with an arbitrary number of parameters. (Sterling)
- ext/odbc: IBM DB2 patch by Walter Franzini. (walter@sys-net.it)
- Added extension for the cracklib library. (Alexander Feldman)
More information on this release on our Releases page.
Version 4.0.4
- Allow assigning a newly created object by reference. This is needed only if
your constructor makes other data structures reference the $this object (for
example, $GLOBALS["foobar"] =& $this;)
The new syntax is $obj =& new MyClass(); (Andi, Zend Engine)
Allow for three expression types to be sent to functions which are requesting
the function argument to be passed by reference (only c. was previously
supported):
a. func(new myclass());
b. func(func2()); where func2() returns a reference, i.e. is defined as
function &func2(...)
{
...
}
c. func($var); where func() is defined as function func(&$var) {...}
You CAN'T count on any other expressions to be passable by reference.
(Andi, Zend Engine)
- Made ldap_get_entries() return an array even if there are no entries
in search result. (Jani)
- Fixed bad mod_perl interaction which caused segfaults when using LFS (Sascha)
- const CONSTNAME now gets recognized. Before the patch only @const CONSTNAME
description was recognized.
- Added the is_null() function that will return true if a variable is of
type null. (Sterling)
- Fixed a bug which made readdir() unusable in some systems. (Jani)
- Added the get_defined_functions() function which returns a list of all
currently defined functions. (Sterling)
- Added the get_defined_vars() function which returns an associative array
of all variables defined in the current scope and their subsequent values.
(Sterling)
- Added the call_user_func_array() function which gives you the ability to
call a user function by passing an array of parameters as the second
argument. (Sterling)
- Added the constant() function which returns the value of a constant given
the constant's name. (Sterling)
- Implemented support for Perl-style matching regexp delimiters in PCRE.
You can use <{[( and )]}> to delimit your expressions now. (Andrei)
- Introduced new 'F' modifier in PCRE that lets you specify a function
name in the replacement argument to preg_replace() that will be called
at run-time to provide the replacement string. It is passed an array of
matched pattern and subpatterns. (Andrei)
- Put an end to Bug (kalowsky & Eric Veldhuyzen)
- Fixed realpath() in Virtual Directory mode (Daniel)
- Integrated the Phil Nelson's bc math library routines into PHP, now that
the license allows it (Phil Nelson)
- Added the xslt_set_error_handler() function to the Sablotron extension.
(Sterling)
- Improved Sablotron's error handling system allowing you to catch all
errors before they are outputted to the screen. (Sterling)
- Added OpenSSL extension (Stig Venaas)
- Fixed/created support for Solid 3.0 databases (kalowsky)
- Fixed support for Solid 2.3 databases (kalowsky)
- quoted_printable_decode() function is made RFC-2045 compliant. (Kir)
- Modified preg_grep() to always return the results with keys from the original
array. (Andrei)
- Modified preg_replace() to accept Perl-style $n backreferences in addition
to \\n ones. (Andrei)
- Modified preg_replace() to ignore backreferences that refer to
non-existing subpatterns. (Andrei)
- Fixed column-title buffer-overflow in OCIFetchStatement(). (Thies)
- Added 'output_handler' INI directive (Zeev)
- Fixed some buglets in the output buffering mechanism (Zeev)
- Added transparent gzip compression support (Jade Nicoletti, Zeev)
- Major overhaul of domxml. Added basic XPath support as well (Uwe)
- Added 'r' flag to date() which generates an RFC822 formatted date, e.g.
"Thu, 9 Nov 2000 16:33:01 -0500" (Colin)
- In CGI mode, $HTTP_SERVER_VARS now includes all of the environment variables
as well (Zeev)
- Allow user to use mysql_use_result in mysql queries (Stas)
- Fixed a memory leak that would occur when restarting Apache often
(mookid@sigent.ru)
- Fixed a bug that prevented $argv and $argc from being defined in the command
line version of PHP (Stas)
- Fixed a bug that prevented a changed compile-time extension_dir from
affecting modules that were loaded via php.ini (Zeev)
- Fixed a bug in ftp_mkdir() when used on ftp server which doesn't return
the full path (Jani)
- Added ImageCreateFromString() which creates an image stream out of
e.g. a MySQL blob. (Mathieu)
- Fixed a crash bug in imagewbmp() (Jani)
- Changed the sablot configuration file so that if you use any version of
Sablotron below 0.44 you must use Sablotron's built-in Expat libraries.
(Sterling)
- Added basic authentication support to thttpd (Sascha)
- Added support for the Caudium webserver (http://caudium.net/). It's based
on the Roxen SAPI module. Many bugs have been identified and fixed. (David)
- Fixed mysql_close(), pg_close(), msql_close() and sybase_close() - they
weren't properly closing the SQL connections (Zeev)
- Fixed crypt() to supply random seed if none is given (Andi)
- Made print_r() support recursive data structures, e.g. $GLOBALS. (Zeev)
- Fixed a bug that caused PHP not to properly flush its output buffer, if more
than one output buffer was used. (Zeev)
- Fixed a bug that could draw the shutdown sequence of the PHP Apache module
into an endless loop, under certain circumstances. It could cause Apache
processes under Solaris to get stuck, especially when using output
buffering. (Zeev)
- Added support for serializing references (Stas)
- Fixed conflict with OpenLDAP and Oracle 8.1.x (Jani)
- parse_ini_file() supports a new optional 2nd argument that instructs it
to divide the directives to arrays according to the sections in which they
reside (Zeev)
- parse_ini_file() is now thread-safe, and supported under Windows (Zeev)
- Unified aborted-connection semantics of all SAPI modules (Sascha)
- URL-opened files now store the HTTP response header in $http_response_header
(Zeev)
- Fixed array_rand() to shuffle results when the number of requested
elements is the same as the number of elements in the array. (Andrei)
- Added replace parameter to header() (Sascha)
- Fixed handling of single quotes in transparent session-id mode (Sascha)
- Fixed "php://*" fopen handler (Sascha)
- Made rename work in threadsafe enviroments (Daniel)
- Made session_destroy() close files before unlinking (Daniel)
- Added array_sum() function. (Andrei)
- Fixed a bug in session.c. The php_session_save_current_state did not check
if mod_data is NULL and such situation is possible if the user calls
session_module_name with a parameter. (alex@zend.com)
- Added IIS Admin extension. (Frank)
- OCIBindByName() now does better parameter-checking. (Thies)
- Made read() binary-safe in sockets.c (Chris Vandomelen)
- Made array_intersect() and array_diff() not alter order (Stig Venaas)
- Made ldap_connect() accept URL in host parameter when using OpenLDAP
2.x. To use SSL, use ldaps://host/ as URL. (Stig Venaas)
- Made resource type names visible, e.g. var_dump() and
get_resource_type() display "file" for file resources. (Andrei)
- Added the curl_getinfo() function to find out information about a CURL
transfer. This function requires cURL 7.4.0 or above. (Sterling)
- Added the CURLOPT_KRB4, CURLOPT_INTERFACE, CURLOPT_QUOTE, CURLOPT_POSTQUOTE,
CURLOPT_QUOTE and CURLOPT_HTTPPROXYTUNNELL options. (Sterling)
- Renamed the shm_* functions to shmop_* (Derick)
- Updated ext/mysql/libmysql to version 3.23 (tim@mysql.com)
- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
- Fixed a crash in CGI mode, in case no file was provided
(Daniel Beulshausen& Zeev)
- Fixed possible crash bug in imap_fetchstructure() (Jani)
- Fixed possible crash bug in imap_open() (Jani & Mark Musone)
- Added url_rewriter.tags configuration directive (Sascha)
- Added CORBA client extension, ready for use (eriksson@php.net)
- Fixed memory leak in x-httpd-source mode (Jason Greene)
- Changed ext/gd not to be enabled by default (Jani)
- Make increment of empty string ("") behave like in PHP 3 and result in "1"
(Andi, Zend Engine)
- Added POST handler for Adobe FDF format (Hartmut)
- Added transparent read and write .gz-files on glibc based systems
using the 'zlib:' fopen wrapper (Hartmut)
- Fixed a problem in the configuration parser (two null bytes were added
to each ENCAPSULATED TC_STRING) (alex@zend.com)
- Added HMAC support in the mhash module (nmav@altera.gr)
- Added module for Ovrimos sql server (nmav@altera.gr)
More information on this release on our Releases page.
Version 4.0.3
- Fixed a possible crash in -a interactive mode (Zeev, Zend Engine)
- Added mysql_escape_string() (Peter A. Savitch and & Brian Wang)
- Fixed many possible crash bugs with improper use of the printf() family of
functions (Andi)
- Fixed a problem that allowed users to override admin_value's and admin_flag's
(Zeev)
- Fixed PostgreSQL module to work when the link handle is omitted (Zeev)
- Fixed returning of empty LOB fields in OCI8. (Thies)
- Added Calendar module to default Win32 build (Andi)
- Added FTP module to default Win32 build (Andi)
- Fixed crash in the POSIX getrlimit() function (alex@zend.com)
- Fixed dirname() under certain conditions (Andi)
- Added --with-imap-ssl to support SSL'ized imap library in RH7 and others
(Rasmus)
- Fixed possible crash bug in parse_url() (Andi)
- Added support for trans sid under Win32 (Daniel)
- IPv6 support in fopen (Stig Venaas)
- Added the shmop extension. It allows more general ways of shared memory
access. (thanks to Ilia Alshanestky <iliaa@home.com> and Slava Poliakov
<slavapl@mailandnews.com> (Derick)
- Added the ability for CURLOPT_POSTFIELDS to accept an associative array of
HTTP POST variables and values. (Sterling)
- Added the CURLOPT_HTTPHEADER option to curl_setopt(). (Sterling)
- Added the curl_error() and curl_errno() functions. (Sterling)
- Changed ext/db not to be enabled by default (Jani)
- Fixed building Apache SAPI module on SCO UnixWare (Sascha)
- Fixed writing empty session sets to shared memory (tcarroll@chc-chimes.com)
- Added support for BSD/OS make (Sascha)
- Added improved URL rewriter (Sascha)
- Fixed readdir_r() use on Solaris (Sascha)
- Improved HTTP headers for private-caching (jon@csh.rit.edu, Sascha)
- Added new function session_cache_limiter (jon@csh.rit.edu, Sascha)
- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
(Derick)
- PEAR: add last executed query as debug info in DB errors (Stig)
- PEAR: allow multiple modes in PEAR_Error (Stig)
- Made the Sybase CT module thread safe (Zeev)
- Added second argument to array_reverse() that indicatese whether
the original array keys should be preserved. (Andrei)
- Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
- PEAR: renamed DB_GETMODE_* to DB_FETCHMODE_*, added setFetchMode()
in DB_common to set the default mode, added some MySQL tests (Stig)
- Made eval() and several other runtime-evaluated code portions report the
nature and location of errors more accurately (Stas)
- Added an optional parameter to wordwrap that cuts a string if the length of a
word is longer than the maximum allowed. (Derick)
- Added functions pg_put_line and pg_end_copy (Dirk Elmendorf)
- Added second parameter for parse_str to save result (John Bafford)
- Fixed bug with curl places extra data in the output. (medvitz@medvitz.net)
- Added the pathinfo() function. (Sterling)
- Updated sybase_ct module and its sybase_query to use high performance API.
(Joey)
- Added a more configurable error reporting interface to DB. (Stig)
- Added is_uploaded_file() and move_uploaded_file() (Zeev)
- Added several directives to php.ini - post_max_size, file_uploads,
display_startup_errors - see php.ini-dist for further information (Zeev)
- Worked around a bug in the libc5 implementation of readdir() (Stas)
- Fixed some potential OpenBSD and NetBSD crash bugs when opening files. (Andi)
- Added EscapeShellArg() function (Rasmus)
- Added a php.ini option session.use_trans_sid to enable/disable trans-sid.
(Sterling)
- Added the Sablotron extension for XSL parsing. (Sterling)
- Fixed a bug in checkdate() which caused < 1 years to be valid (Jani)
- Added support for an optional output handler function for output
buffering. This enables transparent rendering of XML through XSL,
transparent compression, etc. (Zeev)
- Added support for user defined 'tick' callback functions. This helps
emulate background processing. (Andrei)
- Fixed problem with having $this as the XML parser object. (Andrei)
- Internal opened_path variable now uses the Zend memory manager so that full
paths of files won't leak on unclean shutdown (Andi)
- Removed support of print $obj automatically calling the __string_value()
method. Instead define yourself a method such as toString() and use
print $obj->toString() (Andi, Zend Engine)
More information on this release on our Releases page.
Version 4.0.2
- Added PHP API for Zend's ticks. (Stig)
- PHP 3 regression testing framework re-born (Stig)
- Added php_uname() function (Stig)
- Made a minor change to allow building with OpenLDAP 2.0 (Stig Venaas)
- Fixed a bug in preg_replace() that would truncate subject string if the
first argument was en empty array. (Andrei)
- Added ob_get_length function (Stig)
- Fixed a bug that did not respect limit parameter in preg_replace() when
using /e modifier. (Andrei)
- Added ability for each xml_set_*_handler() function to take the
array($obj, 'method') syntax for the handler argument as well
as the normal function name. (Andrei)
- Updated array_walk() to be able to accept array($obj, 'method')
syntax for the walk function. (Andrei)
- Fixed segfault with fgets(), fgetcsv(), fgetss(), and fread() when
called with negative length argument. (Torben)
- Fixed by-reference parameters passing for xml_ functions and for scanf
functions (Stas)
- Added experimental Oracle LDAP SDK support. 8.1.6 or later needed. Configure
with something like --with-ldap=/usr/local/oracle/product/8.1.6 (Stig Venaas)
- Fixed memory leaks in eval(); A script that used eval() extensively, could
end up consuming very large amounts of memory during execution (Zeev, Zend
Engine)
- Fixed memory_limit feature, which did not work properly in previous versions
(Zeev, Zend Engine)
- Fixed stdout support with the swf extension. (Sterling)
- Fixed byte order for ip2long and long2ip (Stas)
- Fixed dbase_add_record. (Sterling)
- Added support for libmcrypt 2.4.4 (Derick)
- Added strncasecmp function (Andi, Zend Engine)
- Fixed FTP module to accept multiline server replies (Jani)
- Fixed switch which only has a single default rule. (Andi, Zend Engine)
- Fixed problem with nested foreach()'s. (Andi, Zend Engine)
- The CCVS module is now stable and compiling. It compiles as a CGI and into
Apache cleanly without warnings. (Brendan W. McAdams)
- Fixed mSQL_close(). (nick@loman.net)
- Made return() in a require()'d file work like return() in an include()'d
file (Andi & Zeev, Zend Engine)
- Changed require_once() to work using the same table as include_once()
(Andi & Zeev, Zend Engine)
- Fixed PostgreSQL module to work when the link handle is omitted (Zeev)
- Fixed the Sybase modules to work properly with PHP 4.0 (Zeev)
- Fixed CLOB handling in OCI8 driver when using variable-width
character sets. (Thies)
- Added 4th optional parameter to sybase_[p]connect to specify the charset
for the connection (alf@alpha.ulatina.ac.cr)
- Fixed support for current thttpd releases. (Sascha)
- Added support for kerberized IMAP library using --with-kerberos
(Rasmus, Sascha)
- Virtualize realpath, chmod, chown and utime (Stas)
- Support content-encoding headers in file upload MIME parts
(Ragnar Kjørstad)
- Fixed warning when shutting down OCINLogon() connections. (Thies)
- Fixed \n in session variables bug on Win32 (Stas)
- OCIError() would sometimes not report failed connections. (Thies)
- Fixed HEAD request bug on an Apache ErrorDocument redirect and preserve
the status code across the redirect as well. (Rasmus)
- Added Olympus-specific tags to read_exif_data() (Rasmus)
- Fixed bug in imap_fetchheader() where using FT_PREFETCHTEXT didn't return
the body. Bug . (Jani)
- Fixed exec() returning "\0" when output is empty
- Added XML_Parser class in PEAR (Stig)
- Added "make test" target in pear/ and added some regression tests (Stig)
- Fixed bug in strip_tags function as per bug (Rasmus)
- Fixed reading of IPTC via GetImageInfo() for certain JPEG files. (Thies)
- Improved the output-buffering functions to be re-entrant (Zeev)
- Made ldap_add(), ldap_modify(), ldap_mod_add(), ldap_mod_replace()
binary-safe. Original patch: Terrence Miao <terrence_miao@email.com> (Jani)
- CGI aka. command line version has now an option '-l' for syntax check
without execution (Hartmut)
- Fixed bug in ldap_get_values_len() which makes it NULL-safe. (Jani)
- Bug-report and fix submitted by Michel Alexeline <alexel@dr15.cnrs.fr>
- Make ext_skel create a Makefile.in set up to handle shared extension
support automatically (Rasmus)
- Fixed php_realpath not to die on non-existing files (needed for touch())
(Stas and china@thewrittenword.com)
- Fixed get_browser() function (Stas)
- Fixed symbol clash which caused a DSO problem on OpenBSD (Rob Black and
anil@recoil.org)
- Added new function: ldap_compare(). (Jani)
- Fixed a bug in ldap_get_entries() and ldap_get_attributes(). (Jani)
- Ported DB to new error reporting scheme in PEAR. (Stig)
- Added sybase and ibase DB backends in PEAR. (Sterling)
- New PEAR package Payment_Verisign for use with the Payflow Pro
(pfpro) extension. (David Croft)
- Added CURL support. (Sterling)
- Catch users trying to set "compatibility" parameter in PDF, which is not
supported from user-land. (Joey)
- Fixed dbase_add_record. (Sterling)
- Added new function wordwrap() to wordwrap long strings from Chris
Russel <russel@yorku.ca> (David Croft)
- Added four additional arguments: attrsonly, sizelimit, timelimit, deref which
were missing in ldap_search(), ldap_list() and ldap_read() functions (Jani)
- Fixed a bug in ldap_search/list/read() which prevented returning the partial
results when 'Sizelimit exceeded' error occurred. (Jani Taskinen)
- Fixed preg_replace() to automatically escape quotes in matched
strings when using /e modifier. (Andrei)
- Itanium patch (Steve Robb)
- Set default include_path so PEAR files can be reached (Stig)
- Added "pear" executable, requires CGI version installed (Stig)
- Added extension ii for Ingres II native support. See README in ext/ingres_ii
directory. (David H)
- Added Win32 project for the Interbase module (Zeev)
- Added ability to perform calls to the parent class without explicitly
specifying its name, using parent::func_name(...) (Zeev, Zend Engine)
- You can now call Ora_Error() without prameters to get the reason
for a failed connection attempt. (Kirill Maximov)
- New extension "pfpro" for interface with Verisign Payflow Pro (David Croft)
- Added IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
imagetypes() function (Rasmus)
- Added ImageTypes() function which returns a bitfield with the supported
image formats. 1=gif, 2=jpeg, 4=png and 8=wbmp (Rasmus)
- Make it possible to specify an empty string as a thousands-seperator
in number_format() (Rasmus)
- Shared module support for LDAP extension (Troels Arvin)
- Fixed a bug with imap_mail where apache would segfault if the rpath
parameter was specified.
- Use dashes and short day name in cookies since some browsers seem picky
about this (Rasmus)
- Added pspell module. (Vlad)
- Added 3 additional arguments to the user-defined error handler - the file
name and line number in which the error occured, and the context (local
variables) of the code in which the error occured (Zeev, Zend Engine)
- Improved the error handling code to handle an error in a user-defined error
handling function (Zeev, Zend Engine)
- Fixed leak when using string offsets in the array() construct.
(Andi, Zend Engine)
- Fixed corruption problem when changing deeply nested values in objects.
(Andi & Zeev, Zend Engine)
- Improved array_multisort() to be able to specify sort type as well sort
order. Incidentally, it can be used to sort multi-dimensional arrays
as well. (Andrei)
- Fixed a possible data corruption in case of a huge amount of aborted requests
(Zeev)
- Apache module would sometimes close a wrong file-descriptor. (Sascha)
- Fixed use of alternative storage handlers in the session module. (Sascha)
- Updated str_pad() to be able to pad on left/right/both sides. (Andrei)
- Fixed crash in gzopen(). (Thies)
- Multiple character set support in gdttf.c (Rob Goodwin)
- When using HTTP auth from PHP, fill in the %u custom log field so the
authenticated used id will get logged in the Apache access_log (Rasmus)
- Support for pdflib 3.01. (Uwe)
- FDF Data is handled properly and can be accessed by reading
HTTP_RAW_POST_DATA. (Uwe)
- Added new 'O' format modifier that will output the GMT offset as "[+-]HHMM"
(eg: Pacific time is -0700). This is useful for things such as Date: mail
headers. (Mike W)
- Fixed crash on OCI?Logon() failure. (Thies)
- Make the special Header("http/...") response be case insensitive like 3.0
(Rasmus)
- Allow cybercash to compile as a DL module. (Sterling)
- Fixed the dbase_create function. (Sterling)
- Fixed a problem under some versions of Windows that could cause PHP to hang
on startup if errors occured, e.g. in the php.ini file (Zeev)
- Fixed opendir() again. It should actually work well continuously now (Zeev)
- Added three additional arguments to be sent to a user-defined error handler -
the filename and line number in which the error occured, and the context
(the local variables) of the error (Zeev, Zend Engine)
- Improved the error handling code to handle an error in a user-defined error
handling function (Zeev, Zend Engine)
- Added an optional parameter to preg_replace() that can be used to
specify how many replacements to make. (Andrei)
More information on this release on our Releases page.
Version 4.0.1
- Fixed a possible crash in the LDAP modify code. (Eric Kilfoil)
- Fixed a bug in opendir(), which prevented readdir() from working properly if
the $dir argument wasn't explicitly specified (Zeev)
- Made --enable-discard-path work again. (Andi)
- Removed 8KB limit on line length of the file() function (Zeev)
- Disabled dl() when PHP is being used as a module inside a multithreaded web
server - it didn't work before, and caused weird results (Zeev)
- Added the ImageColorClosestHWB(), ImageCopyMerge() and ImagePaletteCopy()
functions. (Sterling)
- Added ImageCreateFromWBMP() function. (Jouni)
- Fixed problems with POST requests under the NSAPI module. (Roberto Biancardi)
- Added spliti() function. (Thies)
- Fixed serializer behaviour with regards to serializing objects whose class
definition was not available in the deserializing context. (Sascha)
- Improve memory cache performance and increase cache size. (Stas, Zend Engine)
- Added a crc32 checksum function - used by the UdmSearch search engine
and currently run through a system call. This will speed up the UdmSearch
php frontend significantly. (Rasmus)
- Modified in_array() to not touch array pointer. (Andrei)
- Added restore_error_handler(). (Zeev, Zend engine)
- Fixed erroneous file names and line numbers in error situations under the
multithreaded version of PHP - most noticeably Win32 (Zeev, Zend Engine)
- Fixed problem with CGI crashing on certain servers especially Windows Apache
& O'Reilly website (Andi)
- Added Pi3Web SAPI module; run ./configure --with-pi3web to enable this.
(Holger; zimpel@t-online.de)
- Enhanced WDDX functions to call __sleep() and __wakeup() when working on
objects. (Andrei)
- Changed WDDX to serialize arrays as structs only if needed. (Thies)
- Implemented max_execution_time under Win32 (Zeev)
- Updated strtotime() to handle many more formats. It now has complete
feature parity with GNU date command. (Andrei)
- Added support for multiple arguments in unset(). (Faisal, Zend Engine)
- Functions that expect a resource but are passed something else now return
NULL instead of FALSE. (Thies, Zend Engine)
- Fixed gmmktime(), on certain systems it incorrectly adjusted for the timezone
offset and daylight savings time. (Andrei)
- Moved VC++ Win32 project and workspace files to the win32 directory
(Zeev)
- Fixed checkdate() to not return true on non-numeric arguments (Rasmus)
- Added --enable-c9x-inline option for compilers which support the new C9x
standard. If you encounter undefined references to i_zend_is_true and
other symbols, you should enable this. (Sascha, Zend Library)
- Fixed a problem in ldap_add() and ldap_modify(), sometimes added trailing
garbage to the values (Stig Venaas)
- Fixed a problem with dbmopen() not handing 'c' correctly with dbm/db/ndbm
databases. (JimJag)
- Fixed a crash in number_format() when used with locales. (Andrei)
- Fixed an initialization problem in the MS-SQL problem that could cause
a crash in mssql_query() (Zeev)
- Upgraded PCRE to version 3.2 and fixed a bug when anchored pattern
matched an empty string. (Andrei)
- Fixed a bug that prevented PHP from paying attention to the extension_dir
directive with extensions that were loaded from the php.ini file (Zeev)
- Changed set_error_handler() to return the name of the previously defined
error handler, if any (Zeev, Zend Engine)
- Declared <? php_track_vars ?> officially dead. It didn't work in PHP 4.0.0
either, but now it's gone for good (Zeev)
- Make convert_cyr_string() binary safe and stop it from corrupting other
PHP variables. (Andi)
- Added functions array_unique, array_intersect and array_diff (Stig Venaas)
- Fixed problem when using uninitialized values in comparisons with strings.
They behave as empty strings again just like in PHP 3.
(Andi & Zeev, Zend Engine)
- Fixed 'Z' flag in date() to adjust for daylight savings time. (Andrei)
- Fixed var_dump() not to modify the internal order of array elements (Zeev)
- Fixed stripcslashes() to remove to strip \ in unknown escapes instead of
leaving it. (Andrei)
- Changed WDDX to always serialize arrays as structs. (Andrei)
- Fixed include_once() to issue a warning in case the supplied file name is
not found (Zeev, Zend Engine)
- Fixed a bug in get_declared_classes() which could return the same class
multiple times under certain circumstances (Zeev, Zend Engine)
- Fixed a bug in rawurldecode() that would cause in rawurldecode() corrupting
its argument (Zeev)
- Parse errors (or other errors) in the php.ini files under Windows will no
longer mess up the HTTP headers in CGI mode and are now displayed in a
message box (Zeev)
- Fixed a crash in OCIFetchStatement() when trying to read after all data
has already been read. (Thies)
- fopen_wrappers() are now extensible via modules (Hartmut Holzgraefe)
- Make trim strip \0 to match php 3 (Rasmus)
- Added function imagecreatefromxbm(). (Jouni)
- Added function imagewbmp(). (Jouni, based on patch from Rune Nordbøe
Skillingstad)
- Added str_pad() for padding a string with an arbitrary string on left or
right. (Andrei)
- Made the short_tags, asp_tags and allow_call_time_pass_reference INI
directives work on a per-directory basis as well, e.g. from .htaccess
files. (Zeev)
- Added fflush() function. (Eric Huss)
- Fixed a problem with static variables, default function arguments and class
member variables, that contained array values. (Andi & Zeev, Zend Engine)
- Fixed virtual() when used with output buffering (Marc Pohl)
- Clean up constants in flock() function and add optional 3rd arg which
is set to true on EWOULDBLOCK (Rasmus)
- Added functions pg_loimport(), pg_loexport(). (Jouni)
- Added SWF support to getimagesize() function (Derick Rethans)
- Added support for both indexed and non-indexed arrays of file uploads
eg. name="file[]" type="file" (Rasmus)
- Added create_function(), which gives the ability to create functions
on-the-fly (Zeev, Zend Engine)
- Added support for comparisons of arrays (with arrays) and objects (with
objects); The equality operator (==) performs an unordered comparison,
whereas the identity operator (===) performs an ordered comparison (Zeev,
Zend Engine)
- Allow all functions that receive user-defined function callbacks to accept
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj, "ObjSort")) (Zeev, Zend Engine)
- Added set_error_handler() to allow custom error handling functions,
instead of the built-in error handling code (Zeev, Zend Engine)
- Renamed user_error() to trigger_error(); user_error() remains
defined for compatibility (Zeev, Zend Engine)
- Fixed the global/static statements to require a trailing terminating
semi-colon ';'. (Andi, Zend Engine)
- Cleaned up PCRE extension and made it binary-safe. (Andrei)
- Added third argument to in_array(). If it's true, then in_array()
will use strict comparison instead of the default one. (Andrei)
- Added pg_trace() and pg_untrace (Dominic J. Eidson & Zeev)
- ignore_user_abort=Off is now default. (Thies)
- Added array_merge_recursive() that will recursively merge values
under the same keys. (Andrei)
- fixed crash in OCIParse when parsing invalid SQL. (Thies)
- Fixed a bug in mysql_connect() that made it ignore the socket argument, in
case of non-persistent connects (Zeev)
- Added disable_functions php.ini directive, to allow administrators to disable
certain functions for security reasons (Zeev)
- Fixed sessions on Win32. When setting the directory depth parameter in
save_path you need to now delimit it with a ';' instead of ':', e.g
"5;/tmp" instead of "5:/tmp" (Andi)
- Changed the Apache handler's return status to 'Declined' when a requested
PHP file could not be found. Returning 'Not Found' caused problems
in the ErrorDocument handler stage in that $REDIRECT_REDIRECT_ERROR_NOTES
was not getting set at all. Moving to 'Declined' should fix this and I
can't see any other side effects. (Rasmus)
- Fixed scanning decimal numbers in internationalized environments. They should
always be in standard US format e.g. 23.3. (Andi, Zend Engine)
- Added second argument to preg_quote() which allows quoting of
one additional character, usually the regex delimiter. (Andrei)
- Uncommitted outstanding OCI8 transactions are now rolled back
before the connection is closed. (Thies)
- ignore_user_abort() & friends should now work in CGI mode as well.
(Patch by daniel.braun@ercom.fr)
- Added extension YAZ (dickmeiss).
- Fixed a crash bug triggered by certain cases of class redeclarations
(Stas & Zeev, Zend Engine)
- Fixed min()/max() segfault. (Andrei)
- New module for reading EXIF header data from JPEG files. Most digital
cameras will embed all sorts of information about a picture inside the
jpeg images it generates. (Rasmus)
- Fixed basename() bug where "file.ext///" would not return the same
as "/path/file.ext///" (Rasmus)
- Added the swf_ortho function. (Sterling)
- Moved to virtual current working directory support. This highly improves the
functionality and stability of multi-threaded versions of PHP (Andi, Sascha)
More information on this release on our Releases page.
Version 4.0.0 Release
- Allow the writing of flash files to stdout.
- Fixed a crash bug in .phps syntax-highlighted files (Andi)
- Improved round() to allow specification of rounding precision.
(Andrei, Todd Kirby <kirbyt@yahoo.com>)
- Added SORT_REGULAR, SORT_NUMERIC, SORT_STRING flags that can be used with
non-user sort functions for precise sorting behavior. (Andrei)
- Fixed two 64-bit issues (startup crash, gethostbyaddr). (Sascha)
- NULL values are now preserved in the return value of mysql_fetch_array()
and mysql_fetch_object(). (Andrei)
- Ported InterBase module finally from PHP 3 to PHP 4. Full support for
InterBase 6. (Jouni)
- Added swf_definepoly for drawing polygons to the SWF functions. (Sterling)
- Ported imagegammacorrect from PHP3 to PHP4. (Sterling)
- Added array_rand() function. (Andrei)
More information on this release on our Releases page.
Version 4.0, Release Candidate 2
- NSAPI WIN32 Module compilable, untested (Shane)
- Apache WIN32 Module compilable and lightly tested. (Shane)
- Enabled assert() by default in php.ini-dist. (Andrei)
- Put in safeguards in case dynamic code evaluation in assert() and
preg_replace() with /e modifier fails. (Andrei)
- Fixed infinite recursion when serializing $GLOBALS[] in WDDX. (Andrei)
- Made WDDX serialization properly escape <, >, and &. Also speeded up
the serialization in general. (Andrei)
- Moved install-local to install-sapi for clarity. (Joey)
- Improved extension build framework. Refer to README.SELF-CONTAINED-EXTENSIONS
for an introduction. (Sascha)
- ImagePolygon() is no longer limited by a maximum number of polygons.
(Marc Pohl)
- Added configure time checking for bcmath package. (Joey, Sascha)
- Added get_declared_classes(). (Andrei, Zend Engine)
- Added initial NSAPI module from Jayakumar Muthukumarasamy. (Rasmus)
- Added the SWF module which allows you to create Macromedia Flash files via
libswf. (Sterling)
- Improved UNIX build system to support more vendor make tools (Sascha)
- Updated natural comparison/sorting algorithm by Martin Pool
<mbp@humbug.org.au>. (Andrei)
- Fixed a crash in array_multisort() that happened when empty arrays
were passed to it. (Andrei)
- Added substr_count() from Peter Kovacs. (Andrei)
- Added an optional third argument to fseek to indicate where to seek from.
(Andrei)
- OCIBindByName() will no longer complain about bindlength beeing zero. (Thies)
- Converted the IMAP module to the high performance API (Zeev)
- The fgetcsv() function now handles embedded end-of-line in a quoted field
(Nick Talbott)
- Added user_error(), to allow explicitly generate error messages from scripts
(Zeev, Zend Engine)
- Fixed a problem in long2ip() that occasionally returned incorrect IP address.
(Evan, Andrei)
- Fixed many memory leaks in the IMAP module (Stas, Andi, Zeev)
- Fixed bug in number_format (Jon Forsberg)
- Make error_prepend_string and error_append_string work (Rasmus)
- array_walk() now automatically resets the array. (Andrei)
- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(),
natsort(), and natcasesort(). These are useful for comparing and sorting
strings that contain numbers. Based on the code from Martin Pool
<mbp@humbug.org.au>. See http://www.linuxcare.com.au/projects/natsort/
for more info on natural sorting. (Andrei)
- Zeus Webserver support (version 3.3.6+) for ISAPI (Ben Mansell)
- Fixed several problems with the PATH_TRANSLATED and PHP_SELF under Apache
(Paul Gregg & Zeev)
- Ported ldap_get_values_len() function from PHP3 to PHP4. (Sterling)
- Fixed a problem in include_once() with non constant arguments (Andi & Zeev,
Zend Engine)
- Added php.ini-optimized (Zeev)
- Ported ldap_errno(), ldap_err2str() and ldap_error() from PHP3 to PHP4.
(Sterling)
- WDDX now defaults to ISO-8859-1. (Thies)
- Fixed crash resulting from IMAP's error handling (Stas)
- Added $HTTP_POST_FILES[filename][tmp_name] - it was previously impossible to
retrieve the temporary name of an uploaded file using $HTTP_POST_FILES[]
(Zeev)
- Made the IMAP and LDAP modules compilable under Windows and thread-safe
(Zeev)
- Fixed a problem when dealing with large POST blocks in CGI mode (Zeev)
- Added session_get_cookie_params() function. (Sterling)
- Fixed return of stristr() to no longer always be lowercased. (Andrei)
- Changed the Windows version of PHP so that a php.ini file is no
longer mandatory (Zeev)
- session_start() is now more verbose if headers cannot be send. (Thies)
- Fixed a memory leak when using assign-op bitwise operators on strings (Zeev,
Zend Engine)
- Added support for reading properties that require arguments in the COM
module - writing to them will only be supported in PHP 4.1 (Zeev)
- Fixed a very old legacy memory leak in the COM module (Zeev)
- Fixed problems with object-overloading support - noteably, COM and Java
(Zeev, Zend Engine)
- Fixed an overrun in WDDX. (Thies)
- Fixed a crash bug with modules loaded through dl() not properly freeing their
resources (Zeev, Zend Engine)
- Added localtime() function. (Sterling)
- Added the 'I' format option for the date function, this option will return
true or false depending on whether or not daylight savings time is in effect.
(Sterling)
- Added gmstrftime() function. (Sterling)
- snmp_walkoid is now an alias for snmp_realwalk. (Sterling)
- Fixed a bug that could cause a crash when using 'global' inside large include
files (Stas, Zend Engine)
- Added --enable-libgcc switch to force linking against libgcc (Sascha)
- Fixed dynamic loading where extension_dir had no trailing slash (Sascha)
- Fixed dynamic loading on OpenBSD (Sascha)
- Improved POSIX threads check. ZTS works now on at least Linux, Solaris,
FreeBSD and OpenBSD (Sascha, TSRM)
- Added !== operator support. (Torben, Zend Engine)
Version 4.0, Release Candidate 1
- Added support for UCD-SNMP 4.1.x (Sascha)
- Fixed a data corruption bug in mysql_result(), if used in table.fieldname
mode (Zeev)
- Fixed a crash problem in func_num_args(), func_get_arg() and func_get_args()
when used as function arguments (Andi, Zend Engine)
- Added get_class_methods(string classname) function. (Andrei)
- Added 'I' switch to test whether or not DST is active. (Sterling)
- Fixed a data corruption bug in mysql_result(), if used in table.fieldname
mode (Zeev)
- Modified the registry INI entry reader (Win32) to work with drive letters.
For example, if you wish to wish to specify INI entries for C:\foo\bar, you
should create HKLM\PHP\Per Directory Values\C\foo\bar in the registry, and add
string values for each directive you want to override in this directory (Zeev)
- Fixed extract() for EXTR_PREFIX_SAME and EXTR_SKIP cases. (Andrei)
- stristr() no longer modifies it's arguments. (Thies)
- Don't default to iso-8859-1 since this confuses some browsers. (Rasmus)
- Make it possible to specify both a port and a socket
in mysql_[p]connect. (Rasmus)
- Added --disable-pic for disabling generating PIC for shared objects
on platforms which support it (i.e. Linux) (Sascha)
- serialize()/unserialize() now call __sleep() and __wakeup() when
working on objects. (Thies)
- renamed to_string() method to __string_value() for consistency.
(Thies, Zend Engine)
- Fixed a bug in the third argument to define()
- Added is_numeric() that returns true if the argument is a number
or a numeric string. (Andrei)
- domxml now supports libxml 2.0 Beta and drops support for older versions,
due to massive changes in libxml
- fixed possible crash in unserialize() if serialized data was
corrupted. (Thies)
- Changed $HTTP_STATE_VARS to $HTTP_SESSION_VARS. Use only the latter
version now! (Andrei)
- Added GD-JPEG Support (Rasmus)
- Prevent from loading dynamic PHP modules which were compiled with different
debug and thread safety modes than PHP, which resulted in a crash (Andi)
- connection_aborted() and friends work again (Thies)
- Upgraded to libtool 1.3.4 (Sascha)
- UNIX configure creates config.nice in the build directory now which allows
easy reuse of configuration options (Sascha)
- Added support for embedded MySQL client library. Unless you specify a path
to --with-mysql, the bundled MySQL client library will be used (Sascha)
- Added include_once() and require_once() functionality (Andi, Zend Engine)
- Removed support for pdflib < 3.0 (Uwe)
- Added auto-registration of everything in $HTTP_SESSION_VARS[] if
register_globals is turned off. (Andrei)
- Cleaned up extension namespace (Stig)
- OCINLogon() sessions are now closed again. (Thies)
- Added ip2long() and long2ip(),
courtesy of Faisal Nasim <faisal@nasim.org> (Andrei)
- Added ftruncate() and fstat(),
courtesy of Faisal Nasim <faisal@nasim.org> (Andrei)
- Added parse_ini_file(). Currently implemented in non thread safe version
of PHP, and currently lacks section support (Zeev)
- "none" is now equivalent with "" in Apache config directives (Stig)
- OCINLogon no longer crashes. (Thies)
- Fixed comparisons of (string) "nan" with (string) "nan". (Thies, Zend Engine)
- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]
and $foo are no longer references to each other, but separate variables
like they were prior to PHP 4.0 Beta 4 (Zeev)
- Fixed Sybase-DB compilation (Zeev)
- Fixed a (fairly common) situation where error_reporting values would not be
properly restored after a call to error_reporting(), in between requests
(Zeev)
- The various $HTTP_*_VARS[] are now protected, and cannot be manipulated by
user input (Zeev)
- Added ini_set() as an alias to ini_alter() (Zeev)
- The string None is now recognized as a keyword by the php.ini processor, and
can be used to denote an empty string (Zeev)
- Added get_class_vars(string class_name) and get_object_vars(object obj)
functions. (Andrei, Zend Engine)
- Added pdf_set_parameter(), pdf_skew(), pdf_show_boxed() (Uwe)
- Fixed comparison of (string) "inf" with (string) "inf", which was erroneously
returning false (Zeev)
- Implemented default_charset and default_mimetype config directives (Stig)
- Ported T1lib support from PHP3. (Jouni)
- Fixed -DEAPI inheritance from APXS. (Sascha)
- Fixed possible crash in module-shutdown. (Thies)
- Fixed safe_mode_protected_env_vars INI directive (Zeev)
- Fixed getrusage() (Sascha)
- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies)
Version 4.0, Beta 4 Patch Level 1
- Fixed crash when magic_quotes were switched off. (Thies)
- Support for pdflib 2.30 (Uwe)
Version 4.0, Beta 4
- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
through HTTP upload (Zeev)
- Made PHP work under Microsoft Personal Web Server, under both Windows NT
workstation and Windows 95 (Zeev)
- Made multipart/form-data content obey to the variables_order directive (Zeev)
- Updated the browscap module to work with PHP 4.0 (Zeev)
- Recover gracefully in ISAPI after the client prematurely presses STOP (Andi)
- Fixed bug in unset() on array offsets which are referenced more than once
(Andi, Zend Engine)
- Improved ISAPI module - it should no longer be necessary to set PHP as
an ISAPI filter, only as an ISAPI extension, unless you wish to perform
authentication using PHP. This didn't yet get enough testing, but it
should work (Zeev)
- Fixed RFC1867 file upload under Windows (Zeev)
- Initital support for pdflib 2.20 (Uwe)
- Added PostgreSQL support for DB (Rui Hirokawa <louis@cityfujisawa.ne.jp>)
- Re-introduced "none" for disabling auto_prepend/append_file (Stig)
- Added DB/storage (Stig, PEAR)
- Introduced DB warnings (Stig, PEAR)
- Fixed overrun in strip_tags (Stas)
- Fixed crash in strip_tags() and related functions. (Thies)
- Workaround for bogus POST-Data from IE/Mac. (Thies)
Patch by Alain Malek <alain@virtua.ch>
- Finished the server abstraction layer; All of the PHP code is now shared
across different servers (Apache, CGI, IIS, etc.), except for thin
interface modules (Zeev)
- Added NULL-support in gettype(). (Thies)
- base64_decode() will decode POST data correct. (Thies)
Patch submitted by: Turadg Aleahmad <turadg@wise.berkeley.edu>
- Much more work on domxml. Build xml tree, create xml doc works (Uwe)
- Made foreach() work on objects. (Thies, Zend Engine)
- Added domxml extension based on libxml, still little functionality (Uwe)
- Fixed memory corruption in fgetss(), strip_tags() and gzgetss() (Zeev)
- Updated calendar dynamic library to work with PHP 4. (Evan)
- Added strncmp() function, courtesy of Walter. (Andrei)
- Made the output of var_dump() more informative. (Thies)
- Fixed some OCIBindByName() problems. (Thies)
- Protect the ISAPI module against exceptions. Stack overflows in scripts are
now nicely detected and handled (Zeev)
- Fixed possible buffer-overflow in base64_decode. (Thies)
- Fixed possible buffer-overflow in setcookie(). (Thies)
- Fixed signal() bug that could cause the Apache master process to
die. (Thies)
- Added session_set_cookie_params() function. (Andrei)
- If header information is sent after output has already been sent, the warning
message will now state the filename and line number at which the first output
was made (Zeev)
- Added the XML Expat library to the standard PHP source distribution thanks
to its author James Clark (Andi & Zeev)
- Added XML support to the default Win32 build (Andi & Zeev)
- Added socket_get_status() function. Renamed set_socket_timeout() to
socket_set_timeout() and set_socket_blocking() to socket_set_blocking(). (Andrei)
- Added realpath() function. (Andrei)
- mktime interprets years in the range 0-70 now as 2000-2070. You can
continue to specify the complete year (i.e. 1920) (Sascha)
- Added the ability to control the environment variables the user is allowed
to change in Safe Mode, using INI directives (Zeev)
- Fixed a crash bug in strtr() working on large input strings (Zeev)
- Ora_GetColumn()/Ora_FetchInto() now return NULL for NULL-Columns. (Thies)
- OCI8 now supports binding of NULL-values. Module cleanups. (Thies)
- Added ability to set timeout on socket read operations through
set_socket_timeout() function. (Andrei)
- Added implicit_flush INI directive (Zeev)
- Added implicit_flush() to control whether flush() should be called
implicitly after any output (Zeev)
- Fixed a crash in pfsockopen() (Zeev)
- Fixed a possible crash in phpinfo() (Zeev)
- Added register_argc_argv INI directive, to allow to selectively disable
the declaration of the $argv and $argc variables for increased
performance (Zeev)
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
to $HTTP_GET_VARS[], contain environment and server variables. Setting
register_globals to Off will now also prevent registration of the
environment and server variables into the global scope (Zeev)
- Renamed gpc_globals INI directive to register_globals (Zeev)
- Introduced variables_order that deprecates gpc_order, and allows control
over the server and environment variables, in addition to GET/POST/Cookies
(Zeev)
- new function cpdf_set_document_limits() (Uwe)
- Applied safe-mode patch to popen(). (Patch by Kristian Köhntopp)
- str_repeat() now returns correct length. (Thies)
- Don't assume libz and libpng are installed for the GD checks (Rasmus)
- Implemented support for <boolean> and <null> types according
to WDDX version 1.0 (Andrei)
- Made var_dump()/serialize()/unserialize() NULL aware. (Thies)
- Added new NULL constant (Zeev, Zend Engine)
- Fixed -c support in the standalone CGI binary (Zeev)
- Increased PHP's performance by 5-15% using a new memory cache (Andi & Zeev,
Zend Engine)
- Improved the php.ini reader to support constants and bitwise operators (Zeev)
- Fixed strrev() to no longer modify arg1. (Thies)
- Fixed buffer overruns in iptcembed(). (Thies)
- Fixed a bug in ODBC error reporting (Zeev)
- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
of the PHP and Zend logos used in phpinfo() (Zeev)
- Added GNU Pth support (Sascha, TSRM library)
- Removed select(), fd_set() and fd_isset() - will be reimplemented soon! (Thies)
- Improved Win32 performance significantly by using different mutexes (Zeev,
TSRM library)
- Made quotemeta() and preg_quote() binary-safe. (Andrei)
- Added UDP support in fsockopen(). (Evan)
- Added --disable-pear option (Andrei)
- Renamed libzend repository to Zend (Zeev)
- Added support for thttpd (Sascha)
- Added session.cache_limiter and cache_expire options (Sascha)
- Restored the PHP_VERSION and PHP_OS constants (Zeev)
- Added get_loaded_extensions(), extension_loaded(), and
get_extension_funcs() functions. (Andrei)
- Added date/time stamping to PHP error log file. (Andrei, Joey)
- Added is_subclass_of() function (Andrei, Zend Engine)
- Implemented count_chars(). (Thies)
- Added class_exists() function (Andrei, Zend Engine)
- Made strspn() and strcspn() binary-safe. (Andrei)
- Added array_multisort() function. (Andrei)
- Made pageinfo.c thread-safe (Sascha)
- Made implode() binary-safe (Andrei)
- Made strstr(), stristr(), and ucwords() binary-safe() (Andrei)
- Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
- Fixed a crash in the Apache syntax highlighting mode (Zeev)
- Report all ODBC error's not just the one on the top of the stack (lurcher)
- OCI8 now returns NULL values in LONG columns correct. (Thies)
- Added support for a C-like assert() function. (Thies)
- Added CyberCash support. (Evan)
- Made explode() binary-safe. (Thies)
- Made strpos() binary-safe. (Thies)
- Added XML_Set_Object() function, now you can use the XML-Parser from
within an object. (Thies)
- Session vars are now decoded into $HTTP_STATE_VARS[] array and the
globals, depending on track_vars and gpc_globals settings (Andrei)
- Added get_used_files() function - returns a hash mapping the use()'d files
to their full path (Zeev)
- PHP 4 scripts will now obey the max_execution_time setting and actually
time out (Rasmus)
- Added configure command to phpinfo() output (Stig)
- Added optional socket path to the mysql_?connect() functions (Rasmus)
- Made mysql and gd work as shared extensions again (Stig)
- Make the global GET/POST/Cookie variables and their $HTTP_*_VARS[] counterparts
be references to each other (Zeev)
- Added support for the 'use' keyword - behaves like 'require', but will not
use the same file more than once (Andi & Zeev, Zend Engine)
- Added check to see if a persistent connection is still valid with the
ODBC interface before reusing (nick@easysoft.com)
- Added DBMaker support (patch by Pax Tsai <paxtsai@lion.syscom.com.tw>)
- Renamed "PECL" to "PEAR" (PHP Extension and Add-on Repository) (Stig)
- buildconf now uses build.mk (Stig)
- Disable symlinks to urls (Rasmus)
- Informix driver now reflects version of ESQL/C used (Danny)
- Modified session_register() to take variable number of arguments (Andrei)
- Fixed file descriptor leak in thread safe mode (Zeev, Zend Engine)
- Added select(), fd_set() and fd_isset() (Evan)
- cpdf support has been ported from php3, needs ClibPDF 2.x (Uwe)
- Fixed a leak when using automatic output buffering (Zeev)
- Introduced PECL - PHP Extension and Code Library
(prounounced "pickle") (Stig)
- Fixed inconsistencies in the implementation of here-docs (Andi & Zeev, Zend
library)
- Fixed a problem with constant class-member initializations (Andi & Zeev,
Zend Engine)
- Fixed float-compare in min(),max(),a[r]sort(),[r]sort() (Thies)
- Implemented get_html_translation_table() function (Thies)
- Implemented array_flip() function. Returns input-array with key, value
flipped (Thies)
- Added Berkeley DB3 support in DBA (Sascha)
- Implemented 2-Arg version of strtr($str,$translation_array). This can be used
to revert what htmlspecialchars() did (Thies)
- Fixed mem-overwrite in XML_Parse_Into_Struct (Thies)
- Added substr_replace() function (Andrei)
Version 4.0 Beta 3
- ucfirst()/ucwords() no longer modify arg1 (Thies)
- Fixed strtr() not to modify arg1 (Thies)
- Added Win32 build files for Informix driver and make it
compile with ZTS (danny)
- Added tmpfile() function (Stig)
- Upgraded regex library to alpha3.8 (Sascha)
- Fixed selecting nested-tables in OCI8. (Thies)
- RFC-854 fix for internal FTP-Code. Commands have to end in "\r\n" (Thies)
- Fixed OpenLink ODBC support (Stig)
- min(),max(),a[r]sort(),[r]sort(),k[r]sort() now work consistent with the
language-core. (Thies)
- tempnam() now uses mkstemp() if available (Stig)
- serialize() and var_dump() now honor the precision as set in php.ini
for doubles. (Thies)
- Improved the Win32 COM module to support [out] parameters (Boris Wedl)
- Fixed garbage returned at the end of certain Sybase-Columns (Thies)
Patch submitted by: neal@wanlink.com
- Added Microsoft SQL Server module for Win32 (Frank)
- Added support for forcing a variable number of internal function arguments
by reference. (Andi & Zeev, Zend Engine)
- Implemented getprotoby{name,number} (Evan)
- Added array_pad() function. (Andrei)
- Added new getservby{name,port} functions. (Evan)
- Added session.cookie_path and session.cookie_domain (Sascha)
- Continue processing PHP_INI_SYSTEM knownDirectives after extension=
(Sam Ruby)
- Enable IBM DB2 support - Tested against DB2 6.1 UDB on Linux (Rasmus)
- Added new str_repeat() function. (Andrei)
- Output-Buffering system is now Thread-Safe. (Thies)
- implemented OCI8 $lob->WriteToFile() function - very useful for streaming
large amounts of LOB-Data without to need of a huge buffer. (Thies)
- Added session.use_cookies option (Sascha)
- Added getcwd() function. (Thies)
- XML_Parse_Into_Struct no longer eats data. (Thies)
- Fixed parse_url('-') crash. (Thies)
- added === operator support. (Andi & Thies, Zend Engine)
- unserialize() now gives a notice when passed invalid data. (Thies)
- Fixed shuffle() so that it no longer breaks on Solaris. (Andrei)
- Added is_resource(), is_bool() functions. (Thies)
- Cleaned up File-Module (Thies)
- Upgraded math-funtions to use new Zend function API (Thies)
- Fixed zombie problem in shell_exec() and $a = `some_command`
constructs. (Thies)
- Thies introduced ZEND_FETCH_RESOURCE2 (Danny).
- Added Informix driver to list of maintained extensions. (Danny).
- Informix driver : Changed ifx.ec to use the new high-performance
ZEND API. (Danny)
- IXF_LIBDIR environment variable specifies alternate Informix library
path for configure (Danny).
- Fixed gmmktime() so that the following should always be true:
gmmktime([args]) == mktime([args]) + date('Z', mktime([args])) (Jouni)
- setlocale doesn't anymore screw up things if you forgot to change it back
to the original settings. (Jouni)
- Switched to new system where ChangeLog is automagically updated from commit
messages. NEWS file is now the place for public announcements. (Andrei)
- Fixed refcount problem in XML module. (Thies)
- Fixed crash in HTTP_RAW_POST_DATA handling (Thies)
- You can use resources as array-indices again (Thies, Zend Engine)
- Fixed pg_fetch_array() with three arguments (Sascha)
Patch submitted by: brian@soda.berkeley.edu
- Upgraded a lot internal functions to use new Zend function API (Thies)
- fdf support ported; not completely tested with latest version 4.0 for
glibc (Uwe)
- OCI8 connections are now kept open as long as they are referenced (Thies)
- Cleaned up Directory-Module (Thies)
- Small fix in Ora_Close (Thies)
- Ported range() and shuffle() from PHP 3 to PHP 4 (Andrei)
- Fixed header("HTTP/..."); behaviour (Sascha)
- Improved UNIX build system. Now utilizes libtool (Sascha)
- Upgrade some more internal functions to use new Zend function API. (Thies,
Zend Engine)
- Fixed backwards incompatibility with ereg() (Thies)
- Updated Zend garbage collection with a much more thorough method.
(Andi, Zend Engine)
- Added the ability to use variable references in the array() construct.
For example, array("foo" => &$foo). (Andi, Zend Engine)
- Added array_reverse() function (Andrei)
- Some more XML fixes/cleanups (Thies)
- Updated preg_replace() so that if any argument passed in is an array
it will make a copy of each entry before converting it to string so that
the original is intact. If the subject is an array then it will preserve
the keys in the output as well (Andrei)
- Updated OCI8 to use the new high-performance Zend function API. (Thies)
- Configure speedup (Stig)
- Fixed LOB/Persistent-Connection related OCI8-Crash (Thies)
- Generalized server-API build procedure on UNIX (Stig)
- Added '--disable-rpath' option (Sascha)
- Added AOLserver SAPI module (Sascha)
- Fixed XML Callbacks. (Thies)
- Updated ODBC to use the new high-performance Zend function API (kara)
- Updated zlib to use the new high-performance Zend function API. (Stefan)
- Updated preg_split() to allow returning only non-empty pieces (Andrei)
- Updated PCRE to use the new high-performance Zend function API (Andrei)
- Updated session, dba, mhash, mcrypt, sysvshm, sysvsem, gettext modules to use
the new high-performance Zend function API (Sascha)
- Extended var_dump to handle resource type somewhat (Andrei)
- Updated WDDX to use the new high-performance Zend function API (Andrei)
- Updated XML to use the new high-performance Zend function API. (Thies)
- Updated Oracle to use the new high-performance Zend function API. (Thies)
- Improved the performance of the MySQL module significantly by using the new
high-performance Zend function API. (Zeev)
- Added support for the Easysoft ODBC-ODCB Bridge (martin@easysoft.com)
- Fixed bug in odbc_setoption, getParameter call incorrect (martin@easysoft.com)
- Ora_Fetch_Into now resets the returned array in all cases (Thies)
- Fixed NULL-Column problem in Oracle-Driver (Thies)
- Added extra metadata functions to ODBC, SQLTables etc (nick@easysoft.com)
- Fixed SEGV in mcal make_event_object() and
typo in mcal_list_alarms() (Andrew Skalski)
- Fixed Ora_PLogon (Thies)
- Resourcified Oracle (Thies)
- Implemented object serialization/deserialization in WDDX (Andrei)
- Added krsort() function (Thies)
- Added func_num_args(), func_get_arg() and func_get_args() for standard
access to variable number of arguments functions (Zeev)
- Added FTP support (Andrew Skalski)
- Added optional allowable_tags arguments to strip_tags(), gzgetss() and
fgetss() to allow you to specify a string of tags that are not to be
stripped (Rasmus)
- Upgraded var_dump() to take multiple arguments (Andrei)
- Resourcified XML (Thies)
- Fixed a memory leak in the Apache per-directory directives handler (Zeev)
- Added array_count_values() function. (Thies)
- snmp, pgsql, mysql and gd modules can be built as dynamically loaded
modules (Greg)
- OCI8 fix for fetching empty LOBs (Thies)
- Added user-level callbacks for session module (Sascha)
- Added support for unknown POST content types (Zeev)
- Added "wddx" serialization handler for session module (Sascha)
(automatically enabled, if you compile with --with-wddx)
- Fixed unserializing objects (Thies)
- PHP 4.0 now serializes Objects as 'O' (not understood by PHP 3.0), but
unserializes PHP 3.0 serialized objects as expected. (Thies)
- Made serialize/unserialize work on classes. If the class is known at
unserialize() time, you'll get back a fully working object! (Thies)
- Reworked preg_* functions according to the new PCRE API, which also made
them behave much more like Perl ones (Andrei)
- Made it possible to specify external location of PCRE library (Andrei)
- Updated bundled PCRE library to version 2.08 (Andrei)
- count()/is_array/is_object... speedups. (Thies)
- OCI8 supports appending and positioning when saving LOBs (Thies)
- Added metaphone support (Thies)
- OCI8 doesn't use define callbacks any longer. (Thies)
- OCI8 Driver now supports LOBs like PHP 3.0. (Thies)
- var_dump now dumps the properties of an object (Thies)
- Rewrote the GET/POST/Cookie data reader to support multi-dimensional
arrays! (Zeev)
- Renamed allow_builtin_links to expose_php (defaults to On). This directive
tells PHP whether it may expose its existence to the outside world, e.g.
by adding itself to the Web server header (Zeev)
- Added support for transparent session id propagation (Sascha)
- Made WDDX serialize object properties properly (Andrei)
- Fixed WDDX mem leak when undefined variable is passed in
for serialization (Andrei)
- Added session_unset() function (Andrei)
- Fixed double session globals shutdown crash (Andrei)
- Fixed crash related to ignore_user_abort ini entry (Andrei)
- Added support for external entropy sources for session id creation
(on Unices /dev/random and /dev/urandom) (Sascha)
- Added gpc_globals variable directive to php.ini. By default it is On, but
if it is set to Off, GET, POST and Cookie variables will not be inserted
to the global scope. Mostly makes sense when coupled with track_vars (Zeev)
- Added versioning support for shared library (Sascha)
This allows concurrent use of PHP 3.0 and PHP 4.0 as Apache modules. See
the end of the INSTALL file for more information.
- Added second parameter to array_keys which specifies search value
for which the key should be returned (Andrei)
- Resourcified Informix driver (Danny)
- New resource handling for odbc, renamed to php_odbc.[ch]
- Make set_time_limit() work on Unix (Rasmus)
- Added connection handling support (Rasmus)
- Improved the Sybase-CT module to make use of resources (Zeev)
- Improved the mSQL module to make use of resources (Zeev)
- Changed mysql_query() and mysql_db_query() to return false in case of saving
the result set data fails (Zeev)
- Improved the resource mechanism - resources were not getting freed as soon
as they could (Zeev)
- Added shared memory module for session data storage (Sascha)
- Fixed session.auto_start (Sascha)
- Fixed several problems with output buffering and HEAD requests (Zeev)
- Fixed HTTP Status code issue with ISAPI module (Zeev)
- Fixed a problem that prevented $GLOBALS from working properly (Zeev, Zend
library)
- Ported newest GetImageSize (Thies)
- Added session compile support in Win32 (Andi)
- Added -d switch to the CGI binary that allows overriding php.ini values
from the command line (Zeev)
- Fixed a crash that would occur if wddx_deserialize did not receive
a valid packet (Andrei)
- Fixed a bugglet when redefining a class at run-time (Andi, Zend Engine)
- Fixed sem_get() on AIX (Sascha)
- Fixed fopen() to work with URL's in Win32 (Andi & Zeev)
- Fixed include_path for Win32 (Andi, Zend Engine)
- Fixed bug in ISAPI header sending function (Charles)
- Fixed memory leak when using undefined values (Andi & Zeev, Zend Engine)
- Added output_buffering directive to php.ini, to enable output buffering
for all PHP scripts - default is off (Zeev).
- Fixed some more class inheritance issues (Zeev, Zend Engine)
- Fixed Apache build wrt to shared modules on FreeBSD/Linux (Sascha)
- Added session.extern_referer_chk which checks whether session ids were
referred to by an external site and eliminates them (Sascha)
- Improved session id generation (Sascha)
- Improved speed of uniqid() by using the combined LCG and removing
the extra usleep() (Sascha)
- Introduced general combined linear congruential generator (Sascha)
- Made ldap_close back into an alias for ldap_unbind (Andrei)
- OciFetchInto now resets the returned array in all cases (Thies)
- Fixed mysql_errno() to work with recent versions of MySQL (Zeev)
- Fixed a problem with define() and boolean values (Zeev)
- Fixed inclusion of gd/freetype functions (Sascha)
- Fixed persistency of MHASH_* constants (Sascha)
- Oracle is now ZTS-Safe (Thies)
- Fixed flushing of cached information to disk in DBA's DB2 module (Sascha)
- OCI8 is now ZTS-Safe (Thies)
- Fixed is_writeable/is_writable problem; they are both defined now (Andrei)
- Imported PHP 3.0 diskfreespace() function (Thies)
- Fixed thread-safety issues in the MySQL module (Zeev)
- Fixed thread-safe support for dynamic modules (Zeev)
- Fixed Sybase CT build process (Zeev)
Version 4.0 Beta 2
- Fixed a problem when sending HTTP/1.x header lines using header() (Zeev)
- Win32 builds now include the ODBC module built-in (Zeev)
- Fixed SYSV-SHM interface (Thies).
- Updated hyperwave module, made it thread safe
- Updated pdflib module, version 0.6 of pdflib no longer supported
- Updated fdf module
- Built-in phpinfo() links are now turned off by default. They can be turned
on using the allow_builtin_links INI directive (Zeev)
- Changed phpinfo() to list modules that have no info function (Zeev)
- Modified array_walk() function so that the userland callback is passed
a key and possible user data in addition to the value (Andrei)
- Fixed ldap_search(), ldap_read() and ldap_list() (Zeev)
- Fixed Apache information in phpinfo() (sam@breakfree.com)
- Improved register_shutdown_function() - you may now supply arguments that
will be passed to the shutdown function (Zeev)
- Improved call_user_func() and call_user_method() - they now support passing
arguments by reference (Zeev)
- Fixed usort() and uksort() (Zeev)
- Fixed md5() in the Apache module (Thies)
- Introduced build process for dynamic modules (Stig)
- Improved ISAPI module to supprt large server variables (Zeev)
- Imported PHP 3.0 fixes for problem with PHP as a dynamic module and Redhat
libc2.1 in zlib module (Stefan)
- Fixed sybase_fetch_object() (Zeev)
- Made the IMAP module work with PHP 4.0 (Zeev)
- Fixed a problem with include()/require() of URLs (Sascha, Zeev)
- Fixed a bug in implode() that caused it to corrupt its arguments (Zeev)
- Added get_class($obj), get_parent_class($obj) and method_exists($obj,"name")
(Andi & Zeev)
- Fixed various inheritance problems (Andi & Zeev, Zend Engine)
- Children now inherit their parent's constructor, if they do not supply a
constructor of their own.
- Fixed runtime inheritance of classes (parent methods/properties were
overriding their children) (Zeev, Zend Engine)
- Fixed backwards incompatibility with the "new" operator (Andi, Zend Engine)
- Fixed bugs in uksort() and ksort() sort ordering (Andrei)
- Fixed a memory leak when using assignment-op operators with lvalue of type
string (Zeev, Zend Engine)
- Fixed a problem in inheritance from classes that are defined in include()d
files (Zeev, Zend Engine)
- Fixed a problem with the PHP error handler that could result in a crash
on certain operating systems (Zeev)
- Apache php_flag values only recognized 'On' (case sensitive) - changed
to case insensitive (Zeev)
- Fixed a memory leak with switch statement containing return statements
(Andi & Zeev, Zend Engine)
- Fixed a crash problem in switch statements that had a string offset
as a conditional (Andi & Zeev, Zend Engine)
- Imported PHP 3.0 fixes for rand() and mt_rand() (Rasmus)
- Added function entries for strip_tags() and similar_text() (Andrei)
- Fixed a bug in WDDX that would cause a crash if a number was passed in
instead of a variable name (Andrei)
- Ported strtotime() function from PHP 3.0 (Andrei)
- Merged in gdttf stuff from PHP 3.0 (Sascha)
- buildconf now checks your installation (Stig)
- XML module now built dynamically with --with-xml=shared (Stig)
- Added a check for freetype.h - fixed build on RedHat 6.0 (Zeev)
- Fixed array_walk() to work in PHP 4.0 (Andrei)
- Ported all remaining date() format options from PHP 3.0 (Andrei)
- $php_errormsg now works (Andrei)
- Added locale support for Perl Compatible Regexp functions (Andrei)
- Informix module ported (Danny)
- Remove --with-shared-apache (Sascha)
- Added patch for reverse lookup table in base64_decode (Sascha)
Submitted by bfranklin@dct.com
- Merged in PHP 3.0 version of str_replace (Sascha)
- Added DBA module (Sascha)
- Added session id detection within REQUEST_URI (Sascha)
- Merged in HP-UX/ANSI compatibility switch from PHP 3.0 (Sascha)
- Fixed rpath handling for utilitites built during Apache build (Sascha)
- Added missing E_ error level constants (Zeev, Zend Engine)
- Fixed a bug in sending multiple HTTP Cookies under Apache (Zeev)
- Fixed implicit connect on the MySQL, mSQL, PostgreSQL and Sybase
modules (Zeev)
- Gave PHP 4.0's SNMP extension all the functionality of PHP 3.0.12 (SteveL)
Version 4.0 Beta 1
- First public beta of PHP 4.0