Date: 09/22/98
- Next message: Dave Walton: "Re: [PHP-DEV] CVS update: php3"
- Previous message: Jean-Marc Libs: "Re: [PHP-DEV] Bug #765: new kusort() function (or similar)"
- Next in thread: Stefan Vogtner: "[PHP-DEV] Re: [PHP3] Announcement - PHP 3.0.4!"
- Reply: Stefan Vogtner: "[PHP-DEV] Re: [PHP3] Announcement - PHP 3.0.4!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
PHP Version 3.0.4 is available. See your closest PHP mirror site, as
always, or http://www.php.net
The most notable change in this release is the much improved Informix
code. The support for Informix Online 7.x and SE 7.x should both be ready
for production quality sites. Other interesting changes include a static
SNMP module which now compiles cleanly against the latest UCD-SNMP release
and a register_shutdown_function() function which lets you define a
function to be called at the end of a request no matter how that request
might have been terminated. There are also a number of improvements in
the imap module along with a fix to the denial of service file upload
attack that has been discussed a bit. Quite a few bug fixes and minor
tweaks along the way as well.
And yes, this release has been tested against the immiment release of
Apache-1.3.2.
The full list of changes from version 3.0.3 is here:
- Added uksort() - array key sort using a user defined comparison function
- Added 'j' support to date() - generates the day of the month, without
possible leading zeros.
- Added support for multiple crypt() encryptions if the system supports it
- Added optional support for ASP-style <% %> and <%= tags
- Fixed data loss problems with very large numeric array indices on 64-bit
platforms (e.g. DEC UNIX).
- 2 cursor_type parameters for ifx_query() and ifx_prepare changed
to 1 (bitmask). Added a few constants for use in Informix module.
- Added php3.ini option ifx.charasvarchar. If set, trailing blanks
are stripped from fixed-length char columns. (Makes life easier
for people using Informix SE.)
- Static SNMP module which compiles with ucd-snmp 3.5.2
- fixed imap_header & header_info from crashing when a header line
is > 1024 characters.
- Added patch for rfc822_parse_adr to return an array of objects instead
of a single object.
- Informix Online 7.x & SE 7.x support now fairly complete and stable
- Add dbase_get_record_with_names() function
- Added a special case for open_basedir. When open_basedir is set to "."
the directory in which the script is stored will be used as basedir.
- Include alloca.c in the distribution for platforms without alloca().
- Improved stripping of URL passwords from error messages - the length of
the username/password isn't obvious now, and all protocols are handled
properly (most importantly, http).
- Copying objects that had member functions with static variables produced
undetermined results. Fixed.
- Added function lstat() and cleaned up the status functions,
added tests for file status functions (this may break on some
plattforms)
- Fixed is_link() - it was returning always false.
- Fixed apache_note() - it was corrupting memory.
- New Function. void get_meta_tags(string filename); Parses filename
until closing head tag and turns all meta tags into variables prefixed
with 'meta_'.
The below meta tag would produce $meta_test="some string here"
<meta name="test" content="some string here">
- Generalized some internal functions in order to better support calling
user-level functions from C code. Fixes a few sporadic problems related
to constructors inside eval() and more.
- Fixed an endless loop in explode(), strstr() and strpos() in case of an
invalid empty delimiter.
- rand() now accepts two optional arguments, which denote the requested
range of the generated number. E.g., rand(3,7) would generate a random
number between 3 and 7.
- Added M_PI constant.
- Added deg2rad() and rad2deg() for converting radians<->degrees.
- ImageArc() misbehaved when given negative angles, fixed.
- Fixed a bug in ereg() that may have caused buglets under some
circumstances.
- Added imap_status
- Shutdown functions, registered via register_shutdown_function(), could
never generate output in the Apache module version. Fixed.
- Brought IMAP docs into sync with acutal imap code
- imap_fetchstructure now takes in optional flags
- Fix potential core dumps in imap_append and imap_fetchtext_full
- Fix problem in SetCookie() function related to long cookies
- Add uasort() function to go along with usort (like sort() and asort())
- Add port number to Host header as per section 14.23 of the HTTP 1.1 RFC
- Fix imap_reopen to only take 2 arguments with an optional 3rd flags arg
- Add optional 2nd argument to imap_close
- Add CL_EXPUNGE flag to imap_open() flags
- Fix 4th arg on imap_append(). It was getting converted to a long by
mistake.
- Fix shutdown warning in the LDAP module
- *COMPATIBILITY WARNING* imap_fetchstructure() "parametres" object and
property name changed to "parameters" to match the documentation and to
be consistent with the rest of the API.
- Delete uploaded temporary files automatically at the end of a request
- Add upload_max_filesize and correponsing php3_upload_max_filesize
directive to control the maximum size of an uploaded file. Setting this
to 0 would completely eliminate file uploads.
- Force $PHP_SELF to PATH_INFO value when running in
CGI FORCE_CGI_REDIRECT mode
- Add apache_lookup_uri() function which does an internal sub-request
lookup and returns an object containing the request_rec fields for the
URI. (Yes, you have to be a bit of a gearhead to figure this one out)
- Fix a few signed char problems causing functions like ucfirst() not to
work correctly with non-English charsets
- md5() function not binary safe - fixed
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Dave Walton: "Re: [PHP-DEV] CVS update: php3"
- Previous message: Jean-Marc Libs: "Re: [PHP-DEV] Bug #765: new kusort() function (or similar)"
- Next in thread: Stefan Vogtner: "[PHP-DEV] Re: [PHP3] Announcement - PHP 3.0.4!"
- Reply: Stefan Vogtner: "[PHP-DEV] Re: [PHP3] Announcement - PHP 3.0.4!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

