1
1
PHP 4 NEWS
2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? 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)
4
10
- Clean up posix extension (no more unwanted warning messages, introduce
5
11
posix_errno() and posix_strerror() for fetching error messages); changed the
6
12
way posix_getgrnam() and posix_getgrgid() return their values (breaks BC but
7
13
makes more sense); do not include functions in symbol table which aren't
8
14
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)
10
18
- Changed the Velocis extension namespace to Birdstep to reflect new product
11
19
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)
31
20
- 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)
36
24
- Added PHP_SAPI constant which contains the name of running SAPI. (Edin)
37
25
- Added ob_get_status() to get array of buffers and it's status. (Yasuo)
38
26
- Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
@@ -48,34 +36,26 @@ PHP 4 NEWS
48
36
internal information such as refcounts and true type names. (Jason)
49
37
- Added Andrei's tokenizer extension. (Stig)
50
38
- 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)
54
42
- Added is_a() function that can be used to test whether object is of a certain
55
43
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
57
45
makes these functions return a highlighted string instead of dumping
58
46
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)
67
48
- Fixed pg_pconnect(). It catches broken connection and reconnects to
68
49
PostgreSQL server always. When PostgreSQL is rebooted, web server reboot is
69
50
not needed to avoid errors. (Yasuo)
70
51
- 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)
73
54
- Added function domxml_node_get_content(). (chregu)
74
55
- Added function domxml_dump_file($filename,[$compression]). Dumps XML to
75
56
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)
79
59
- Don't touch any globals in session_unset() if register_globals is set
80
60
to off. (Thies)
81
61
- Added 3 new optional parameters to OCIFetchStatement(). They control
@@ -86,7 +66,7 @@ PHP 4 NEWS
86
66
- Fixed a bug in preg_match()/preg_match_all() when matching strings containing
87
67
null bytes. (Andrei)
88
68
- 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".
90
70
(Chris Jarecki)
91
71
- Added multi-byte enabled regular expression functions. (Rui)
92
72
- Added second parameter to count() that can be used to specify either normal
@@ -95,12 +75,6 @@ PHP 4 NEWS
95
75
- Added async query functions to PostgreSQL module. (Yasuo)
96
76
- Added pg_copy_to()/pg_copy_from() for PostgreSQL module. (Youichi, Yasuo)
97
77
- 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)
104
78
- Improved the speed of wordwrap() significantly. (Jim)
105
79
- Fixed pow()'s incorrect behaviour when dealing with powers of 0. (Jim)
106
80
- Added is_finite(), is_infinite(), and is_nan(). (Jim)
@@ -154,7 +128,6 @@ PHP 4 NEWS
154
128
- Fixed mnoGoSearch extension to support mnogosearch-3.2.x. (gluke)
155
129
- Made fbsql_num_rows() to return the correct value on all select statements.
156
130
(Frank)
157
- - Fixed HTTP file upload support to handle big files better. (Jani)
158
131
- Added array_chunk() function that splits an array into chunks of specified
159
132
size. (Andrei)
160
133
- Fixed a bug which caused $HTTP_RAW_POST_DATA not to be populated on a missing
0 commit comments