Skip to content

Commit 98a9106

Browse files
author
foobar
committed
- Cleaned this abit (no such long stuff should be here if it can be found
in Manual...and if it's not in manual yet, ADD IT! - Also moved some of the major changes in the beginning where people might even notice them. We should re-arrange this better btw.
1 parent ac80c9d commit 98a9106

File tree

1 file changed

+22
-49
lines changed

1 file changed

+22
-49
lines changed

NEWS

Lines changed: 22 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,26 @@
11
PHP 4 NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2002, Version 4.2.0
4+
- Added CLI (command line intrerface) sapi based on a cut-down version
5+
of the CGI sapi which is more suited for writing shell scripts. Some of
6+
the differences are: it prints no HTTP headers, displays plain text
7+
error messages, does not change working directory, etc. "make install"
8+
will install CLI SAPI version of php in {PREFIX}/bin/php while
9+
CGI is renamed and installed as {PREFIX}/bin/php-cgi. (Edin)
410
- Clean up posix extension (no more unwanted warning messages, introduce
511
posix_errno() and posix_strerror() for fetching error messages); changed the
612
way posix_getgrnam() and posix_getgrgid() return their values (breaks BC but
713
makes more sense); do not include functions in symbol table which aren't
814
supported on host system. (Markus)
9-
- TIFF support for GetImageSize (Marcus)
15+
- Fixed HTTP file upload support to handle big files better. (Jani)
16+
- Added TIFF support for getimagesize(). (Marcus)
17+
- Added TIFF support for read_exif_data(). (Marcus)
1018
- Changed the Velocis extension namespace to Birdstep to reflect new product
1119
name. Added aliases for BC. (James)
12-
- Added test.php/txt to have a possibility to check ext/exif
13-
(Marcus)
14-
- Added TIFF support
15-
Changed parameters after checking bugdatabase and discussion with Rasmus
16-
1st=Filename, 2nd=NeededSections
17-
If the 2nd parameter is not present or 0 or '' the function will return
18-
a result array even if no data was read from file.
19-
If the 2nd parameter is a string then that string describes which
20-
sections have to be present in the file to generate a result array.
21-
If none of the needed section is found the result will be false.
22-
Section strings are "ANY_TAG","IFD0","COMMENT","EXIF","GPS","INTEROP"
23-
"FPIX","APP12". Each string has to be separated by a colon. So
24-
"COMMENT,EXIF" returns an array if either a comment or an Exif
25-
section is present. "IFD0" is standard datastructure in a TIFF/JPEG
26-
file that contains image information. "EXIF" is the Exif structure
27-
of TIFF/JPEG (IFD0 subdirectory). "GPS", "INTEROP", "FPIX", "APP12"
28-
are additional IFD0 subdirectories. The APP12 support is an
29-
experimental Olympus support.
30-
(Marcus)
3120
- Added safe_mode checks for opendir(). (jflemer)
32-
- Make the 2nd parameter to pgsql_fetch_* support NULL in case 3
33-
parameters are supplied, but you do not want to provide a row number
34-
yourself. (Derick)
35-
- Improved iconv with libc's iconv. (Yasuo)
21+
- Make the 2nd parameter to pgsql_fetch_* support NULL in case 3 parameters
22+
are supplied, but you do not want to provide a row number yourself. (Derick)
23+
- Improved iconv() when using libc's iconv. (Yasuo)
3624
- Added PHP_SAPI constant which contains the name of running SAPI. (Edin)
3725
- Added ob_get_status() to get array of buffers and it's status. (Yasuo)
3826
- Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
@@ -48,34 +36,26 @@ PHP 4 NEWS
4836
internal information such as refcounts and true type names. (Jason)
4937
- Added Andrei's tokenizer extension. (Stig)
5038
- Removed ext/satellite. It is now part of PEAR. (eriksson)
51-
- Changed php.ini directive 'safe_mode_include_dir' to accept a
52-
(semi)colon separated path (like 'include_path') rather than
53-
a single directory. (jflemer)
39+
- Changed php.ini directive 'safe_mode_include_dir' to accept a (semi)colon
40+
separated path (like 'include_path') rather than a single directory.
41+
(jflemer)
5442
- Added is_a() function that can be used to test whether object is of a certain
5543
class or is derived from it. (Andrei, Zend Engine)
56-
- Added optional parameter to highlight_string and highlight_file which
44+
- Added optional parameter to highlight_string() and highlight_file() which
5745
makes these functions return a highlighted string instead of dumping
5846
to standard output. (Derick)
59-
- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
60-
EXTR_IF_EXISTS only extracts a variable if it already exists
61-
EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
62-
then it prepends the prefix to it. ie. if $PATH exists then
63-
extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
64-
This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
65-
and you only get the global request variables you have defined imported
66-
into your symbol table. (Rasmus)
47+
- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract(). (Rasmus)
6748
- Fixed pg_pconnect(). It catches broken connection and reconnects to
6849
PostgreSQL server always. When PostgreSQL is rebooted, web server reboot is
6950
not needed to avoid errors. (Yasuo)
7051
- Fix --enable-safe-mode. This configure option was not working. (Yasuo)
71-
- Added function domxml_dump_node($doc,$node). Dumps a node plus all
72-
children into a string. (chregu)
52+
- Added function domxml_dump_node($doc,$node). Dumps a node plus all children
53+
into a string. (chregu)
7354
- Added function domxml_node_get_content(). (chregu)
7455
- Added function domxml_dump_file($filename,[$compression]). Dumps XML to
7556
a file and uses compression, if specified. (chregu)
76-
- Added exslt integration (see http://exslt.org for details). To be
77-
configured with --with-dom-exslt[=DIR] (and --with-dom-xslt). (chregu,
78-
jaroslaw)
57+
- Added exslt integration (see http://exslt.org for details). To be configured
58+
with --with-dom-exslt[=DIR] (and --with-dom-xslt). (chregu,jaroslaw)
7959
- Don't touch any globals in session_unset() if register_globals is set
8060
to off. (Thies)
8161
- Added 3 new optional parameters to OCIFetchStatement(). They control
@@ -86,7 +66,7 @@ PHP 4 NEWS
8666
- Fixed a bug in preg_match()/preg_match_all() when matching strings containing
8767
null bytes. (Andrei)
8868
- Added xpath_register_ns() function. This makes it possible to issue XPath
89-
queries with namespaces like for example: "//namespace:sampletag" .
69+
queries with namespaces like for example: "//namespace:sampletag".
9070
(Chris Jarecki)
9171
- Added multi-byte enabled regular expression functions. (Rui)
9272
- Added second parameter to count() that can be used to specify either normal
@@ -95,12 +75,6 @@ PHP 4 NEWS
9575
- Added async query functions to PostgreSQL module. (Yasuo)
9676
- Added pg_copy_to()/pg_copy_from() for PostgreSQL module. (Youichi, Yasuo)
9777
- Added IPv6 support in FTP extension. (Stig Venaas)
98-
- Added CLI (command line intrerface) sapi based on a cut-down version
99-
of the CGI sapi which is more suited for writing shell scripts. Some of
100-
the differences are: it prints no HTTP headers, displays plain text
101-
error messages, does not change working directory, etc. "make install"
102-
will install CLI SAPI version of php in {PREFIX}/bin/php while
103-
CGI is renamed and installed as {PREFIX}/bin/php-cgi. (Edin)
10478
- Improved the speed of wordwrap() significantly. (Jim)
10579
- Fixed pow()'s incorrect behaviour when dealing with powers of 0. (Jim)
10680
- Added is_finite(), is_infinite(), and is_nan(). (Jim)
@@ -154,7 +128,6 @@ PHP 4 NEWS
154128
- Fixed mnoGoSearch extension to support mnogosearch-3.2.x. (gluke)
155129
- Made fbsql_num_rows() to return the correct value on all select statements.
156130
(Frank)
157-
- Fixed HTTP file upload support to handle big files better. (Jani)
158131
- Added array_chunk() function that splits an array into chunks of specified
159132
size. (Andrei)
160133
- Fixed a bug which caused $HTTP_RAW_POST_DATA not to be populated on a missing

0 commit comments

Comments
 (0)