php-src/NEWS

255 lines
14 KiB
Plaintext
Raw Normal View History

PHP 4.0 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ?? 1999, Version 4.0 Beta 3
1999-10-09 13:41:39 +08:00
- 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)
1999-10-08 05:41:37 +08:00
- 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)
1999-10-06 23:09:44 +08:00
- You can use resources as array-indices again (Thies, Zend library)
- 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)
1999-10-06 13:29:18 +08:00
- 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)
1999-10-05 20:11:26 +08:00
- Small fix in Ora_Close (Thies)
1999-10-05 05:10:26 +08:00
- Ported range() and shuffle() from PHP3 to PHP4 (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 library)
- Fixed backwards incompatibility with ereg() (Thies)
1999-10-04 03:05:25 +08:00
- Updated Zend garbage collection with a much more thorough method.
(Andi, Zend library)
1999-10-02 03:53:27 +08:00
- Added the ability to use variable references in the array() construct.
For example, array("foo" => &$foo). (Andi, Zend library)
1999-10-02 01:36:54 +08:00
- Added array_reverse() function (Andrei)
1999-10-01 21:44:07 +08:00
- 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)
1999-09-29 23:17:29 +08:00
- Configure speedup (Stig)
1999-09-29 22:20:27 +08:00
- Fixed LOB/Persistent-Connection related OCI8-Crash (Thies)
Generalized server-API build process on UNIX. Each SAPI implementation now has its own directory under sapi/, just like extensions have theirs under ext/. To make the final targets appear in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc from the selected sapi backend. This is a plan Makefile stub without any autoconf substitutions. Each SAPI backend also has its own config.m4 like extensions (read at the end of diversion 2) and config.h.stub files. Each SAPI backend has to contain: config.m4: just like for extensions, this file contains autoconf/automake directives that end up in the configure script. The only difference is that the sapi config.m4 files are read in diversion (output block) 2 instead of 3. The sapi config.m4 files should set two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET (the name of the resulting library or program, previously BINNAME). If they are not specified, they will default to "cgi" and "php", respectively. Makefile.inc: has to exist, has to define "INSTALL_IT" to the command used to install the final target (or ":" for no operation). It also has to define a plain Makefile rule (without autoconf substitutions) to build $(SAPI_TARGET) Makefile.am: just what you think. Make sure your target is called "libphpsapi_NNN.a", where NNN is the value of PHP_SAPI. Some testing and fixing probably remains. To make everything hang together, I've done some ugly tricks that I can imagine causing some problems. I've built and run the CGI version and built the Apache DSO.
1999-09-28 00:34:28 +08:00
- Generalized server-API build procedure on UNIX (Stig)
1999-09-26 17:05:56 +08:00
- Added '--disable-rpath' option (Sascha)
- Added AOLserver SAPI module (Sascha)
- Fixed XML Callbacks. (Thies)
1999-09-25 19:36:34 +08:00
- Updated ODBC to use the new high-performance Zend function API (kara)
1999-09-25 19:23:02 +08:00
- 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)
1999-09-25 02:02:58 +08:00
- Updated XML to use the new high-performance Zend function API. (Thies)
1999-09-24 23:10:13 +08:00
- Updated Oracle to use the new high-performance Zend function API. (Thies)
- Improved the performance of the MySQL module significantly by using the new
1999-09-25 02:07:26 +08:00
high-performance Zend function API. (Zeev)
- Add support for the Easysoft ODBC-ODCB Bridge (martin@easysoft.com)
- Fix bug in odbc_setoption, getParameter call incorrect (martin@easysoft.com)
- Ora_Fetch_Into now resets the returned array in all cases (Thies)
1999-09-23 17:15:38 +08:00
- Fixed NULL-Column problem in Oracle-Driver (Thies)
1999-09-23 05:15:35 +08:00
- Added extra metadata functions to ODBC, SQLTables etc (nick@easysoft.com)
1999-09-23 22:34:00 +08:00
- Fixed SEGV in mcal make_event_object() and
typo in mcal_list_alarms() (Andrew Skalski)
- Fixed Ora_PLogon (Thies)
1999-09-22 17:52:19 +08:00
- Resourcified Oracle (Thies)
- Implemented object serialization/deserialization in WDDX (Andrei)
1999-09-21 22:36:41 +08:00
- Added krsort() function (Thies)
1999-09-21 15:32:50 +08:00
- Added func_num_args(), func_get_arg() and func_get_args() for standard
access to variable number of arguments functions (Zeev)
1999-09-21 02:12:55 +08:00
- 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)
1999-09-20 20:51:20 +08:00
- Resourcified XML (Thies)
- Fixed a memory leak in the Apache per-directory directives handler (Zeev)
1999-09-20 18:09:57 +08:00
- 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)
1999-09-17 13:40:59 +08:00
- Added user-level callbacks for session module (Sascha)
- Added support for unknown POST content types (Zeev)
1999-09-16 21:00:06 +08:00
- Added "wddx" serialization handler for session module (Sascha)
(automatically enabled, if you compile with --with-wddx)
1999-09-20 19:56:45 +08:00
- 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)
1999-09-14 22:18:57 +08:00
- count()/is_array/is_object... speedups. (Thies)
- OCI8 supports appending and positioning when saving LOBs (Thies)
1999-09-13 23:48:32 +08:00
- Added metaphone support (Thies)
- OCI8 doesn't use define callbacks any longer. (Thies)
1999-09-20 19:56:45 +08:00
- 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)
1999-09-12 11:08:29 +08:00
- 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)
1999-09-12 08:44:08 +08:00
- 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)
1999-09-20 19:56:45 +08:00
This allows concurrent use of PHP 3.0 and PHP 4.0 as Apache modules. See
1999-09-12 08:44:08 +08:00
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)
1999-09-07 03:24:47 +08:00
- Resourcified Informix driver (Danny)
1999-09-05 21:06:24 +08:00
- New resource handling for odbc, renamed to php_odbc.[ch]
- Make set_time_limit() work on Unix (Rasmus)
1999-09-12 11:08:29 +08:00
- 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)
1999-09-04 03:13:37 +08:00
- 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)
1999-08-29 07:06:07 +08:00
- 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)
1999-08-26 14:49:42 +08:00
- Fixed a bugglet when redefining a class at run-time (Andi, Zend library)
- Fixed sem_get() on AIX (Sascha)
- Fixed fopen() to work with URL's in Win32 (Andi & Zeev)
- Fixed include_path for Win32 (Andi, Zend library)
- Fixed bug in ISAPI header sending function (Charles)
- Fixed memory leak when using undefined values (Andi & Zeev, Zend library)
1999-08-25 07:12:50 +08:00
- Added output_buffering directive to php.ini, to enable output buffering
1999-08-29 07:06:07 +08:00
for all PHP scripts - default is off (Zeev).
- Fixed some more class inheritance issues (Zeev, Zend library)
1999-08-23 02:48:57 +08:00
- 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)
1999-08-22 01:34:55 +08:00
- 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)
1999-08-18 20:51:51 +08:00
- OciFetchInto now resets the returned array in all cases (Thies)
1999-08-18 06:06:55 +08:00
- Fixed mysql_errno() to work with recent versions of MySQL (Zeev)
1999-08-18 06:01:10 +08:00
- Fixed a problem with define() and boolean values (Zeev)
1999-08-18 02:08:37 +08:00
- Fixed inclusion of gd/freetype functions (Sascha)
1999-08-18 01:31:27 +08:00
- Fixed persistency of MHASH_* constants (Sascha)
1999-09-19 19:07:49 +08:00
- Oracle is now ZTS-Safe (Thies)
- Fixed flushing of cached information to disk in DBA's DB2 module (Sascha)
1999-08-25 07:12:50 +08:00
- OCI8 is now ZTS-Safe (Thies)
- Fixed is_writeable/is_writable problem; they are both defined now (Andrei)
1999-08-17 20:32:23 +08:00
- 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)
1999-08-10 02:33:22 +08:00
August 9 1999, Version 4.0 Beta 2
1999-08-10 02:29:40 +08:00
- 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)
1999-08-08 00:44:32 +08:00
- Modified array_walk() function so that the userland callback is passed
a key and possible user data in addition to the value (Andrei)
1999-08-08 00:32:50 +08:00
- Fixed ldap_search(), ldap_read() and ldap_list() (Zeev)
1999-08-08 00:02:48 +08:00
- 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)
1999-08-06 21:41:27 +08:00
- Fixed md5() in the Apache module (Thies)
1999-08-05 06:34:39 +08:00
- Introduced build process for dynamic modules (Stig)
- Improved ISAPI module to supprt large server variables (Zeev)
1999-08-06 21:41:27 +08:00
- Imported PHP 3.0 fixes for problem with PHP as a dynamic module and Redhat
libc2.1 in zlib module (Stefan)
1999-08-01 08:33:03 +08:00
- Fixed sybase_fetch_object() (Zeev)
1999-08-01 08:25:58 +08:00
- Made the IMAP module work with PHP 4.0 (Zeev)
- Fixed a problem with include()/require() of URLs (Sascha, Zeev)
1999-07-31 06:17:51 +08:00
- 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)
1999-08-06 21:41:27 +08:00
- Fixed various inheritance problems (Andi & Zeev, Zend library)
1999-07-28 04:33:42 +08:00
- Children now inherit their parent's constructor, if they do not supply a
constructor of their own.
1999-08-25 07:12:50 +08:00
- Fixed runtime inheritance of classes (parent methods/properties were
1999-08-06 21:41:27 +08:00
overriding their children) (Zeev, Zend library)
- Fixed backwards incompatibility with the "new" operator (Andi, Zend library)
- Fixed bugs in uksort() and ksort() sort ordering (Andrei)
1999-07-27 05:55:51 +08:00
- Fixed a memory leak when using assignment-op operators with lvalue of type
1999-08-06 21:41:27 +08:00
string (Zeev, Zend library)
1999-08-25 07:12:50 +08:00
- Fixed a problem in inheritance from classes that are defined in include()d
1999-08-06 21:41:27 +08:00
files (Zeev, Zend library)
1999-07-25 04:36:31 +08:00
- Fixed a problem with the PHP error handler that could result in a crash
on certain operating systems (Zeev)
1999-07-24 22:40:08 +08:00
- Apache php_flag values only recognized 'On' (case sensitive) - changed
to case insensitive (Zeev)
1999-07-24 22:36:48 +08:00
- Fixed a memory leak with switch statement containing return statements
1999-08-06 21:41:27 +08:00
(Andi & Zeev, Zend library)
1999-07-24 22:36:48 +08:00
- Fixed a crash problem in switch statements that had a string offset
1999-08-06 21:41:27 +08:00
as a conditional (Andi & Zeev, Zend library)
- Imported PHP 3.0 fixes for rand() and mt_rand() (Rasmus)
- Added function entries for strip_tags() and similar_text() (Andrei)
1999-07-24 05:24:30 +08:00
- 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)
1999-09-20 19:56:45 +08:00
- Merged in gdttf stuff from PHP 3.0 (Sascha)
1999-07-23 23:22:36 +08:00
- buildconf now checks your installation (Stig)
- XML module now built dynamically with --with-xml=shared (Stig)
1999-07-23 23:18:37 +08:00
- 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)
1999-07-23 20:26:26 +08:00
- Informix module ported (Danny)
1999-07-23 08:04:24 +08:00
- Removed --with-shared-apache (Sascha)
- Added patch for reverse lookup table in base64_decode (Sascha)
Submitted by bfranklin@dct.com
1999-09-20 19:56:45 +08:00
- Merged in PHP 3.0 version of str_replace (Sascha)
1999-07-23 08:04:24 +08:00
- Added DBA module (Sascha)
- Added session id detection within REQUEST_URI (Sascha)
1999-09-20 19:56:45 +08:00
- Merged in HP-UX/ANSI compatibility switch from PHP 3.0 (Sascha)
1999-07-23 08:04:24 +08:00
- Fixed rpath handling for utilitites built during Apache build (Sascha)
1999-08-06 21:41:27 +08:00
- Added missing E_ error level constants (Zeev, Zend library)
- Fixed a bug in sending multiple HTTP Cookies under Apache (Zeev)
- Fixed implicit connect on the MySQL, mSQL, PostgreSQL and Sybase
modules (Zeev)
1999-08-06 21:41:27 +08:00
- Gave PHP 4.0's SNMP extension all the functionality of PHP 3.0.12 (SteveL)
July 19 1999, Version 4.0 Beta 1
1999-07-23 08:04:24 +08:00
- First public beta of PHP 4.0