Commit Graph

3626 Commits

Author SHA1 Message Date
foobar
102f8cf4c1 Added testcase for bug #22088 2003-02-06 15:04:53 +00:00
Ilia Alshanetsky
f12a6b7663 Added array_walk_recursive() function that can apply array_walk recursively
to an array.
2003-02-05 17:56:08 +00:00
Zeev Suraski
3a1a209baf Updates reflecting infrastructure changes 2003-02-04 13:12:48 +00:00
Ilia Alshanetsky
0d2368554a Fixed bug #22017 (non descriptive error to appear when timestamp passed to
date() has value < 0. Win32 does not support timestamps prior to midnight
(00:00:00), January 1, 1970).
2003-02-03 22:48:26 +00:00
Ilia Alshanetsky
d89c38961b Make putenv() return a proper error rather then NULL when invalid argument
is passed.
2003-02-03 21:48:36 +00:00
foobar
07a9729071 - Fixed bug: #21998 (array_pop() did not reset the current array position)
# This behaves now same as in PHP 4.2.3
2003-02-03 16:57:02 +00:00
foobar
7147949a4e Correct description of the problem 2003-02-03 16:52:04 +00:00
foobar
be83a02b8c This cause some warning/error in AIX 2003-02-03 13:08:08 +00:00
foobar
bb97dfaccb Added test for bug #21998 2003-02-03 06:43:08 +00:00
Sebastian Bergmann
7ed0972683 Fix warning. 2003-02-02 18:50:42 +00:00
Zeev Suraski
53060ef869 Fix phpinfo() display of Zend extensions 2003-02-02 15:53:04 +00:00
Marcus Boerger
3e675c1cf4 avoid warnings 2003-02-01 23:38:29 +00:00
Marcus Boerger
27ccc66518 @Added XBM support for GetImageSize(). (helly) 2003-02-01 23:14:13 +00:00
Wez Furlong
84f83e8559 Don't assume that objects have class entries (in the ZE1 sense) when
determining the class name.
Additionally, don't assume that objects have a properties hash either.
2003-02-01 03:52:31 +00:00
Sascha Schumann
bea6ff5183 Unbreak $Id tag 2003-01-31 16:24:12 +00:00
Sara Golemon
65146ceb26 Unify str_replace and str_ireplace using INTERNAL_FUNCTION_PARAM_PASSTHRU -- reduce codebase/maintenance complexity 2003-01-30 20:09:19 +00:00
Sara Golemon
37ff98978b Feature Request # 5919 - Addition of str_ireplace()
Also removed deprecated BM str replace menthod
Also rewrote php_str_to_str to use more processor/memory efficient method (ilia)
2003-01-30 05:00:41 +00:00
Edin Kadribasic
ca0b63e420 Enable embedded code using sapi/embed to use dl(). 2003-01-29 15:39:10 +00:00
Harald Radi
f8e014b228 MFPHP_4_3 2003-01-29 00:49:09 +00:00
Ilia Alshanetsky
e6170c0b30 Added part of strpos commit that never made it in for some reason.
# Thanks Pollita.
2003-01-29 00:07:01 +00:00
Frank M. Kromann
0e38fedcd7 Fix the setting of computer name and processor type for php_uname() on Win32 2003-01-28 05:02:12 +00:00
Ilia Alshanetsky
2d0f432490 Added scandir() function, which allows quick retrieval of all files &
directories within the specified path and sort the output in alphabetical
or reverse alphabetical order.
2003-01-28 01:48:57 +00:00
Edin Kadribasic
c7441b2379 Fixed bug #21597 (made glob() understand windows paths) 2003-01-27 16:29:47 +00:00
Ilia Alshanetsky
758ea308a9 Fixed compiler warning. 2003-01-25 00:23:03 +00:00
Ilia Alshanetsky
6efe008598 Fixed compile warning. 2003-01-24 16:45:34 +00:00
Ilia Alshanetsky
38ad0e9104 zend_error -> php_error_docref. 2003-01-24 16:29:40 +00:00
Andrey Hristov
600fce5890 Resolving problem on OSF1 and probably other
64 bit platforms. Thanks for the feedback of Magnus (novell kiruna se).
2003-01-24 13:18:08 +00:00
Andrey Hristov
1d0214bee4 Adding cast. 2003-01-24 12:19:59 +00:00
Moriyoshi Koizumi
8dfb2df649 Renamed the test name as per the convension 2003-01-23 19:21:51 +00:00
Moriyoshi Koizumi
6fc22aa5d9 Test name formatting 2003-01-23 19:07:25 +00:00
Anil Madhavapeddy
dea44dfc9a typo 2003-01-22 20:41:28 +00:00
Ilia Alshanetsky
8a9e09a44a ARG_COUNT(ht) -> ZEND_NUM_ARGS(). 2003-01-21 14:56:40 +00:00
Derick Rethans
f1ba2137c0 - Add credits for Magnus 2003-01-20 12:34:07 +00:00
Moriyoshi Koizumi
dfbfa1a36f Improved the patched part to prevent further potential bugs 2003-01-19 17:23:48 +00:00
Harald Radi
b51b6f0fbf ini patch to allow 'entry[] = value' entries 2003-01-19 12:18:46 +00:00
Moriyoshi Koizumi
a1e6457561 Fixed bug #21744(21741)
Added test case for the bug
2003-01-19 11:32:54 +00:00
Ilia Alshanetsky
3d8e54f3a2 Changed php_error to php_error_docref. 2003-01-19 00:45:53 +00:00
Derick Rethans
add3ec4e0b s/4.4/5.0 2003-01-18 22:33:56 +00:00
Ilia Alshanetsky
71e9f8cdd5 Removed pointless memory allocation checks. 2003-01-18 20:01:46 +00:00
Moriyoshi Koizumi
94c25df592 WS 2003-01-18 19:26:01 +00:00
Moriyoshi Koizumi
310397f2ee Fixed typo 2003-01-18 19:02:21 +00:00
Moriyoshi Koizumi
2aa7bf8d8b Added test case for bug #21730 2003-01-18 18:59:27 +00:00
Moriyoshi Koizumi
e23fead99f Tons of WS fixes 2003-01-18 18:49:47 +00:00
Moriyoshi Koizumi
21b4499953 Fixed bug #21726 and #21730 2003-01-18 18:31:13 +00:00
Andrey Hristov
309ef518fc Renamed get_memory_usage() to memory_get_usage() (per Andi's advice)
This doesn't break any BC.
2003-01-18 15:03:01 +00:00
Wez Furlong
7002a39f97 Fix potential problem for 64-bit architectures. 2003-01-18 14:10:22 +00:00
Derick Rethans
39aa3a5d98 - Fixed memleak in fscanf(). 2003-01-18 13:55:58 +00:00
Derick Rethans
a50e9acd8e - Skip test if the function to test is not available
#- Perhaps we need some infrastructure for this...
2003-01-18 13:53:25 +00:00
Ilia Alshanetsky
054826b192 Added missing test result. 2003-01-17 23:57:43 +00:00
Moriyoshi Koizumi
f71ef5e091 Fixed a quoted printable decoder so that it would conform to RFC2045. 2003-01-17 20:00:31 +00:00
Marcus Boerger
973c5fa1ec fix jp2 detection and add testfile 2003-01-17 18:51:30 +00:00
Derick Rethans
cce2ffed8a - Fixed a bug that made that no newline was displayed when there was no value
for a row.
2003-01-17 18:07:10 +00:00
Moriyoshi Koizumi
f94cbfe52b Significant speed enhancements. I was underestimating the power of recent
CPUs :)
2003-01-17 09:04:02 +00:00
Moriyoshi Koizumi
93481ce9b8 Finally fixed a qp encoder bug that line break characters that appear exactly
at the end of the chunk lost in the output.
# I bet no more problems will occur in quoted-printable encoder.
# But I recognised the counterpart is still buggy due to RFC2045-incompliance.
2003-01-16 20:59:07 +00:00
Marcus Boerger
1dabcd4dad - JPEG 2000 support 2003-01-16 19:46:12 +00:00
Marcus Boerger
8958762de6 - corrected error in file detection for very small files
- JPEG 2000 support, mostly Adam Wright <adam@elysium.ltd.uk>
@Enhanced jpeg 2000 support for GetImageSize(). (marcus, Adam Wright)
2003-01-16 19:45:26 +00:00
Edin Kadribasic
d4e143b8be Fixed bug #21648 2003-01-16 13:19:50 +00:00
Wez Furlong
a3a2dcd8a9 Relieve scripts of the burden of ensuring that all pipes are closed prior
to calling proc_close().
Implement proc_get_status(resource $process) which returns an array of
information about a process created with proc_open().
The information includes:
array(
	"command" => string "name of the command",
	"pid" => long process identifier,
	"running" => bool true if the process is still running
	"exitcode" => long exitcode if the process exited
	"signaled" => bool true if the process was signaled
	"termsig" => long signal number if signaled
	"stopped" => bool true if the process is stopped
	"stopsig" => long signal number if stopped
);
2003-01-15 18:54:03 +00:00
Wez Furlong
1a314027d3 - Move proc_open code to a source file of it's own.
- Tidy up that netware mess by performing a configure check which will
  define the symbol PHP_CAN_SUPPORT_PROC_OPEN if PHP can support proc_open.
- Protected the proc_open specific code with #ifdef PHP_CAN_SUPPORT_PROC_OPEN
  so that user-space scripts can use function_exists and react accordingly.

** Heads Up Win32: You need to add ext/standard/proc_open.c to the DSP and
** #define PHP_CAN_SUPPORT_PROC_OPEN in the w32 config header.
2003-01-15 16:29:00 +00:00
Moriyoshi Koizumi
fdf0768d4e Fixed a qp encoder bug that the constructor sometimes fails if
line-breaking mode is off.
2003-01-15 15:05:17 +00:00
Andrey Hristov
7866f02260 added function get_memory_usage(). available only when PHP is compiled
with --enable-memory-limit
2003-01-14 18:26:47 +00:00
Moriyoshi Koizumi
e5c5412777 Added a new option "force-encode-first" to the quoted-printable encoder
as per Wez's request. If enabled, the encoder forcefully does qp
tranformation on every first character of lines in incoming stream.
2003-01-14 16:42:18 +00:00
Moriyoshi Koizumi
bde6801add Made php_quot_print_decode() RFC2045-compliant
# this function is only used in iconv extension and the corresponding
# userland function doesn't use it, so I don't see any BC issue here.
2003-01-14 15:14:11 +00:00
Moriyoshi Koizumi
a0be48c109 Fixed small memory leak that occurs when the invalid line length is passed
to the qprint ctor.
2003-01-14 01:27:57 +00:00
Moriyoshi Koizumi
121e625977 Fixed quoted-printable encoder so that it produces RFC2045 complicant
output. As per this specification requirement, the constructor now accepts
three options: binary (boolean), line-len (uint), line-break-chars (string).
2003-01-14 01:23:35 +00:00
Andrey Hristov
1cdc956637 added array_combine().
Creates an array by using the elements of the first parameter as keys and
the elements of the second as correspoding keys. Error is thrown in case
the arrays has different number of elements. Number of elements 0 is not
valid for both parameters.
2003-01-13 18:12:23 +00:00
Moriyoshi Koizumi
78f527e2b7 Fixed a silly segfault bug caused by lack of strict type checking 2003-01-13 11:00:22 +00:00
Moriyoshi Koizumi
ab71e2cbaa . Implemented a common filter parameter parsing function.
# For example "base64-encode.line-break-chars=--,base64-decode.blah=foobar"
# will be parsed and splitted into a zval array as
# array(2) {
#   ["base64-encode"]=>
#   array(1) {
#     ["line-break-chars"]=>
#     string(2) "--"
#   }
#   ["base64-decode"]=>
#   array(1) {
#     ["blah"] =>
#     string(6) "foobar"
#   }
# }
. Added automatic line-breaking feature for base64 encode filter. This
  can be turned on by putting a option entry "base64-encode.line-length"
  to the filter parameters.
2003-01-13 10:21:40 +00:00
Moriyoshi Koizumi
1fec8e3d13 Fixed a bug of the base64 decoder that a sequence of intervening
characters that are supposed to be ignored by the decoder cause output
corruption.
2003-01-12 21:05:22 +00:00
Stanislav Malyshev
98175957a7 ZE2 compatibility 2003-01-12 18:42:16 +00:00
Sebastian Bergmann
f37cb1c617 ZTS fixes. 2003-01-12 14:47:18 +00:00
Stanislav Malyshev
a7e14749e7 Disable ZE2-incompatible parts
# This should be rewritten for ZE2 anyway...
2003-01-12 14:43:04 +00:00
Stanislav Malyshev
bcc1e5a74e remove unneeded var 2003-01-12 13:50:17 +00:00
Moriyoshi Koizumi
a88173bf86 Fixed infinite loop bug when an invalid quoted-printable escape sequence
appears in the streem.
2003-01-12 13:46:11 +00:00
Moriyoshi Koizumi
b1e8631986 Fixed error msg format so it correctly reports the actual filter name 2003-01-12 13:41:35 +00:00
Moriyoshi Koizumi
aa41ab285a . Updated quoted-printable filter by a neater implementation.
. Changed emalloc family functions to pemalloc ones for persistent filters.
. Changed base64 and quoted-printable filter names to "convert.base64-encode",
  "convert.base64-decode", "convert.quoted-printable-encode", and
  "convert.quoted-printable-decode" respectively for the consistency that
  may be requested later.
2003-01-12 12:48:13 +00:00
Moriyoshi Koizumi
7fa0970567 Reverted because correct decision has not been made yet. 2003-01-11 23:05:19 +00:00
Moriyoshi Koizumi
b66b92e996 Reduced warnings in ZE2 build 2003-01-11 22:32:19 +00:00
Moriyoshi Koizumi
dd2ad168e1 Reduced compiler warnings in ZE2 build 2003-01-11 22:17:37 +00:00
Ilia Alshanetsky
8facc65202 Added stripos() & strripos() functions.
Added 3rd parameter (offset) to strrpos().
2003-01-11 17:52:38 +00:00
Wez Furlong
cf9f784ecd Fix the number format fix when the number of decimal places is 0.
# Thanks to Edin for his telepathy!
2003-01-10 13:32:24 +00:00
Moriyoshi Koizumi
380928e6bf Reduced compiler warnings 2003-01-10 04:44:21 +00:00
Ilia Alshanetsky
5413a66cbb CS fixes 2003-01-09 23:23:32 +00:00
Ilia Alshanetsky
3e5bbba351 Fixed a memory corruption that occurs when an unterminated " is encountered
this bug maybe be related to #21556.
2003-01-09 22:49:18 +00:00
Sara Golemon
4d789b593f Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
2003-01-09 21:57:45 +00:00
Wez Furlong
59e4fdcc10 Implement fprintf() and vfprintf().
Add a couple of tests.
2003-01-09 17:29:31 +00:00
Wez Furlong
d8fbd1acef Fix Bug #21523 - 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.

Resolved this issue by making number_format examine the string returned
by spprintf and have it pad to the correct number of decimal places.

Added a test-case based on the bug report; the length of decimal places
required to trigger this bug is sprintf implementation dependent; as the
implementation is now using spprintf (provided by PHP), that number is
78 digits (NDIG - 2).

# I played with the idea of enhancing sprintf to do the equivalent, but
# it was too much effort considering that the precision of floats/doubles
# is not good enough to warrant it.

# This fix could do with some QA from someone else to make sure there are
# no memory bounds problems and then MFH it to PHP_4_3
2003-01-09 15:44:49 +00:00
Ilia Alshanetsky
ef9ba94c8b Fixed bug #21529 (memory corruption by fsockopen()). 2003-01-09 03:33:15 +00:00
foobar
66fd5008ab Fix the ZTS build. 2003-01-09 00:15:33 +00:00
Moriyoshi Koizumi
59393ef3ad Reimplemented base64 filter to use iconv()-like facility for flexibility.
# I'm leaving the code dirty & ugly prior to the discussion.
2003-01-08 23:44:38 +00:00
Ilia Alshanetsky
072be90d6f Added support for WBMP images. 2003-01-08 20:36:03 +00:00
Moriyoshi Koizumi
b064810550 Instances should not be freed in dtor()... 2003-01-07 22:53:42 +00:00
Moriyoshi Koizumi
b86a4edeed Made error msg format more consistent 2003-01-07 22:52:24 +00:00
Sara Golemon
f4f313ff40 Backout changes between 1.6 and 1.7 2003-01-07 16:43:26 +00:00
Zeev Suraski
651cea08f0 whitespace 2003-01-07 11:37:09 +00:00
Moriyoshi Koizumi
346fa499ca Fixed small leak 2003-01-07 08:57:27 +00:00
Moriyoshi Koizumi
eed5a6bed0 Implemented quoted-printable stream filter 2003-01-07 01:41:18 +00:00
Sara Golemon
35b1635c81 Add option to stream_get_filters() user-defined fiters vs. all filters, default to user only 2003-01-07 01:02:29 +00:00
Moriyoshi Koizumi
00a36a09e1 Implemented string.base64 stream filter
@- Implemented string.base64 stream filter. (Moriyoshi)
2003-01-07 00:03:25 +00:00
Ilia Alshanetsky
97dd1e8abf Fixed bug #21453 (improper handling of non-terminated <). 2003-01-06 22:13:03 +00:00
Ilia Alshanetsky
15f7c2c332 Fixed Bug #21443 and related bug #21468. 2003-01-06 21:43:28 +00:00
Moriyoshi Koizumi
4c2d6cfea8 Moved php_quot_print_decode() to quot_print.c so that it can be used
outside the iconv module
2003-01-06 15:47:25 +00:00
Wez Furlong
d23d4b366d Make it slightly more obvious that the return value is relative to the length
of the input data.
2003-01-06 14:04:23 +00:00
Anantha Kesari H Y
509b4d39b5 Added #ifdef HAVE_SYSLOG_H around syslog function in the whole file to avoid link failure. 2003-01-06 05:59:17 +00:00
Sara Golemon
999d989aa9 Added string.toupper and string.tolower filters and generalized non-op filter methods 2003-01-06 05:22:06 +00:00
Sara Golemon
42e912da79 Expose stream_filters_hash so that it can be searched by stream_get_filters() 2003-01-06 04:06:40 +00:00
Sara Golemon
7dae400063 Fixes to stream_get_wrappers() and stream_get_filters() handle hash table layouts better, plus some picune whitespace fixes 2003-01-05 22:24:49 +00:00
Ilia Alshanetsky
d5a8bb2d0b Fixed a memory leak in setlocale() & localeconv(). 2003-01-05 04:29:14 +00:00
Sara Golemon
43630e2ac0 Added stream_get_filters(); to list registered filters 2003-01-05 03:24:38 +00:00
Derick Rethans
b816089fbf - Fix some of the netware crap 2003-01-05 00:56:17 +00:00
Derick Rethans
e58c221204 - Change Warnings to Notices 2003-01-04 23:55:57 +00:00
Ilia Alshanetsky
f99fa7170e Fixed a bug that would cause flock() to never set the 3rd argument.
CS fixes & switched to new parameter parsing API.
2003-01-03 18:33:28 +00:00
Ilia Alshanetsky
71ab7dfccc Fixed a memory leak that occurs if the location specified by redirect header
cannot be opened.
2003-01-03 17:12:35 +00:00
Ilia Alshanetsky
c52cdad25a Further fixes related to bug #21267. 2003-01-03 17:05:16 +00:00
Anantha Kesari H Y
2e52c112df Modified for NetWare. 2003-01-03 16:06:02 +00:00
Anantha Kesari H Y
830298beb8 Modified for NetWare. 2003-01-03 14:37:42 +00:00
Derick Rethans
8f82834a79 - Update this one as well 2003-01-03 10:52:23 +00:00
Derick Rethans
32254e0938 - Remove double "Win32 COM" functions line 2003-01-03 10:48:38 +00:00
Sara Golemon
7b37272381 Added stream_get_wrappers() 2003-01-03 08:02:36 +00:00
Moriyoshi Koizumi
f962ba6abb Fixed small leaks in array_map() in case the first parameter is NULL like
array_map(NULL, array(...));
2003-01-03 05:05:12 +00:00
Ilia Alshanetsky
0ff59a1353 Fixed bug #21338 (crash inside html_entity_decode() when "" is passed).
Added test case for the bug.
2003-01-02 19:49:30 +00:00
Frank M. Kromann
4da2e804e0 Allow base64 functions to be called from an extension buils as .so/.dll (iconv) 2003-01-01 18:11:18 +00:00
Zeev Suraski
70446a6416 build fixes 2003-01-01 13:26:17 +00:00
Sebastian Bergmann
0ab3a13612 Fix warnings. 2003-01-01 12:36:06 +00:00
Wez Furlong
97a0102b81 Tidy up 2003-01-01 11:21:40 +00:00
Wez Furlong
f58628ca4d Move rot13 filter into a new filters.c source file.
Tidy up some other filter related code.

# win32 -> someone please add user_filters.c and filters.c to the .dsp
2003-01-01 11:04:44 +00:00
Wez Furlong
350b0bbeac Implement user-space filters.
See ext/standard/tests/file/userfilters.phpt for an example of their use.
2002-12-31 18:39:36 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Rasmus Lerdorf
f88e29bc0d Fix for bug #21311 2002-12-31 15:18:52 +00:00
Ilia Alshanetsky
bd19dabefe Fixed bug #21226 (parse_url handling of urls without a path). 2002-12-30 16:42:49 +00:00
Derick Rethans
d454becda8 - Whitespace 2002-12-30 15:03:50 +00:00
Marcus Boerger
426cf8eb57 fix state-machine in cases T_AAAA is not available 2002-12-30 11:59:22 +00:00
Ilia Alshanetsky
88d26985b8 Fixed bug #21267 (opening URLs that result in redirection to a relative
path was failing).
2002-12-29 20:01:33 +00:00
Derick Rethans
f3d3dd5bc8 - MFB 2002-12-26 23:45:05 +00:00
Wez Furlong
bb640840c3 Remove cruft that opened a stream that was never closed in get_meta_tags().
(probably my fault).
Noticed by Philip Olson
2002-12-26 22:35:00 +00:00
Sterling Hughes
457f22c198 if needle is empty free allocated memory 2002-12-26 20:52:42 +00:00
Sterling Hughes
ca67d27fb2 remove memleak 2002-12-26 19:56:44 +00:00
Derick Rethans
b996b32031 - Add test for bug #21182 2002-12-25 20:08:36 +00:00
Ilia Alshanetsky
fbcee73c8c Make range operate on the copies of the parameters rather then modify the
actual parameters.
2002-12-25 20:02:03 +00:00
Melvyn Sopacua
0764c3101b Verify if gl_pathv is not NULL, which it is, when GLOB_NOMATCH isn't
supported and there are no matches.

# BSDi/Mac OSX are affected.
2002-12-23 18:33:46 +00:00
Wez Furlong
c5091eedf1 Forgot to include this in my previous commit for #21131 fix. 2002-12-22 18:06:27 +00:00
Wez Furlong
efea12fec5 Fix for Bug #21131: fopen($file, 'a+') would incorrectly assume that
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Sara Golemon
13308b5a94 Minor clarification in meaning of bitmask constants
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
Ilia Alshanetsky
3a4bf3f904 When low & high are the same return an array containing the low value.
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Marcus Boerger
d795243db3 @Make uniqid() parameters optional and allow any prefix length. (Marcus) 2002-12-20 17:06:25 +00:00
Marcus Boerger
8652e8ac27 MFB 2002-12-20 17:04:33 +00:00
Marcus Boerger
26038795f8 -disable uniqid() when required lib functions not available
-emit an error when uniqid() will fail
-make more_entropy parameter default to true for CYGWIN
2002-12-20 16:34:42 +00:00
Wez Furlong
602734c7d9 Correct mistake introduced by my last commit on these files;
*_from_pipe() is for process-pipes created by fopen, not generic pipes
created from proc_open().
Correctly implemented the fifo/pipe check for *_from_file() and it seems
to be working correctly now.
2002-12-19 20:23:50 +00:00
Ilia Alshanetsky
594c3808d4 Fixed bug #21098. 2002-12-19 17:06:36 +00:00
Moriyoshi Koizumi
d2fa4670dc Prevented test failure caused by LF code variety 2002-12-18 23:06:27 +00:00
Moriyoshi Koizumi
92d5faca60 MFB 2002-12-12 21:44:53 +00:00
Moriyoshi Koizumi
d679e5d2aa Added a test case for bug #20934 2002-12-12 21:42:17 +00:00
Melvyn Sopacua
44b7c16b03 Fix for BSD's (possibly others):
Accept system default, for the index. Don't initialize it.
2002-12-12 18:50:26 +00:00
Wez Furlong
c5d4e4b321 MFB: popen/pclose and proc_open/proc_close fixes. 2002-12-12 17:51:25 +00:00
Ilia Alshanetsky
53b333d153 Fixed misspelling of the Greek letter lambda,
noticed by jmartin-php@notamusica.com.
2002-12-12 14:50:58 +00:00
Ilia Alshanetsky
75c180f242 Fixed bug #20927 and updated the test case for the bug. 2002-12-12 13:38:19 +00:00
Moriyoshi Koizumi
3bbcb0d0dd Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8) 2002-12-12 13:25:51 +00:00
Melvyn Sopacua
4b3b409b48 Add testcase for reported wordwrap bug 2002-12-11 20:22:42 +00:00
Ilia Alshanetsky
c194d9333d Added getopt() test. 2002-12-11 17:38:28 +00:00
Moriyoshi Koizumi
4974f268a6 @- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi) 2002-12-09 15:54:38 +00:00
foobar
085f362ae3 T_AAAA is not always available. 2002-12-09 11:50:15 +00:00
Moriyoshi Koizumi
8d1b2bf8a5 Prevented return_value from being freed() twice 2002-12-08 09:54:30 +00:00
Sara Golemon
a4d6863ee5 Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record 2002-12-08 08:14:43 +00:00
Ilia Alshanetsky
3bc8512cf0 Added test case for bug #20865. 2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
ed7c3bfe0e Fixed bug #20865, array_key_exists() could not locate NULL keys. 2002-12-06 17:35:52 +00:00
Ilia Alshanetsky
c668055159 Remove pointless checks for array_init() return values. 2002-12-05 22:28:02 +00:00
Sara Golemon
ad65d01cbe Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC. 2002-12-05 21:20:47 +00:00
Marcus Boerger
49a99a98f4 -php_error -> php_error_docref
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Ilia Alshanetsky
7364e3b771 Fixed bug #12556, updated the test for this bug. 2002-12-05 20:01:19 +00:00
Melvyn Sopacua
bd06d48e56 Test data 2002-12-05 19:30:28 +00:00
Melvyn Sopacua
76436b8820 Add a testcase for this bug 2002-12-05 19:29:45 +00:00
Marcus Boerger
19d5e535c0 Remove unnecessary code here 2002-12-05 15:52:20 +00:00
Marcus Boerger
373361d9c4 Return FALSE on error as mentioned by John Coggeshall.
See Bug #20822
2002-12-05 12:39:00 +00:00
Moriyoshi Koizumi
cf0a0f0967 Added a test for bug #12776 2002-12-04 17:01:07 +00:00
Moriyoshi Koizumi
7bf4090efb Fixed segfaults of array_walk() when keys are passed to cb by reference.
Fixed bug #12776.
2002-12-04 16:41:28 +00:00
Moriyoshi Koizumi
242ddba326 Fixed leaks in array_walk() 2002-12-03 15:02:06 +00:00
Ilia Alshanetsky
057e87e6e5 Repositioned CoInitialize and CoUninitialize that apparetly makes it more
correct according to MS docs. Patch (+5) by Michael Sisolak
<msisolak@yahoo.com>.
2002-12-02 06:43:54 +00:00
Moriyoshi Koizumi
aeb6a6c458 Fixed possible buffer overflow in php_base64_decode();
# This bug doesn't appear to be harmful for now,
# so I won't merge it into branches...
2002-12-01 02:44:50 +00:00
Ilia Alshanetsky
cc13af6a07 Fixed bug #20716. 2002-11-30 19:12:48 +00:00
Marcus Boerger
0d7957bc15 Bug #20433 2002-11-30 18:36:17 +00:00
Martin Kraemer
c5a7a522a1 Portability: Use 0 if the platform does not define EX_OK 2002-11-28 08:23:36 +00:00
Sterling Hughes
52a451ccd2 no more need for this either 2002-11-27 20:06:01 +00:00
Sterling Hughes
5c96f91123 don't use stupid constants, be smart, just read the line 2002-11-27 20:05:20 +00:00
Ilia Alshanetsky
e195b10ede Fixed bug #20664. 2002-11-27 06:20:19 +00:00
Moriyoshi Koizumi
98dace883e Improved the error reporting portion of array_walk() as suggested by Markus 2002-11-26 22:12:40 +00:00
Moriyoshi Koizumi
3fd513f32a Prevent too many error reports from being displayed 2002-11-26 21:51:37 +00:00
Moriyoshi Koizumi
61b3d5ccb5 Fixed incorrect error messages of array_walk() in case the callback is
specified in an array form
2002-11-26 21:21:32 +00:00
Stefan Esser
ababfedb66 tmp_line was possible uninitialised, resulting in crap error messages. 2002-11-25 22:53:57 +00:00
Ilia Alshanetsky
693fd4a36b Added a check to determine if the file can be retrieved or sent.
This check also prevents incorrect error reporting in the event the retrieval
or the sending of the file cannot be accomplished.
2002-11-25 22:00:52 +00:00
Hartmut Holzgraefe
8bd550825f email address change 2002-11-25 12:30:28 +00:00
Derick Rethans
36e82c84ae - Make it compile on IRIX again
#- Tested with Linux/FreeBSD and IRIX
2002-11-23 19:03:21 +00:00
Moriyoshi Koizumi
44c98c7e3f Fixed some odd behaviours of range() 2002-11-23 11:27:56 +00:00
Sara Golemon
e9047df607 New function dns_get_record(): close resolver socket after use.
fix to internal func php_parserr(): correct bug in return state.
2002-11-23 01:09:07 +00:00
Hartmut Holzgraefe
fb5ac5d286 the apache 1.x sapi read_posts tests for SG(read_post_bytes) being
counted up, so lets make it happy although this value is not really
needed in these cases ...
2002-11-21 10:29:11 +00:00
Sander Roobol
e532b24d82 One Apache 1.3 line is enough 2002-11-20 12:53:40 +00:00
Stefan Esser
63a50e500d Adding SHA1 tests. 2002-11-19 23:25:57 +00:00
Ilia Alshanetsky
7751c4f549 Do not register IMAGETYPE_SWC if zlib, which is needed for parsing of swc
files is not available.
2002-11-19 21:24:47 +00:00
Edin Kadribasic
543c383302 Update Credits 2002-11-19 15:11:27 +00:00
Marcus Boerger
3ca6344e57 -rename checkdnsrr to dns_check_record, keep old name as alias
-rename getmxrr to dns_get_mx, keep old name as alias
-added dns_get_record
@Added dns_get_record() which allows to retrieve DNS information about
@a host. (Marcus, Pollita)
2002-11-19 02:34:13 +00:00
Marcus Boerger
301330ff88 -Added colordepth for png
-Added tests for width/heidth for unsigned/signed problems
2002-11-18 16:51:02 +00:00
Marcus Boerger
a3d821c695 Added colordepth for png 2002-11-18 16:50:10 +00:00
Marcus Boerger
25456939b3 Fixing unsigned/signed problems (and i thought about it before...) 2002-11-18 15:49:06 +00:00
Derick Rethans
e93f1c00c6 - Remove outdated GPL clause; the file was totally rewritten 2002-11-18 15:45:27 +00:00
foobar
43584058e9 Added error message if browscap location is not set in php.ini 2002-11-18 03:23:51 +00:00
Ilia Alshanetsky
c7fa1fa99f Fixed bug #20462. 2002-11-18 03:16:13 +00:00
Marcus Boerger
24726b0c64 Conversion fix by Michael Mauch 2002-11-17 09:27:48 +00:00
Marcus Boerger
2442adabe5 Force float for the float test 2002-11-16 23:45:58 +00:00
Marcus Boerger
015c117e37 -Do not rely on a side effect of 32bit platforms (patch by Michael Mauch)
-remove unused sections
2002-11-16 17:28:04 +00:00
Marcus Boerger
31e1cd13e2 removed unused sections 2002-11-16 17:26:52 +00:00
Ilia Alshanetsky
47596de32f Fixed the test so it works properly on both 32 and 64 bit platforms. 2002-11-16 17:26:26 +00:00
Marcus Boerger
a3157908a8 Make getimagesize more robust against corrupt files 2002-11-16 17:02:07 +00:00
Sebastian Bergmann
47388f2121 Fix Win32 build. 2002-11-16 08:30:31 +00:00
Ilia Alshanetsky
8193641d2d With ZTS on, we need to resolve the full paths before making symlinks.
If a chdir() call occurs before the symlink operation, the symlink is
created in the current directory rather then directory we've chdired to
because in ZTS we don't actually chdir but store the new path internally.

For an example of this problem consider the ext/standard/tests/file/001.phpt
test under ZTS.
2002-11-15 16:34:16 +00:00
Moriyoshi Koizumi
7222abda70 Include php_config.h for HAVE_MBSTRING 2002-11-15 16:13:36 +00:00
Marcus Boerger
8c598f8bff Only show the first results 2002-11-15 14:46:52 +00:00
foobar
dadfd6e94a ws fix 2002-11-15 07:21:33 +00:00
Moriyoshi Koizumi
fb20eae7fc Fixed bug #20381 2002-11-15 02:16:41 +00:00
Moriyoshi Koizumi
ac209557dd Added a test case for bug #20381 2002-11-15 02:11:23 +00:00
Stig Bakken
bdeb45b335 Added PATH_SEPARATOR constant 2002-11-14 22:50:01 +00:00
Andrei Zmievski
26bd73fec6 Sort the modules for info output as well. 2002-11-14 21:15:42 +00:00
Moriyoshi Koizumi
db6efcf7e5 Prevent warnings under safe mode 2002-11-14 18:38:38 +00:00
Ilia Alshanetsky
5f7de8bf5b Fixed bug #20423. 2002-11-14 16:20:23 +00:00
Wez Furlong
f921ea9f7d Add a test case for this "bug" # 20134.
I'm not sure that this test is actually useful, so I'm not adding
it to the branch.
2002-11-14 14:56:35 +00:00
Wez Furlong
4e85935386 MFB 2002-11-14 14:26:15 +00:00
Ilia Alshanetsky
6b7d77a7a0 Fixed bug #20420 and added partial urls to the test of the function. 2002-11-14 13:40:14 +00:00
Wez Furlong
b01add793c Add this test to make sure that fopencookie is detected and working
correctly (or that the less efficient tmpfile casting is working).
More details in the test itself.
2002-11-14 12:20:36 +00:00
Derick Rethans
bab4957d1c - MFB: Fixed bug #20484 (stream_get_meta_data crashes on a normal file
stream). (Derick, Wez)
2002-11-14 10:56:35 +00:00
Jon Parise
92df58dab6 @- Added an optional "step" parameter to range(). (Jon) 2002-11-14 05:46:10 +00:00
James Cox
ad9788d853 changing..
#also, i think the qa and web team needs updating -- i'd like to see web change to a more general infrastructure category... anyone care to volunteer? :)
2002-11-14 02:05:53 +00:00
John Coggeshall
253cecd43a Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob()
function.

Modified the layout and some minor logic in the experimental webHarness()
test class

Added Whitespace accidently to array.c :)
2002-11-13 13:31:33 +00:00
Moriyoshi Koizumi
c65cbd2409 Fixed the tests so that they won't be affected by the ini setting of
default_charset
2002-11-12 21:37:54 +00:00
Hartmut Holzgraefe
be5e379ec6 HTTP_RAW_POST_DATA BC fixes
# hopefully all done, commiting anyway to continue work on my home box
php://input stream fixes (POST data handerl mangles data, CLI crashbug)
2002-11-12 18:29:11 +00:00
Ilia Alshanetsky
ef7bd02688 Added test for swc files (compressed swf files), this must be done in a
separate test, since this test has a dependency on the zlib extension.
2002-11-12 17:47:20 +00:00
Ilia Alshanetsky
619fc2c3c0 Data manipulation (for big endian transformation) should occur after the
data has been read from file.
2002-11-12 16:14:18 +00:00
Marcus Boerger
3ba7df4c6a fix warnings
#highest bit cannot be set so this must work
2002-11-12 11:46:21 +00:00
Marcus Boerger
f2de217740 correct the last patch: make flock() a function again when it is missing
#function name should be flock and not php_flock of cause
2002-11-12 09:09:55 +00:00
Marcus Boerger
b8696890ca make flock() a function again when it is missing 2002-11-11 23:40:33 +00:00
Marcus Boerger
1554bb6db6 -make the flock() emulation a separate function named php_flock()
-use a define to make php_flock() available as flock() when necessary
# The emulated php_flock even works on NFS this will be used elsewhere.
2002-11-11 20:52:09 +00:00
Marcus Boerger
2f06a4fa77 make flock PHPAPI 2002-11-11 16:43:19 +00:00
Jason Greene
f8aae8702c Switch to using error_docref
# Satisfy all those named Mar[ck]us
2002-11-11 16:34:39 +00:00
Moriyoshi Koizumi
f300bdce82 Added support for windows code pages. 2002-11-11 13:31:08 +00:00
Moriyoshi Koizumi
488255ce54 WS 2002-11-11 13:28:34 +00:00
Jason Greene
5e2c75c576 Report function name when log() triggers a base warning 2002-11-11 05:35:04 +00:00
Jason Greene
84bd2901c4 Add the ability to take the logarithm of any base by adding a base parameter
to log()
Added regression tests for the new form
2002-11-11 05:21:35 +00:00
Jason Greene
9e2a312f2e add test function for log()
# It is difficult to test an approximation of an approximation, but I
# believe this test should be close enough to verify the function is working
# correctly.
2002-11-11 03:45:04 +00:00
James Cox
85e9468b1d give Wez streams credits he deserves. 2002-11-10 23:49:04 +00:00
Derick Rethans
a88e5c6e8d - Remove \n from error messages 2002-11-10 21:24:54 +00:00
Marcus Boerger
bf303c2ab7 hide possible warnings
#Why should one initialize $php_errormsg to NULL
#It would be easier to have it initialised by the system, wouldn't it?
2002-11-08 17:03:06 +00:00
Sterling Hughes
80f88a9851 use consistent constants 2002-11-08 15:49:32 +00:00
Ilia Alshanetsky
d28e3d9dc5 Fixed prototype of image_type_to_mime_type(), bug #20094. 2002-11-08 03:04:23 +00:00
Ilia Alshanetsky
9cc24bad1e Fixed compile warning when compiling without openssl support. 2002-11-08 03:02:51 +00:00
Ilia Alshanetsky
b6e3ae97c4 Move SWC (compressed swf) check into a separate test because this check
requires zlib. This separation allows us to skip the test if zlib is
not available and not fail.
2002-11-08 02:50:28 +00:00
Ilia Alshanetsky
0bdefe4d1e Added skip conditions in the event the required charset is not avaliabled.
Removed old (commented out) module loading code.
2002-11-08 01:12:03 +00:00
Ilia Alshanetsky
7db2ebd8ea This makes the output of the tests consistent on 32bit and 64 bit platforms.
The old test relied on the 32 bit behaviour, which caused them to always fail
on 64 bit platforms.
2002-11-07 17:49:11 +00:00
Ilia Alshanetsky
ada01d75e0 Added swf info. 2002-11-07 16:42:32 +00:00
Ilia Alshanetsky
bd41e0503d Added swf and swc (compressed swf) test cases and added 'bits' portion to
the expected bmp test results.
2002-11-07 16:38:57 +00:00
Ilia Alshanetsky
15fb290edc Fixed a crash in image_type_to_mime_type(), when a non integer value is
passed to the function.
Fixed Width/Height detection of bmp files on big endian systems.
Added bit depth detection for bmp files.
2002-11-07 16:37:46 +00:00
Ilia Alshanetsky
c2337fd851 Added additional tests to parse_url() test suit, corrected the output of 2
existing tests, which were affected by a bug fixed in latest update to
parse_url() source code.
2002-11-07 15:46:34 +00:00
Ilia Alshanetsky
8645f5c200 parse_url can now correctly parse mailto:, zlib: (old zlib wrapper) and
simular. Thanks to Wez Furlong for noticing the problem.
2002-11-07 15:41:32 +00:00
Ilia Alshanetsky
b801568bbb Fixed a crash in headers_sent(), that occures if
php_get_output_start_filename() returns NULL.
2002-11-07 00:23:58 +00:00
Ilia Alshanetsky
78e2e69b23 Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.
2002-11-06 18:07:23 +00:00
Moriyoshi Koizumi
6789057697 Oops, preg_match() returns integer value, not boolean. 2002-11-06 15:14:58 +00:00
Moriyoshi Koizumi
e4460fa5a3 Made skip conditions stricter. 2002-11-06 15:06:35 +00:00
Moriyoshi Koizumi
307024dc68 Fixed typo 2002-11-05 17:46:36 +00:00
Moriyoshi Koizumi
e2112f174a Added a test for bug #20261 2002-11-05 17:25:59 +00:00
Ilia Alshanetsky
6d57337cda Fixed a memory leak in array_fill().
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.
2002-11-05 16:19:19 +00:00
Moriyoshi Koizumi
bef514afda style fix 2002-11-05 13:52:11 +00:00
Marcus Boerger
3bfb7162a8 silence
#when i get this code right tmp_line is not initialised, too.
#Therefore php_stream_wrapper_log_error() will be called with
#undefined value, will it?
2002-11-05 11:17:45 +00:00
Marcus Boerger
210c6e75f2 Use EXPECT again 2002-11-05 09:52:30 +00:00
Stig Bakken
efeaa5917c Added separate functions for setting include_path, for environments
where ini_set has been disabled.  New functions: get_include_path(),
set_include_path(), restore_include_path()
2002-11-05 06:05:48 +00:00
Ilia Alshanetsky
ecb5c7e08e Revert virtual_link() patch. 2002-11-04 23:24:15 +00:00
David Reid
e66a760f6b Not all systems have sys/ipc.h so let's check and only include it if we
have it.
2002-11-04 20:08:09 +00:00
Ilia Alshanetsky
a8d4bb9d28 Silence compiler warning. 2002-11-04 17:38:30 +00:00
Moriyoshi Koizumi
90792bca29 Fixed bug #20243 2002-11-04 12:53:24 +00:00
Marcus Boerger
81ef4fd958 add tests for functions in image.c (not requiring gd,zlib or exif) 2002-11-03 13:52:45 +00:00
Moriyoshi Koizumi
408e019b25 Disabled output_handler in INI section 2002-11-03 08:37:59 +00:00
Ilia Alshanetsky
ec3b50b8bb Revert previous dirname() patch. 2002-11-02 18:54:31 +00:00
Marcus Boerger
7ea6e4431e fix a warning 2002-11-02 10:34:51 +00:00
Marcus Boerger
20d7a682ab update test
#This test fails for me. I expanded the test output and checked the function.
#The only way to fix this behaviour would be to store the last result in a
#global value and fetch the time again in case the newer value is less the
#the older value.
2002-11-01 12:12:40 +00:00
Ilia Alshanetsky
500df32e0c Fixed bug #18710. dirname() now returns consistent output when dealing with
\ directory separators on Windows.
2002-11-01 00:53:27 +00:00
Moriyoshi Koizumi
f94e45aaf3 Moved the test into the suitable place 2002-10-31 15:28:21 +00:00
Derick Rethans
fb41198f05 - Fix test, in some cases the first significant number in the time
was a 3
2002-10-31 06:37:18 +00:00
Hartmut Holzgraefe
d8837750de getopt with long options reverted to configure problems
(may find the wrong getopt.h so needed structures are not defined :(   )
2002-10-30 15:11:11 +00:00
Moriyoshi Koizumi
939a5870cf Fixed typo 2002-10-30 11:57:29 +00:00
Moriyoshi Koizumi
a4edf018cb Added a test case for bug #20169 2002-10-30 11:48:51 +00:00
Moriyoshi Koizumi
8ff7d5ff54 Fixed bug #20169 2002-10-30 11:42:51 +00:00
Marcus Boerger
6f8bfd148a make microtime and gettimeofday unavailable instead of return false return
false in case needed library function is unavailable.
2002-10-29 23:35:49 +00:00
Melvyn Sopacua
066e8aeef6 Add locale for BSDi
# Allthough these characters are used in germany, that doesn't mean, that
# they're not part of the latin-1 character set.
2002-10-29 17:43:08 +00:00
Moriyoshi Koizumi
630a4ff924 Removed dl() stuff 2002-10-29 16:28:12 +00:00
Ilia Alshanetsky
19820c0e83 Added a skip condition for situations where the TZ variable could not be
set (safe_mode).
2002-10-29 15:36:47 +00:00
Moriyoshi Koizumi
f498b68c05 WS fix 2002-10-29 15:05:07 +00:00
Wez Furlong
a4a517015e I like my C comments, thanks very much. 2002-10-29 14:36:49 +00:00
Wez Furlong
2d2a375fa6 length of lyrics is not part of the test. 2002-10-29 14:31:54 +00:00
Marcus Boerger
82317945e5 -WS
-Use "//" instead of "/* ... */" comments
#this test fails for me. Very weired...
2002-10-29 14:05:55 +00:00
Marcus Boerger
c4e3bbb5d7 no C++ comments
#args sorry on that & thx jani
2002-10-29 13:26:44 +00:00
Marcus Boerger
083fc401fe fix overrun 2002-10-29 12:53:58 +00:00
Melvyn Sopacua
50dced2eea Add FreeBSD locale 2002-10-27 17:07:26 +00:00
Melvyn Sopacua
4d8518e83f Add FreeBSD locale 2002-10-27 17:01:48 +00:00
Ilia Alshanetsky
d88775c5ae Better fix for bug #20108. 2002-10-26 22:18:40 +00:00
Ilia Alshanetsky
e12826bc34 Added expected output. 2002-10-26 20:55:48 +00:00
Ilia Alshanetsky
2c480b0f6f Fixed bug #20108. 2002-10-26 20:45:17 +00:00
Derick Rethans
758d074822 - Fix typoes 2002-10-26 20:09:15 +00:00
Derick Rethans
77d10050e1 - fix type 2002-10-26 20:07:49 +00:00
Melvyn Sopacua
93fcd7ea5d Test for bug in sprintf
# Doesn't segfault for me, but gives a lot of garbage, so I really don't
# know what the output should be. Results posted to QA
2002-10-26 20:07:26 +00:00
Marcus Boerger
92b63c4be5 remove original version 2002-10-26 16:58:38 +00:00
Marcus Boerger
24fe2a0f2d change to use EXPECTREGEX and rename 2002-10-26 16:56:26 +00:00
Marcus Boerger
0679a9139f split tests 2002-10-26 16:48:03 +00:00
Marcus Boerger
0d68286a95 fine tune 2002-10-26 16:09:50 +00:00
Moriyoshi Koizumi
5a6c529f43 Renamed test cases 2002-10-25 21:39:02 +00:00
Ilia Alshanetsky
9526ca998d This is needed for BSD (FreeBSD, BSDi and possibly others), problem
was indentified by Melvyn Sopacua.
2002-10-25 20:09:53 +00:00
Ilia Alshanetsky
fdd2cb6024 Cleanup (make sterling happy). 2002-10-25 19:33:09 +00:00
Moriyoshi Koizumi
e7cc9d0274 Updated the test cases for htmlentities() 2002-10-25 13:12:31 +00:00
Moriyoshi Koizumi
16fc9f6539 Fix build if mbstring is enabled as shared extension. 2002-10-25 13:12:05 +00:00
Marcus Boerger
0433e71a76 README.TESTING examples 2002-10-25 10:46:19 +00:00
Marcus Boerger
d5911a2cbb remove unnecessary sections
#becomes an example
2002-10-25 10:28:37 +00:00
Ilia Alshanetsky
b109f8e3bd Added a mechanism allowing the disabling of the ability to change
certain INI options when safe_mode is enabled.

ATM three options are limited:
max_execution_time
memory_limit
child_terminate

This patch also fixes bug #17287.
2002-10-25 01:06:46 +00:00
Moriyoshi Koizumi
75db2913f1 Added some cases which test if charset determination with
SG(default_charset) works.
2002-10-24 22:21:03 +00:00
Moriyoshi Koizumi
d347143fe1 Improved determine_charset() to look up SG(default_charset) value 2002-10-24 22:04:28 +00:00
Moriyoshi Koizumi
c7c418c25a Added new test cases for htmlentities 2002-10-24 21:11:41 +00:00
Moriyoshi Koizumi
429f8fa6d7 Fixed ISO-8859-1 handling. 2002-10-24 21:10:45 +00:00
Hartmut Holzgraefe
0e28eaf550 trying to fix #20063 2002-10-24 20:04:16 +00:00
Moriyoshi Koizumi
f2269ef4a3 Added &euro; support to cp1252 table 2002-10-24 19:52:30 +00:00
Melvyn Sopacua
6695544db2 - Add locale string for FreeBSD
ATTN: Test nog longer skips, but fails. So whatever has changed since 4.2.3
affects BSD systems.
2002-10-24 19:17:11 +00:00
Marcus Boerger
e1508efb45 fix compiler warning?: implement default mentioned by manual 2002-10-24 19:17:08 +00:00
Marcus Boerger
15b2e277a4 fix compiler warning 2002-10-24 19:15:40 +00:00
Derick Rethans
67670560e4 - Protect function definitions with #ifdef's too 2002-10-24 18:49:57 +00:00
foobar
0bac55b4e7 - If functions are not available on OS, they're not available in PHP. 2002-10-24 18:31:11 +00:00
Moriyoshi Koizumi
e95fa639d6 Reverted because my patch doesn't make sense: it was just my problem. 2002-10-24 14:12:06 +00:00
Moriyoshi Koizumi
06012c3f42 Fix build 2002-10-24 14:01:45 +00:00
Sascha Schumann
2909e5c9c9 centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
2002-10-24 13:15:49 +00:00
Sascha Schumann
6bf422d62e Make PHP compile out-of-the-box with uClibc 2002-10-24 12:21:07 +00:00
Jan Lehnardt
cf4d435a12 - fix segfault in proc_open
#no bugreports found
2002-10-24 08:46:21 +00:00
Marcus Boerger
1ff1e6496b use german characters for a test with german locale 2002-10-24 00:49:38 +00:00
Marcus Boerger
37d2a1dd08 fix warning 2002-10-23 23:09:08 +00:00
Ilia Alshanetsky
2f3cd572fb Added 'skip logic' to the test on platforms where the locale required by
this test is not avaliable.
2002-10-23 23:04:43 +00:00
Andrey Hristov
d9c067ecc7 Test case regarding randomization of shuffle() and str_shuffle().
The code was provided by Adam Trachtenberg : adam trachtenberg com
2002-10-23 19:33:12 +00:00
Marcus Boerger
fa95a4a269 Shorten
# will be used as an example in README.TESTING
2002-10-23 12:47:31 +00:00
Moriyoshi Koizumi
68a5d1bca3 Improved determine_charset() to use mbstring.internal_encoding when the last
param is a null string. (If the param is omitted, it takes iso-8859-1 as
the default charset in favour of backwards compatibility.)
2002-10-22 20:11:48 +00:00
Melvyn Sopacua
d6e639a02f test for locale support in strtoupper 2002-10-22 19:39:17 +00:00
Marcus Boerger
e2a62e21c2 Fix for cases when new_length is NULL 2002-10-22 18:27:56 +00:00
Ilia Alshanetsky
30abd18322 Fixed a possible segmentation fault in file() function. 2002-10-22 18:07:11 +00:00
Ilia Alshanetsky
6b67dc8dd5 Fixed implode test 2002-10-22 17:17:56 +00:00
Frank M. Kromann
938a78a85b Fixing check to enable dl() for both cgi and cgi-fcgi 2002-10-22 07:00:51 +00:00
foobar
f93096ecb6 Removed tabs and combined those multiple AC_CHECK_FUNCS calls to one. 2002-10-21 23:41:38 +00:00
Ilia Alshanetsky
d8480c8088 Fixed symlink/link functions on ZTS builds.
Made URL detection in symlink code use php_stream_locate_url_wrapper().
2002-10-21 23:35:29 +00:00
Wez Furlong
dabf1053cd Refine stream_select() to work with streams that have data in their read
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual select(2) call is performed; instead the
streams with buffered data are returned; just like a regular select
call.
Prevent erroneous warning in stream_select when obtaining the fd.
2002-10-21 22:54:37 +00:00
Hartmut Holzgraefe
f768d343f5 fixed build for getopt_long-less platforms,
removed left-over todo comments
2002-10-21 19:24:48 +00:00
Jon Parise
20e6ed36ec Convert C++ style comments to C style comments. 2002-10-21 19:12:13 +00:00
Hartmut Holzgraefe
30ed5a5483 killed some warnings identified by sebastian 2002-10-21 19:08:18 +00:00
Hartmut Holzgraefe
8b7e9d7774 some changes to how request input data (Content-Lenght >0) is handled
- webdav-specific stuff removed (should be handled using httpd.conf
  LIMIT or equivalents)
- always_populate_raw_post_data now working on any method, not just
  POST (and webdav methods with allow_webdav_methods), when
	Content-Length is greater zero
- raw input data is also available using php://input stream,
  this way one doesn't have to care about memory_limit
- input data is now always consumed (although maybe ignored,
  this fixes we had withproblems with keep-alive connections
@ raw POST data is now available as php://input stream (hartmut)
2002-10-21 16:41:06 +00:00
Hartmut Holzgraefe
b67b00efcd getopt() now supports long options on platforms that have getopt_long()
getopt() now working independant of register_argc_argv settings
2002-10-21 16:07:21 +00:00
foobar
e232b212ba There is no point doing this test. Some systems think root can always execute so this is always true. 2002-10-21 00:30:05 +00:00
Derick Rethans
3322581c04 - Only include ftok() if it is available 2002-10-20 13:35:56 +00:00
Derick Rethans
c5a73b31f6 - Remove #ifdefs around ftok function so that it is also available when
none of the IPC extensions are enabled.
2002-10-20 10:18:20 +00:00
Derick Rethans
11961b1311 - Hopefully fix test file problems 2002-10-19 19:17:13 +00:00
Wez Furlong
829f1855fd made fgets() binary safe.
php_stream_gets is now a macro which calls php_stream_get_line. The latter
has an option argument to return the number of bytes in the line.
Functions like fgetcsv(), fgetss() can be made binary safe by calling
php_stream_get_line directly.

# HEADS UP: You will need to make clean after updating your CVS, as the
# binary signature has changed.
2002-10-19 13:11:48 +00:00
Ilia Alshanetsky
c3270448ac Added handling for file:/ schema, which does not contain a host. 2002-10-18 23:54:58 +00:00
foobar
4821b2f301 ws fixes 2002-10-18 22:08:23 +00:00
Ilia Alshanetsky
4b83b189fe Fixed bug #19971 (optimized the file() function).
The file() function is now also binary safe.
2002-10-18 20:39:49 +00:00
Wez Furlong
9b87199e2a Improve file().
Patch by Tal Peer <tal@php.net>
2002-10-18 16:55:47 +00:00
Andrei Zmievski
92d61459c0 @- Fixed an infinite loop in setlocale() when only invalid locale names
@  were passed in the array. (patch by Pal Loberg, pallo@initio.no).
2002-10-18 13:07:50 +00:00
Ilia Alshanetsky
30c16baac2 Renamed word_count to str_word_count to comply with naming conventions.
Thanks Andi, for catching this oversight.
2002-10-17 22:44:44 +00:00
Ilia Alshanetsky
cdf39db369 Added support for file:/. Thanks to Thies for noticing the problem. 2002-10-17 13:59:55 +00:00
Ilia Alshanetsky
47b57f2569 Added word_count() function that allows counting of words inside a string.
The function also allows the user to retrieve all the words from a string.
2002-10-17 03:27:19 +00:00
Wez Furlong
2f6952c936 Nope, that last one wasn't a leak in main/streams.c, it was
file_get_contents misinterpreting the result...
2002-10-15 16:45:26 +00:00
Sterling Hughes
57440cc984 hopefully silence compile warnings on Solaris related to HUGEVAL being
undefined.. HUGEVAL is defined (well the manual would indicate so) in
stdlib.h, not math.h.

Bug #: 19807
2002-10-15 14:51:01 +00:00
Ilia Alshanetsky
04db537d97 Added tests for %e & %E 2002-10-15 12:08:02 +00:00
Ilia Alshanetsky
95312e994e Fixed bug #4232. (Added support for %e and %E to printf/sprintf) 2002-10-15 12:07:36 +00:00
Ilia Alshanetsky
aba1996d95 Fixed bug #19649. 2002-10-14 18:13:18 +00:00
Ilia Alshanetsky
fed3b964ea Added float printing tests. 2002-10-14 16:31:56 +00:00
Ilia Alshanetsky
99f2fc81f3 Fixed a bug (introduced in previous patch) that caused non-double values to
be converted to 0 by printf/sprint functions when %f format is specified.
2002-10-14 16:03:16 +00:00
Wez Furlong
86e60a2d7a @- fgets($fp) (with no length parameter) now uses a buffer as long as the
@  the next line available from the $fp. Previously, there was a 1KB limit.
@  (Wez)
2002-10-14 02:28:35 +00:00
Wez Furlong
39f8d4c971 Add a sanity check and more verbose output in the case of an error. 2002-10-14 02:25:51 +00:00
Wez Furlong
70b796b143 (php_socket_errno) win32 errno compatible macro.
(php_socket_strerror) win32 compatible strerror replacement.
Add an E_NOTICE when a socket write fails.
2002-10-13 22:01:40 +00:00
Derick Rethans
f9fdd74a03 - Fixed bug #19885, dl() no longer gives a fatal error when a module
could not be loaded. (Derick)
2002-10-13 14:14:34 +00:00
Wez Furlong
3a8c49afc1 Make PHP follow 301 correctly.
# There may be other cases that need handling properly; I'll have to spend
# some time investigating why we even need special cases now; it's got
# something to do with Ilia's patch to fix memory leaks.
2002-10-13 01:03:43 +00:00
Derick Rethans
8f7f6045b0 - Make the test do what it says 2002-10-12 16:53:13 +00:00
Ilia Alshanetsky
bcf1d4ff80 Fixed a bug introduced by previous patch. 2002-10-12 16:09:01 +00:00
Stefan Esser
89f4f7b8f5 I already said that this construct was wrong...
most probably fixes bug #19876
2002-10-12 08:16:20 +00:00
Ilia Alshanetsky
a0489ac950 Fixed memory leaks. 2002-10-12 03:11:28 +00:00
Markus Fischer
f43e4cc93d - Document were the first test came from. 2002-10-11 18:06:15 +00:00
Ilia Alshanetsky
8c6088839b Added test for explode() function. 2002-10-11 15:19:57 +00:00
Ilia Alshanetsky
b7917def13 Fixed bug #19865 2002-10-11 14:48:25 +00:00
Derick Rethans
e06550f853 - Fix problem with var_export when objects with numeric indexes were
exported. We now skip those, as there is no way to export valid code for
  it.
2002-10-11 13:49:20 +00:00
Sander Roobol
524c9ef26a Fixed problems with the new nl2br() and beautified the code a little.
Closes #19858.
2002-10-11 12:42:01 +00:00
Derick Rethans
4da5ec8965 - Add case for bug 19858 2002-10-11 11:03:36 +00:00
Sebastian Bergmann
fcf35e7b4c Fix ZTS build. 2002-10-11 04:44:14 +00:00
Ilia Alshanetsky
287b7f9bcb Switched from localeconv to localeconv_r, which is apparently thread-safe. 2002-10-11 03:19:38 +00:00
Sterling Hughes
f61889e72d revert patch 2002-10-10 19:24:45 +00:00
Andrey Hristov
cd282dad98 ws fixes 2002-10-10 18:41:24 +00:00
Ilia Alshanetsky
bc14a6f133 This patch fixes handling of floats on locales where decimal point is not a
'.'. Problem is best demonstrated by bug #17079.
2002-10-10 16:29:35 +00:00
foobar
1b5ee53dd7 - Fix the text alignment to be about same in any browser.
# Please test this, it's now same in NS 4.78 (linux), IE 5.5 and
# Mozilla 1.2a (win32). (I don't have any other browsers installed now)
2002-10-10 04:28:15 +00:00
foobar
1345c76162 Revert previous change, it did not fix anything. 2002-10-09 23:18:47 +00:00
James Cox
fbd4b1733d overrule <center> 2002-10-09 22:32:01 +00:00
Sterling Hughes
2c4aa71d32 clean these functions up using zend_parse_parameters and nuke the use of
HASH_OF() which is inappropriate in these cases...
2002-10-09 18:29:45 +00:00
Sterling Hughes
521a9bdadc small cleanups... 2002-10-09 17:15:56 +00:00
Colin Viebrock
46a96d9363 no charsets, only basic entity escaping 2002-10-09 14:39:39 +00:00
Andrey Hristov
868ae8b6e0 ws fixes. 2002-10-09 13:50:06 +00:00
Ilia Alshanetsky
a75eb9c4dd Optimizations to various php string functions substr_count(), strrev(),
nl2br(), php_addslashes() and php_memnstr().
2002-10-09 13:37:02 +00:00
Andrey Hristov
0e5ff737f4 Test case for str_shuffle(). 2002-10-09 10:53:27 +00:00
Andrey Hristov
16a82f2b47 Returning to the old behavior of str_shuffle() a bit. Now the passed string is
left unmodified and the shuffled string is returned.
2002-10-09 10:33:22 +00:00
Ilia Alshanetsky
7d19c1b9e5 Added nl2br() test 2002-10-08 23:46:02 +00:00
Ilia Alshanetsky
8c77e13e92 Added test for strrev() function. 2002-10-08 21:51:59 +00:00
Colin Viebrock
080c7a789e don't define fonts ... use the browser defaults 2002-10-08 19:42:23 +00:00
Andrey Hristov
0ad8b4aa10 Now str_shuffle() has the randomization characteristics of shuffle().
str_shuffle() won't return anymore the randomized string and thus will be
consistent with shuffle(). Since this function is new to 4.3.0 no BC
problems.
#Thanks to Adam Trachtenberg for providing good example to check the
#permuations distribution.
2002-10-08 09:52:59 +00:00
Derick Rethans
2005705272 - Skip if the function is not available (in case pcre was not compiled in). 2002-10-08 09:46:31 +00:00
Derick Rethans
5a84ae6489 - Use error_reporting E_ALL 2002-10-08 07:55:02 +00:00
Dan Kalowsky
164188d122 Fix for bug #19798 (submitted by mclap@simpage.mv.ru) 2002-10-07 21:58:56 +00:00
Ilia Alshanetsky
d6775c5c3f Added tests for strstr(), strpos() and substr_count() functions. 2002-10-07 21:07:42 +00:00
Rasmus Lerdorf
ef9b51bcb0 readdir() was returning NULL instead of FALSE when used on an invalid
directory handle.  If someone forgot to check (as someone here did) that
the opendir() succeeded, and then followed the documented usage by checking
readdir()!==FALSE things would go awry.  The ZEND_FETCH_RESOURCE macro
explicitly does a RETURN_NULL on failure which is not what we want in this
case, so work around it.  No need to change it for the OO case since the
object is not created if the opendir fails.
2002-10-07 16:46:38 +00:00
Sander Roobol
00a2715eda We're testing stripCslashes() here :) 2002-10-06 19:26:56 +00:00
Sander Roobol
3e222bcbf1 Some more weird tests on Derick's request :) 2002-10-06 19:17:04 +00:00
Sander Roobol
9edfd75a5c Some string tests 2002-10-06 19:12:22 +00:00
Derick Rethans
bd48e0cfe9 - Add new tests for: array_change_key_case, array_chunk and
array_count_values.
2002-10-06 18:42:03 +00:00
Sander Roobol
004d3d3a30 Fix another leak in implode() 2002-10-06 18:39:03 +00:00
Rasmus Lerdorf
f32d63a3b3 Add php_ini_scanned_files() so "make test" can tell you when you have
additional .ini files that are scanned.
2002-10-06 17:04:10 +00:00
Sander Roobol
af14a8e75f You can't detect NULL nicely - false is better and more PHPish. 2002-10-06 17:00:33 +00:00
Sander Roobol
533fda4121 Fixed getopt() - made it actually work 2002-10-06 16:33:14 +00:00
Ilia Alshanetsky
12f47fe85a Added expected data to parse_url() test 2002-10-06 16:15:06 +00:00
Ilia Alshanetsky
1bbb55ec11 Added a much faster parse_url() implementation. This also fixes a number
of bugs in the old parse_url() implementation.
2002-10-06 16:14:42 +00:00
Zeev Suraski
df55f35798 Revert the implicit_flush mess.
Do not revert it again under any circumstances!

Yasuo/anybody else - if there are issues with implicit_flush, please inform
me and I will fix them.
2002-10-06 12:02:53 +00:00
Sander Roobol
68cd067670 Fixed segfault and memory leak in the new implementation of implode() 2002-10-06 11:28:11 +00:00
Sander Roobol
8cf14a42f5 Add testcases for implode() and str_repeat() 2002-10-06 11:26:49 +00:00
Zeev Suraski
de36720e0e Begin the cleanup - remove ob_flush_all() 2002-10-06 09:06:24 +00:00
Derick Rethans
b007bd0696 - Add parse_url() tests (expect will follow later)url_t.phpt 2002-10-05 20:28:35 +00:00
Wez Furlong
9d5bab5a0d EOF related fixes. 2002-10-05 10:59:35 +00:00
Wez Furlong
93f9eea77d Revert. The problem lies elsewhere. 2002-10-05 10:58:55 +00:00
Wez Furlong
ae36c08b54 Fix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined. 2002-10-05 10:55:54 +00:00
Wez Furlong
077fe52d8b This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for user streams - it still fails but that is due to an output
buffering bug.
2002-10-05 10:35:13 +00:00
Stefan Esser
87c0577a0c some broken ftp servers return 32bit port numbers. 2002-10-04 21:58:39 +00:00
Sterling Hughes
df837e67c7 have implode use the smart_str_*() functions, this should speed things up
quite a bit...
2002-10-04 20:44:19 +00:00
Rasmus Lerdorf
5610e348ec Kill a few more warnings 2002-10-04 18:03:29 +00:00
Marcus Boerger
3d6ecdeff0 return FALSE on error 2002-10-04 17:17:01 +00:00
Sander Roobol
e6e2c1c70d Fixed a bug in the new implementation of str_repeat() 2002-10-04 17:10:51 +00:00
Derick Rethans
ec6713f1ca - dot :) 2002-10-04 16:55:46 +00:00
Sterling Hughes
5605dcf7b6 fix a memory leak in implode()
# kept seperate from last commit on purpose.. ;)
2002-10-04 16:54:56 +00:00
Sterling Hughes
abc9991925 @ Make the glue argument to implode() optional, if it is not specified
@ default to using "". (Sterling)
2002-10-04 16:53:14 +00:00
Rasmus Lerdorf
989a61ed98 As discussed, add --with-config-file-scan-dir compile-time switch defining
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed.  This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting.  A list of parsed ini files is maintained and shown on the
phpinfo page.
2002-10-04 04:47:35 +00:00
Sean Bright
114dff39ce Add missing ?> 2002-10-04 02:34:15 +00:00
Sascha Schumann
df0ea33d2b peek at freebsd's libc and fix _php_math_basetozval
PR: #19733
2002-10-04 02:21:33 +00:00
Sascha Schumann
cfaffd2185 overflow check for _php_math_basetozval 2002-10-04 02:20:41 +00:00
Sascha Schumann
397277b8c3 Fix php_stat brokenness. 2002-10-04 01:05:03 +00:00
Andrey Hristov
52c529c5af ws fixes.
#again :)
2002-10-03 18:15:18 +00:00
Ilia Alshanetsky
2ea2b662a4 Optimized str_repeat() function, it is now 10x faster on 1 byte multipliers
and 5-6x faster on multi-byte multipliers.
2002-10-03 13:59:31 +00:00
Yasuo Ohgaki
39b0eb9b22 Fixed broken code by Derick.
ob_implicit_flush() and ob_flush_all() are stopped working.
var_dump() and hightlisht_string() outputs buffer contents wrongly
with ob_implicit_flush().

Everyone should be happy now.
It was only OG(implicit_flush) interpretation issue after all.
2002-10-03 13:32:01 +00:00
Andrey Hristov
ae70a4e458 few ws fixes. 2002-10-03 12:06:52 +00:00
Andrey Hristov
cebb0f76b8 ws fixes. 2002-10-03 10:42:57 +00:00
Derick Rethans
9b517c4b93 - Revert changed to implicit_flush behavior. The new behavior was not
intended in the first place.
2002-10-03 10:35:33 +00:00
Yasuo Ohgaki
b0fcd61207 Fixed broken higlight_string() 2002-10-03 09:19:31 +00:00
Yasuo Ohgaki
1731767272 Prevent unwanted fluhsing. 2002-10-03 08:54:45 +00:00
Yasuo Ohgaki
66a50c5373 Added ob_flush_all() that flushes bufferred contents until it actually
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)
2002-10-03 07:17:14 +00:00
Yasuo Ohgaki
f6dfd6b184 Forgot 1 byte for \0 2002-10-03 04:56:54 +00:00
Yasuo Ohgaki
5f1bb18c36 Save memory 2002-10-03 04:54:01 +00:00
Yasuo Ohgaki
bd177ce7c1 Added ob_get_clean() and ob_get_flush().
Someone requested this feature before.
@ Added ob_get_clean() and og_get_flush(). (Yasuo)
2002-10-03 01:36:44 +00:00
David Reid
9b10843481 Add more BeOS support... 2002-10-02 23:52:08 +00:00
Andrey Hristov
83a0f20381 Making strrchr() binary safe.
Test case added.
2002-10-02 18:58:09 +00:00
Andrey Hristov
2092d80230 Making strstr() binary safe. 2002-10-02 18:41:55 +00:00
Andrey Hristov
b2d93b67fc Ws fix. Forgot to add this in the previous commit. 2002-10-02 18:13:56 +00:00
Andrey Hristov
f02b1507dc ws fixes. 2002-10-02 17:56:04 +00:00
Colin Viebrock
f871f3870d Fix for SRM module (and maybe others). Header rows are now not HTML
escaped, so make sure you do this yourself in the modules.
2002-10-02 14:27:32 +00:00
Stefan Esser
a87f4afc35 repairing the chaos
utime("filename", NULL) is not only valid but a MUST on linux if you are
not the owner...
2002-10-01 21:53:25 +00:00
foobar
8634346e73 - Removed unnecessary dlopen checks. (this is done in Zend.m4 already) 2002-10-01 01:47:09 +00:00
David Reid
6477b0b5d8 Use the built in autoconf test for fnmatch. Simply using the
AC_CHECK_FUNCS seems to give false positives on beos and reading
the comments on other systems as well.
2002-09-30 23:31:13 +00:00
Sascha Schumann
21300f5e5a sync 2002-09-30 04:59:01 +00:00
Sascha Schumann
aa9bb5aefa Fix my stupid mistake which broke <form> handling 2002-09-30 04:56:38 +00:00
Jon Parise
033224784b @ - Added getopt() for parsing command line options and arguments. (Jon) 2002-09-30 03:02:52 +00:00
Ilia Alshanetsky
0454bf2d0d Removed the ceil(-0.5); test. The return value is depedant on system's
libc and even when proper value '-0' is returned, var_dump() converts
it to 0 anyway.
2002-09-29 21:45:54 +00:00
Ilia Alshanetsky
0e7e7ae961 Corrected ceil(-0.5) output value, it is 0 not -0. 2002-09-29 19:21:10 +00:00
Wez Furlong
7694770304 Rename streams functions to fit with naming conventions, adding aliases
for old functions where required.
Make use of recent changes to chunk size and timeout setting code.
2002-09-28 22:14:21 +00:00
Wez Furlong
8aae36aecb Add missing folding marker. 2002-09-28 13:04:47 +00:00
Yasuo Ohgaki
ec340e039a It must be GLOB_NOCHECK instead of GLOB_NOMATCH.
GLOB_NOMATCH does not make sense at all.
2002-09-28 09:14:45 +00:00
Wez Furlong
315e0a599b Implement stream_select() which works just like socket_select, but only on
streams.
@ - Added stream_select() which works like socket_select but only works on
@   streams returned by fopen(), fsockopen() and pfsockopen(). (Wez)
2002-09-27 23:42:38 +00:00
Colin Viebrock
69e677cda7 fix formating by breaking on to separate lines 2002-09-27 16:05:47 +00:00
foobar
08d3ad407c ws 2002-09-27 13:15:56 +00:00
Hartmut Holzgraefe
5797668cc3 /tmp/cvsmLUuXQ 2002-09-27 12:40:31 +00:00
Edin Kadribasic
bf094736b7 Update credits.
# Updated by scripts/credits. For some reason it put "Java" and "Win32 COM"
# twice. I removed the duplicates manually.
2002-09-27 12:23:49 +00:00
Yasuo Ohgaki
7dae78b7f5 No need to define GLOB_NOMATCH. 2002-09-27 11:44:42 +00:00
Jan Lehnardt
bcb3067d34 - be more conservative ;) 2002-09-27 10:17:52 +00:00
Sebastian Bergmann
cb6ef08e8c Fix ZTS build. 2002-09-26 19:48:56 +00:00
Colin Viebrock
982c510cd9 update credits page with proper HTML, fix HTML escaping, and a few tweaks 2002-09-26 19:33:23 +00:00
Sebastian Bergmann
fd7326395b Fix warning. 2002-09-26 19:18:35 +00:00
Sebastian Bergmann
b5d4b5496d Fix ZTS build. 2002-09-26 18:13:32 +00:00
Colin Viebrock
c7c275b741 fix phpinfo() output for better browser BC 2002-09-26 17:54:54 +00:00
Wez Furlong
4d9d06c874 Emit a warning when an unsupported charset is requested in htmlentities.
Fixed #18521.
2002-09-26 16:07:14 +00:00
Wez Furlong
c484eb8c97 Fix segfault in wrapper error log mechanism when errors are logged on
second and subsequent events.
Implement very simple recursion protection for user streams written
like this:
class urlEncodeStream {
    var $fp = NULL;

    function stream_open($path, $mode, $options, &$opened_path)
    {
        $this->fp = fopen($path, $mode); // <-- this recurses infinitely
        return is_resource($this->fp);
    }
}

file_register_wrapper('urlencode', 'urlEncodeStream');
$fp = fopen('urlencode:///tmp/outputfile.txt', 'w');

Noticed by: Yasuo.
2002-09-26 12:12:27 +00:00
Jan Lehnardt
1f227cd2e3 - GLOB_NOMATCH and GLOB_NOESCAPE are only defined in win32/glob.h
- fixes build on FreeBSD 4.6
2002-09-26 11:19:26 +00:00
Wez Furlong
4c2a9c091b Remove an unused variable and a now-unused function. 2002-09-26 10:17:41 +00:00
Wez Furlong
3a67c67737 Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias for file_get_meta_data.

Fix Location header following which was broken in this commit:
http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h
2002-09-26 10:14:41 +00:00
Yasuo Ohgaki
7d87babada Remove dup 2002-09-26 07:55:59 +00:00
Sebastian Bergmann
f5426838f9 Fix ZTS build. Fix warning. 2002-09-26 07:30:16 +00:00
Hartmut Holzgraefe
1a2df34d9d fix windows build 2002-09-26 07:15:33 +00:00
Hartmut Holzgraefe
0d815b5713 glob should now be ZTS/open_basedir/safe_mode aware (finally) 2002-09-26 00:27:52 +00:00
Hartmut Holzgraefe
419efa6eeb symbolic constants for fnmatch flags added 2002-09-26 00:27:13 +00:00
Andrey Hristov
7badd563cb Test case for strspn()/strcspn(). 2002-09-25 19:08:38 +00:00
Andrey Hristov
f80a817f7c Added common handler for strspn() and strcspn(). Almost of the code is
identical. Modified to accept up to 4 params. Last 2 optional start & len.
They are analogic to start & len of substr(). So the behavior when start &
len are used is like
strspn(substr($s,$start,$len),$good_chars) and
strcspn(substr($s,$start,$len), $bad_chars)
2002-09-25 19:06:29 +00:00
Andrey Hristov
fc46a46b06 str_shuffle() function added. Like shuffle() for arrays - however the
algorithm for creating the permutation is quite simple. More like
the implementation of shuffle() for 4.2.1 .
2002-09-25 18:06:05 +00:00
Andrei Zmievski
c9b9e63ea3 *** empty log message *** 2002-09-25 17:48:10 +00:00
Wez Furlong
0141e97052 Make these all work with persistent streams too. 2002-09-25 15:46:47 +00:00
Wez Furlong
696e0a2301 Implement persistent streams. (for pfsockopen).
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c
2002-09-25 15:25:12 +00:00
Andrei Zmievski
27255d7419 Fix bug #17570. 2002-09-25 14:02:34 +00:00
Ilia Alshanetsky
322a24a526 prevent segv on Windows with negative localtime values. 2002-09-25 12:20:56 +00:00
Sascha Schumann
c57d419925 Sync 2002-09-25 12:15:42 +00:00
Sascha Schumann
41c0b43772 Allow - as part of an attribute
PR: #19573
2002-09-25 12:15:22 +00:00
Sascha Schumann
7af64ef531 Fix #13472 by making it possible to append the <input> stuff after
<fieldset> for xhtml compliance.
2002-09-25 11:06:24 +00:00
Sascha Schumann
91bbb302c1 Sync with .re 2002-09-25 10:36:19 +00:00
Sascha Schumann
3cadecec1b Allow malformed HTML such as
<a onClick=window.open("/hardware/somevar.php?hinfoid=","chgti") ..>

where ["'] are part of the attribute value.
2002-09-25 10:35:28 +00:00
Ilia Alshanetsky
f91b3d5c6d Fixed bug #17957 2002-09-24 16:34:54 +00:00
Zeev Suraski
5f1bffe0cd Fix indirection 2002-09-24 10:55:56 +00:00
Wez Furlong
a12423f959 Fix for #19570: last character in translation table is omitted. 2002-09-24 10:05:45 +00:00
Wez Furlong
4cdf8c7c36 Fix EOL markers for file() so that Mac EOL work correctly. 2002-09-24 02:46:38 +00:00
Wez Furlong
d14a7e0c19 WS 2002-09-23 18:13:31 +00:00
Wez Furlong
c74b9faca5 Implement a default_socket_timeout and auto_detect_line_endings ini options.
Also move user_agent from BG to FG.
2002-09-23 18:12:39 +00:00
Wez Furlong
35d29fb69e basic_functions.c 2002-09-23 17:27:37 +00:00
Sascha Schumann
7915f83342 (PHP touch) Remove an extraneous time() call.
Yasuo added this line in rev 1.90 for no apparent reason.
2002-09-23 14:59:24 +00:00
Sebastian Bergmann
fd329d2cd1 Fix warning. 2002-09-23 14:20:02 +00:00
Wez Furlong
9e84b3d5b5 Revise buffer/seek code a little.
Tidy up user streams even more.
Make test case quite aggressive.
2002-09-23 13:22:10 +00:00
Wez Furlong
4d8a07d529 Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.
2002-09-23 01:47:04 +00:00
Derick Rethans
d52983dfab - Unbreak build 2002-09-22 16:23:44 +00:00
James Cox
b1b0230e6d typo 2002-09-22 16:14:11 +00:00
Derick Rethans
9c6f744649 - Fix ZTS build 2002-09-21 18:25:04 +00:00
Ilia Alshanetsky
fda169417f Added a test script for strip_tags() function. 2002-09-21 17:34:45 +00:00
Ilia Alshanetsky
8fc94a082f Fixed bug #7472 as well as many other bugs with strip_tags implementation. 2002-09-21 17:34:06 +00:00
Andrey Hristov
9ee1ce156f ws fixes.
#hope not to be flamed :)  what a wonderful day.
2002-09-21 16:10:33 +00:00
Ilia Alshanetsky
78f3ad40a8 Fixed bug #12934
locatime() now returns an error message when passed a negative value.
2002-09-21 15:41:20 +00:00
Sascha Schumann
30f038be18 Add '+' modifier.
+      A sign (+ or -) always be placed  before  a  number
              produced by a signed conversion.  By default a sign
              is used only for negative numbers. A + overrides  a
              space if both are used.
2002-09-21 15:08:59 +00:00
Andrey Hristov
9980cf5f53 Test case for array_intersect() and array_intersect_assoc() 2002-09-21 14:50:55 +00:00
Andrey Hristov
a920f00479 New function added - array_intersect_assoc() similar to array_intersect()
but the keys are also used in the comparison. So the result is a subset of
the result of array_intersect().
Test will be committed too.
2002-09-21 14:50:04 +00:00
Ilia Alshanetsky
bc8eda5385 Fixed bugs #12989 and #12120 2002-09-20 11:48:47 +00:00
Colin Viebrock
14a6cc8847 Change phpinfo() to use CSS styling instead of HTML code.
It doesn't render as nicely as it used to on older browsers, but it
does result in smaller files, and opens the door to using your own CSS
to style it differently.

There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so
Derick has the patch.
2002-09-19 21:57:25 +00:00
Ilia Alshanetsky
a694fa9ca7 Fixed bug #19313
Fixed argument count check for system/exec/passthru functions
Added a check to system/exec/passthru functions to make sure execution
parameter is not blank before attempting to execute it.
2002-09-19 18:59:32 +00:00
Ilia Alshanetsky
9259c4e598 Fixed bug #19414 2002-09-19 18:22:51 +00:00
Zeev Suraski
aaf8d48fc3 Fix the last part of bug #13982 (ignore_user_abort() settings were 'leaking'
between requests)
2002-09-19 16:01:53 +00:00
James Cox
70f17979fb white background please 2002-09-18 21:56:00 +00:00
Ilia Alshanetsky
0dddad02fa Fixed bug #19446 2002-09-18 21:34:30 +00:00
Ilia Alshanetsky
869c42a511 Added additional handlers for compressed swf files, which require
entire file to be downloaded for successful decompression.
2002-09-18 20:37:24 +00:00
Wez Furlong
ff7bece5bb Tidy up some user stream code.
Add a small test case (not yet complete).
2002-09-18 10:15:40 +00:00
Hartmut Holzgraefe
f8358b44d1 setlocale() will now accept multiple locale arguments, first match wins 2002-09-18 07:55:30 +00:00
Hartmut Holzgraefe
4e6635742d it should not only work for the failure case
but also not fail (segfault) on the working case
2002-09-17 13:54:40 +00:00
Hartmut Holzgraefe
c5d4be214c stupid lino-typo .... :( 2002-09-17 12:59:36 +00:00
Hartmut Holzgraefe
0c7d9c3742 headers_sent() may now return information about where output started
using the optional $file and $line reference parameters
2002-09-17 12:37:26 +00:00
Jan Lehnardt
53b0623878 - fix typo in comment 2002-09-14 12:09:47 +00:00
Andi Gutmans
288e9b1793 - Don't think we need the do { } while (0) here 2002-09-14 06:38:48 +00:00
Ilia Alshanetsky
687312be41 Do not create the destination file, if opening of the source file failed
during copy().
2002-09-13 13:34:06 +00:00
Stefan Esser
714eb8069a made new ssl activate function the default. 2002-09-12 21:52:09 +00:00
Andrey Hristov
23d3cd79c1 Fixing my zts fix.
#Sorry Edin
2002-09-12 08:20:37 +00:00
Andrey Hristov
ad92434638 Removed magic numbers about the behavior of php_array_diff - proposed by
Andi and Jon Parise.
#It is strange that I commited ZTS code but after that Edin fixed ZTS build
#when I updated - it wasn't ZTS. hmmm. anyway fixing ZTS build.
2002-09-12 08:04:42 +00:00
Edin Kadribasic
ad34142e97 My compiler likes it like this. 2002-09-11 23:10:58 +00:00
Edin Kadribasic
705e72f363 Fix ZTS build. 2002-09-11 23:09:11 +00:00
Sterling Hughes
b34bec20a7 max this use the virtual_filepath() function and feel all threadsafe and
wholesome inside
2002-09-11 22:40:56 +00:00
Derick Rethans
aaf920f9d5 - Little whitespace changes 2002-09-11 18:40:56 +00:00
Andrey Hristov
2b710f7e5c Regression test for array_diff() and array_diff_assoc(). The latter is newly
introduced.
2002-09-11 18:16:11 +00:00
Andrey Hristov
afdfe38ef3 New function added : array_diff_assoc() . Like array_diff() but does
additional checks on key values. Test script will be added too.
#My first patch . it feels strange :)
2002-09-11 18:13:48 +00:00
foobar
746c147670 tok tok.. 2002-09-11 14:51:09 +00:00
foobar
daf6a5ab1a ws fix 2002-09-11 14:40:52 +00:00
foobar
be52343850 fix proto 2002-09-11 14:24:27 +00:00
foobar
a254506a3c ws fix 2002-09-11 14:21:39 +00:00
Edin Kadribasic
333b01b041 Fixed ZTS build. 2002-09-10 22:36:43 +00:00
Andrei Zmievski
dd7cf22443 @- Fixed array_merge_recursive() to avoid problems with merging cyclical
@  arrays (bug #16064). (Andrei)
2002-09-10 18:34:16 +00:00
Stefan Esser
184323cbe5 php_url_parse() replaces controlchars with '_' now. This stops fopen wrapper
CR/LF injection issues.
2002-09-10 08:06:25 +00:00
Andrei Zmievski
2c6154d7aa @- Added ability to extract() variables as references via OR'able EXTR_REFS
@  flag. (Andrei)
2002-09-09 20:05:20 +00:00
Wez Furlong
8a85e0f614 put that back... 2002-09-09 19:11:35 +00:00
Wez Furlong
6bc7e97161 Revert Dericks accidental commit :-)
Add an Id tag so we can see at a glance who is to blame.
2002-09-09 19:09:23 +00:00
Anantha Kesari H Y
97a601fc15 NetWare related changes/modifications 2002-09-09 10:12:44 +00:00
Stefan Esser
cbf5e3ca06 Added possibility to reuse an old SSL session id.
Ugly but needed for f.e.: debians ftpd-ssl
2002-09-08 22:26:11 +00:00
Shane Caraveo
2c6dca5a6e someone missed code requiring ssl 2002-09-08 20:52:03 +00:00
Stefan Esser
8dbcb26fd0 ftp(s) fopen() wrapper does no longer ignore the ip returned by PASV. 2002-09-08 19:35:42 +00:00
Stefan Esser
9fca868f90 Control connection gets closed in ssl mode now, too. 2002-09-08 19:11:07 +00:00
Stefan Esser
ec4a3fa68e Added EXPERIMENTAL ftps fopen wrapper.
For now this leaks the control connection stream because you cannot
close the control connection in ssl mode before you read the data.
2002-09-08 16:45:32 +00:00
Sander Roobol
8a9820331c Fix typo 2002-09-08 08:08:35 +00:00
Jan Lehnardt
de3b5c3631 - cosmetics 2002-09-07 23:14:22 +00:00
Ilia Alshanetsky
407088509f Added a check to ensure user_agent header is not sent if user_agent value
if blank.
2002-09-07 21:57:11 +00:00
Wez Furlong
3df412cf9b Fix a couple of bad pointer indirections (oops).
Lets stick to a single category of "http" for the "user_agent"
context override.
2002-09-07 20:58:30 +00:00
Wez Furlong
97f134cb45 fix warning 2002-09-07 20:54:14 +00:00
Wez Furlong
30082fdb68 Implement php://output wrapper, which can be used to write to the output
buffer via PHPWRITE.
2002-09-07 19:00:46 +00:00
Sterling Hughes
ce686a63de commit the correct/up-to-date version 2002-09-07 15:55:04 +00:00
Sterling Hughes
91df221ab7 @ Made the User-Agent that php's fopen wrappers send, configurable via
@ php.ini or via a stream context. (Sterling)

The stream context is untested, but it should/could work :)  Either way it
doesn't make the rest of the code bad. Wez -- please take a looksie for me
:)
2002-09-07 15:45:29 +00:00
Ilia Alshanetsky
3c95ac6b4f Fixed a massive memory leak that occurs when an opened webpage returns
a non 200 return code.
2002-09-07 07:13:43 +00:00
Derick Rethans
828c2a9c46 - argh... this is getting annoying 2002-09-06 07:47:49 +00:00
Anantha Kesari H Y
338332c799 NetWare related changes/modifications 2002-09-06 07:44:30 +00:00
Derick Rethans
dc3ea09991 - Please do not use spaces for indentation!
- Removed redundend ifdefs
2002-09-06 07:30:51 +00:00
Anantha Kesari H Y
dc5d3f5585 NetWare related additions/modifications 2002-09-06 07:27:27 +00:00
Anantha Kesari H Y
0ea12a47ab NetWare related additions/modifications 2002-09-06 06:39:57 +00:00
Dan Kalowsky
e560822fa7 silence a windows build warning 2002-09-05 21:29:39 +00:00
foobar
71ecad8fbe Remove unnecessarily commented code. 2002-09-05 21:16:34 +00:00
foobar
d94758bec2 Remove unnecessary commented code. 2002-09-05 21:12:55 +00:00
Derick Rethans
2b6ba50601 - Unbreak build 2002-09-05 18:11:33 +00:00
Derick Rethans
99850fcc28 - Tabs for indentation 2002-09-05 14:36:33 +00:00
Derick Rethans
5c0b6f7fa8 - Please use tabs for indentation 2002-09-05 14:32:47 +00:00
Anantha Kesari H Y
8b8f1e0590 NetWare related additions/modifications 2002-09-05 14:25:07 +00:00
Ilia Alshanetsky
eb58557e1c Fixed a buffer overflow that occurs when wordwrap is unable to calculate
the correct number of times the multi-byte break needs to be inserted into
the string.
2002-09-05 14:00:28 +00:00
Anantha Kesari H Y
96a4626b68 NetWare related additions/modifications 2002-09-05 12:09:57 +00:00
Anantha Kesari H Y
3e867bfdb1 NetWare related additions/modifications 2002-09-05 12:03:43 +00:00
Derick Rethans
60dcc761ac - php_error -> php_error_docref
- corrected proto of implode() (to match the docs)
2002-09-05 11:29:31 +00:00
Hartmut Holzgraefe
101d155baa in stristr:
this check was in the wrong place, the real version was some lines
below, this one assumed the type was 'string' in any case
now it looks like strstr
2002-09-05 11:12:01 +00:00
foobar
639221694f Use zend_ini_string instead of the 'alias'. 2002-09-03 22:54:02 +00:00
Jan Lehnardt
2334abeff4 - cosmetics 2002-08-31 21:43:54 +00:00
Jan Lehnardt
81dcd62bc2 - seperate registered streams.
#read: make sebastian happy ;)
2002-08-29 18:28:11 +00:00
Ilia Alshanetsky
7a7497e21b Fixed the \0 check in previous patch. 2002-08-29 15:58:33 +00:00
Ilia Alshanetsky
337448322f Fixed bug #18966 2002-08-29 15:44:00 +00:00
Jan Lehnardt
e1cac684df - fix ZTS build. thanks to edin. 2002-08-29 09:11:22 +00:00
Ilia Alshanetsky
f387972a97 Fixed compile warning (unused variable)
Added a \n separator between Addition Modules
2002-08-28 23:19:59 +00:00
Jan Lehnardt
6676617693 - add phpinfo() support for CLI.
@phpinfo() support for CLI (jan)
2002-08-28 22:31:51 +00:00
Rasmus Lerdorf
89651dabde Description didn't match the function here 2002-08-28 22:14:42 +00:00
Dan Kalowsky
936df3c34f silence build warning, added default case 2002-08-28 06:13:49 +00:00
Marcus Boerger
6063c8c478 fix fwrite to no longer apply stripslashes on input string when
magic_quotes_runtime is set On.
2002-08-26 23:18:59 +00:00
Marcus Boerger
f0b492b88d fix proto and tweak error message 2002-08-26 23:16:51 +00:00
Derick Rethans
fc7eb838fc - Whitespace 2002-08-26 09:47:46 +00:00
Derick Rethans
7edb660af9 @- Use escape_shell_cmd() to allow multiple extra parameters to the
@  invocation of the mailer as used in the fifth parameter to mail(). (Derick)
- Use escape_shell_cmd() to allow multiple extra parameters to the invocation
  of the mailer as used in the fifth parameter to mail().
2002-08-26 09:44:31 +00:00
Wez Furlong
ddddf398af WS 2002-08-25 19:44:25 +00:00
Ilia Alshanetsky
64ef43ecd4 Slight optimization of php_strtoupper & php_strtoupper functions. 2002-08-25 19:08:07 +00:00
Marcus Boerger
ba40963985 improoved error messages 2002-08-25 18:21:40 +00:00
Wez Furlong
5c6ad38c31 Prevent possible problems with include_path. 2002-08-25 12:09:57 +00:00
Wez Furlong
c7be7b55d1 Add a "closing" parameter for filters to determine if a flush is the last
flush before the stream is closed.  This allows filters to finish a chunk
and write footers etc.
2002-08-25 10:26:58 +00:00
Stefan Esser
3efb925931 Overwrite control chars in parameters with whitespace instead of truncating. 2002-08-24 11:37:50 +00:00
Marcus Boerger
149ad05b4f php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Zeev Suraski
5a5e206ec2 Fix import_request_variables() 2002-08-24 00:45:09 +00:00
foobar
ff5ed789bc style fix 2002-08-22 01:20:50 +00:00
Ilia Alshanetsky
ea1bb5e172 Added monetary.h to prevent compile warning.
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault inside money_format in the event the value
to be formated is >1024 bytes.
Made the return value of money_format be null terminated.
2002-08-21 13:14:57 +00:00
Marcus Boerger
95e933fc99 Fixes array test 004.phpt. Nice copy paste error. 2002-08-21 11:23:44 +00:00
Marcus Boerger
a70640480a Patch from Melvyn Sopacua <msopacua@idg.nl> finally fixes it (bug 19006). 2002-08-21 10:42:55 +00:00
Sebastian Bergmann
090e30a863 Fix ZTS build. 2002-08-21 06:22:19 +00:00
Marcus Boerger
d3d12daec4 add ini setting precision - this does not fix the real problem here 2002-08-21 03:13:33 +00:00
Marcus Boerger
be1e23cbc9 Add var_dump float format test 2002-08-21 01:27:56 +00:00
Marcus Boerger
534a63b5af Add combined base64 and md5 test 2002-08-21 01:26:21 +00:00
Marcus Boerger
9607a482b2 fix array tests
someone must have changed precision in php.ini-dist from 14 to 12
2002-08-21 01:22:02 +00:00
Wez Furlong
9d348ea800 Implement filter API for streams.
Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the following script:

$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");

// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);
2002-08-20 20:47:47 +00:00
Wez Furlong
a9ba30cd89 fix vim modeline 2002-08-20 20:43:45 +00:00
Marcus Boerger
0f8681fc69 Changed handling of output buffer sizes. 2002-08-20 20:07:00 +00:00
Marcus Boerger
7bd7e14e4c Changed handling of output buffer sizes.
#.c to follow
2002-08-20 20:01:14 +00:00
Derick Rethans
c20c3fc610 - Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974) 2002-08-20 11:18:18 +00:00
Wez Furlong
5f9a5a7c8e Remove php_stream_sock_set_blocking and replace with
php_stream_set_option which can be used in a similar way as ioctl()
to set options for streams.

Current options include buffering and blocking support.

o Buffer control is support for stdio based streams.
o Blocking/non-blocking is supported for stdio and socket based streams.
2002-08-19 22:59:10 +00:00
Ilia Alshanetsky
6dbc0e5483 Convert the value of tz_minuteswest inside struct timezone on Windows to
minutes from seconds.
2002-08-19 21:59:46 +00:00
Zeev Suraski
df4fdeb54e Fix a warning 2002-08-19 20:47:42 +00:00
Sander Roobol
bed405cce4 Sync with var_unserializer.re 2002-08-19 20:02:59 +00:00
Sander Roobol
47ae4068bb Made unserialize handle floats with an E notation - bug #18654
Patch by Christophe Sollet <csollet@coleebris.com>.
(I'll commit a new var_unserializer.c in a second)
2002-08-19 19:45:46 +00:00
Stanislav Malyshev
2282ac6074 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-19 10:58:18 +00:00
Stanislav Malyshev
05156fa349 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-18 12:22:28 +00:00
Ilia Alshanetsky
1aea030cf2 Corrected if() syntax in previous patch. 2002-08-18 07:54:33 +00:00
Ilia Alshanetsky
d42dbfce8e Fixed a segmentation fault that would occur if an entry contained a
non-terminated enclosure. Bug #12556
2002-08-18 06:55:32 +00:00
Ilia Alshanetsky
3bd899ea43 Fixed a compile failure in Win32 caused by previous patch.
Changed else statement to comply with PHP coding standards.
2002-08-16 15:04:00 +00:00
Ilia Alshanetsky
f11c3a4095 Added a handler for php -r '' for SAFE_MODE 2002-08-16 12:47:56 +00:00
Sterling Hughes
88c1d8983f clean this up a bit 2002-08-16 10:08:32 +00:00
Ilia Alshanetsky
b284497eaf Added safe_mode & open_basedir check when a user is chaning ini options
that specify file system paths. Fixes bug #17168.
2002-08-16 01:39:10 +00:00
Dan Kalowsky
dee21adc3d Fix for bug #18401, makes shuffle() properly generate all possibilities.
Patch provided by Adam Trachtenberg <adam@trachtenberg.com>
2002-08-15 19:09:05 +00:00
Marcus Boerger
18ef76e361 do not include "php_have_iconv.h" 2002-08-14 23:48:52 +00:00
Dan Kalowsky
19e42a2ed3 Fixed another memory leak, patch provided by Ilia <ilia@prohost.org> 2002-08-13 23:12:54 +00:00
Dan Kalowsky
ed135034a9 Fixes a memory leak which results when an invalid format code is
specified.  Patch by Ilia <ilia@prohost.org>
#Someone give him php4 karma :)
2002-08-13 21:56:39 +00:00
Rasmus Lerdorf
b025bb1023 Missing proto 2002-08-13 05:08:47 +00:00
Rasmus Lerdorf
f50df31d7f bool not boolean 2002-08-13 04:44:45 +00:00
Rasmus Lerdorf
d820c177bf dir() returns an instantiated object, not a class. 2002-08-13 04:24:15 +00:00
Wez Furlong
fc1ef270ce Implement curl based wrappers.
Currently read-only, and http is the only thing tested.
Because of this, using them can be controlled by configure:

--with-curlwrappers     Use CURL for url streams

Not for production use...

This enables http, https, ftp and ldap protocols as streams.
2002-08-12 15:56:13 +00:00
Wez Furlong
3fe62cf0fb Missing word... 2002-08-11 18:51:40 +00:00
Wez Furlong
bcef712ad6 Properly implement TSRM parameters to the new log_error
function... (Thanks Marcus!)
Add a convenience macro for importing a stream from a zval.
2002-08-11 14:29:01 +00:00
Wez Furlong
5a21ab42cb Introduce an error stack for wrappers, to help prevent multiple errors
and warnings (some of which are bogus) when there are problems opening
streams.
Implement sanity check on the mode used to open ftp and http connections.
This fixes Bug 12004.
2002-08-11 10:53:10 +00:00
Marcus Boerger
21903dfc7e corrected handling of internal output buffers
minor fixs
2002-08-10 16:12:36 +00:00
Marcus Boerger
9c8ba935d6 Improved handling of output buffers (see news)\n#No trim for the string parameter... 2002-08-09 22:29:58 +00:00
Wez Furlong
ccb5c84b6c Centralize some blocking socket related code.
# It's been a while since I wrote this!
2002-08-09 21:02:36 +00:00
Marcus Boerger
783fddeb0f possible memoryleak 2002-08-09 20:53:37 +00:00
Yasuo Ohgaki
c528157123 Remove duplicated checks. 2002-08-08 22:59:41 +00:00
Hartmut Holzgraefe
1059312f37 reverting ' to \" to stop stupid discussions
although i still do not believe the arguments are reasonable ...
2002-08-08 20:19:33 +00:00
Marcus Boerger
9cf0c30968 those are allways defined -> fixes warning in basic_functions.c 2002-08-08 17:53:52 +00:00
Hartmut Holzgraefe
e539c5564d the order to do things is save-compile-commit
no variations and make sure editor and shell are in the same dir :(
2002-08-08 13:59:19 +00:00
Hartmut Holzgraefe
83586a6c06 fix for #18782 (setting background color without making sure the text
crtmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.
cvs [update aborted]: received interrupt signal

hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.c
RCS file: /repository/php4/ext/standard/info.c,v
retrieving revision 1.184
retrieving revision 1.188
Merging differences between 1.184 and 1.188 into info.c
rcsmerge: warning: conflicts during merge
cvs server: conflicts found in ext/standard/info.c
C ext/standard/info.c

hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs log ext/standard/info.c

RCS file: /repository/php4/ext/standard/info.c,v
Working file: ext/standard/info.c
head: 1.188
branch:
locks: strict
access list:
symbolic names:
        dev/: 1.188
				        php_4_2_2: 1.167.2.1
								        PHP_4_2_2: 1.167.2.1.0.2
												        php_4_3_0_dev_zend2_alpha2: 1.183
																        php5_5_0: 1.182
																				        php_4_3_0dev: 1.182
																								        php_4_3_0_dev_zend2_alpha1: 1.181
																												        php_4_2_1: 1.167.2.1
																																        php_4_2_1RC2: 1.167.2.1
																																				        php_4_2_1RC1: 1.167.2.1
																																								        php_4_2_0: 1.167.2.1
																																												        php_4_2_0RC4: 1.167.2.1
																																																        php_4_2_0RC3: 1.167.2.1
																																																				        php_4_2_0RC2: 1.167.2.1
																																																								        php_4_2_0RC1: 1.167.2.1
																																																												        PHP_4_2_0: 1.167.0.2
																																																																        php_4_1_2: 1.153.2.1
																																																																				        php_4_1_1: 1.153.2.1
																																																																								        ChangeLog: 1.161
																																																																												        php_4_1_0: 1.153.2.1
																																																																																        php_4_1_0RC5: 1.153.2.1
																																																																																				        php_4_1_0RC4: 1.153.2.1
																																																																																								        php_4_1_0RC3: 1.153.2.1
																																																																																												        php_4_1_0RC2: 1.153.2.1
																																																																																																        php_4_1_0RC1: 1.153.2.1
																																																																																																				        php_4_0_7RC3: 1.153
																																																																																																								        php4: 1.157
																																																																																																												        POST_SUBST_Z_MACROS: 1.157
																																																																																																																        PRE_SUBST_Z_MACROS: 1.155
																																																																																																																				        php_4_0_7RC2: 1.153
																																																																																																																								        RAND_REDESIGN: 1.154.0.2
																																																																																																																												        php_4_0_7RC1: 1.153
																																																																																																																																        PHP_4_0_7: 1.153.0.2
																																																																																																																																				        PRE_TSRM_MERGE_PATCH: 1.142
																																																																																																																																								        php_4_0_6: 1.137.2.1
																																																																																																																																												        php_4_0_6RC4: 1.137.2.1
																																																																																																																																																        php_4_0_6RC3: 1.137.2.1
																																																																																																																																																				        php_4_0_6RC2: 1.137.2.1
																																																																																																																																																								        php_4_0_6RC1: 1.137
																																																																																																																																																												        PHP_4_0_6: 1.137.0.2
																																																																																																																																																																        php_4_0_5: 1.132
																																																																																																																																																																				        php_4_0_5RC8: 1.132
																																																																																																																																																																								        php_4_0_5RC7: 1.132
																																																																																																																																																																												        php_4_0_5RC6: 1.132
																																																																																																																																																																																        php_4_0_5RC5: 1.132
																																																																																																																																																																																				        php_4_0_5RC4: 1.132
																																																																																																																																																																																								        php_4_0_5RC3: 1.132
																																																																																																																																																																																												        php_4_0_5RC2: 1.132
																																																																																																																																																																																																        php_4_0_5RC1: 1.132
																																																																																																																																																																																																				        PHP_4_0_5: 1.132.0.2
																																																																																																																																																																																																								        php_4_0_4pl1: 1.124
																																																																																																																																																																																																												        php_4_0_4pl1RC2: 1.124
																																																																																																																																																																																																																        php_4_0_4pl1RC1: 1.124
																																																																																																																																																																																																																				        php_4_0_4REL: 1.124
																																																																																																																																																																																																																								        php_4_0_4RC6: 1.124
																																																																																																																																																																																																																												        php_4_0_4RC5: 1.124
																																																																																																																																																																																																																																        php_4_0_4RC4: 1.124
																																																																																																																																																																																																																																				        php_4_0_4RC3: 1.124
																																																																																																																																																																																																																																								        php_4_0_4: 1.124.0.2
																																																																																																																																																																																																																																												        php_4_0_3: 1.116
																																																																																																																																																																																																																																																        php_4_0_3RC2: 1.114
																																																																																																																																																																																																																																																				        php_4_0_3RC1: 1.114
																																																																																																																																																																																																																																																								        php_4_0_2: 1.113
																																																																																																																																																																																																																																																												        php_4_0_2RC1: 1.110
																																																																																																																																																																																																																																																																        PRE_FILE_COMPILE_API_CHANGE: 1.108
																																																																																																																																																																																																																																																																				        php_4_0_1pl1: 1.104
																																																																																																																																																																																																																																																																								        php_4_0_1: 1.104
																																																																																																																																																																																																																																																																												        php_4_0_1RC2: 1.104
																																																																																																																																																																																																																																																																																        php_4_0_1RC: 1.101
																																																																																																																																																																																																																																																																																				        php_4_0_0: 1.93
																																																																																																																																																																																																																																																																																								        php_4_0RC2: 1.89
																																																																																																																																																																																																																																																																																												        php_4_0RC1: 1.70
																																																																																																																																																																																																																																																																																																        php_4_0b4pl1: 1.67
																																																																																																																																																																																																																																																																																																				        php_4_0b4: 1.65
																																																																																																																																																																																																																																																																																																								        php_4_0b4_rc1: 1.65
																																																																																																																																																																																																																																																																																																												        BEFORE_SAPI_POST_PATCH_17_FEB_2000: 1.62
																																																																																																																																																																																																																																																																																																																        BEFORE_SAPIFICATION_FEB_10_2000: 1.60
																																																																																																																																																																																																																																																																																																																				        BEFORE_PRE_SHUTDOWN_REVERSE_PATCH: 1.57
																																																																																																																																																																																																																																																																																																																								        PRE_ISSET_TYPE: 1.55
																																																																																																																																																																																																																																																																																																																												        PRE_LIBZEND_TO_ZEND: 1.51
																																																																																																																																																																																																																																																																																																																																        PRE_USED_RETURN_VALUE_PATCH: 1.39
																																																																																																																																																																																																																																																																																																																																				        php_4_0b3: 1.39
																																																																																																																																																																																																																																																																																																																																								        php_4_0b3_RC5: 1.39
																																																																																																																																																																																																																																																																																																																																												        php_4_0b3_RC4: 1.39
																																																																																																																																																																																																																																																																																																																																																        php_4_0b3_RC3: 1.39
																																																																																																																																																																																																																																																																																																																																																				        php_4_0b3_RC2: 1.39
																																																																																																																																																																																																																																																																																																																																																								        before-sapi-split: 1.36
																																																																																																																																																																																																																																																																																																																																																												        php_4_0b2: 1.30
																																																																																																																																																																																																																																																																																																																																																																        php_4_0b2-2: 1.27
																																																																																																																																																																																																																																																																																																																																																																				        php_4_0b2-1: 1.27
																																																																																																																																																																																																																																																																																																																																																																								        BEFORE_NEW_OPERATOR_FIX: 1.26
																																																																																																																																																																																																																																																																																																																																																																												        newoperator: 1.26.0.2
																																																																																																																																																																																																																																																																																																																																																																																        BEFORE_BIG_SYMBOL_CHANGE: 1.26
																																																																																																																																																																																																																																																																																																																																																																																				        php_4_0b1: 1.25
																																																																																																																																																																																																																																																																																																																																																																																								        BEFORE_REMOVING_AI_COUNT_FINAL_STEP: 1.14
																																																																																																																																																																																																																																																																																																																																																																																												        BEFORE_REMOVING_GC_STEP1: 1.14
																																																																																																																																																																																																																																																																																																																																																																																																        BEFORE_PHP4_APACHE_MODULE_CHANGE: 1.14
																																																																																																																																																																																																																																																																																																																																																																																																				keyword substitution: kv
																																																																																																																																																																																																																																																																																																																																																																																																				total revisions: 191;   selected revisions: 191
																																																																																																																																																																																																																																																																																																																																																																																																				description:
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.188
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/05 19:00:09;  author: helly;  state: Exp;  lines: +16 -2
																																																																																																																																																																																																																																																																																																																																																																																																				Correct carset if iconv is active
																																																																																																																																																																																																																																																																																																																																																																																																				#Same solution would work for mbstring - but that must wait
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.187
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/04 22:49:48;  author: helly;  state: Exp;  lines: +9 -3
																																																																																																																																																																																																																																																																																																																																																																																																				-Send charset US-ASCII or ini setting default_charset.
																																																																																																																																																																																																																																																																																																																																																																																																				#After some discussion with Ilia Alshanetsky
																																																																																																																																																																																																																																																																																																																																																																																																				#But perhaps we should have a look for a mbstring solution...
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.186
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/04 18:59:16;  author: georg;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																				ups.. :)
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.185
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/04 18:57:02;  author: georg;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																				added meta tag (w3c compliance)
																																																																																																																																																																																																																																																																																																																																																																																																				Thx to Ilia Alshanetsky (ilia@prohost.org)
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.184
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/07/01 18:52:30;  author: derick;  state: Exp;  lines: +8 -8
																																																																																																																																																																																																																																																																																																																																																																																																				- No C++ comments
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.183
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/06/19 13:24:01;  author: sander;  state: Exp;  lines: +7 -12
																																																																																																																																																																																																																																																																																																																																																																																																				Made the API versions appear better on phpinfo();
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.182
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/06/08 10:25:44;  author: mfischer;  state: Exp;  lines: +32 -2
																																																																																																																																																																																																																																																																																																																																																																																																				- Since streams are always enabled, instead of just printing 'enabled' we tell
																																																																																																																																																																																																																																																																																																																																																																																																				  what streams are currently registered.
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.181
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/24 17:25:40;  author: sander;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																					Fix <head> and <body> tags in phpinfo() output (#17411)
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.180
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/13 17:43:04;  author: zeev;  state: Exp;  lines: +6 -6
																																																																																																																																																																																																																																																																																																																																																																																																					- Fix a buglet in printing of GPCSE arrays
																																																																																																																																																																																																																																																																																																																																																																																																					- Remove indirect access
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.179
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/13 08:46:21;  author: zeev;  state: Exp;  lines: +4 -1
																																																																																																																																																																																																																																																																																																																																																																																																					- Centralize html_puts() again
																																																																																																																																																																																																																																																																																																																																																																																																					- Revolutionize phpinfo()'s speed
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.178
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/12 14:50:54;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																					Use string_len information
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.177
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/12 14:48:22;  author: sas;  state: Exp;  lines: +7 -6
																																																																																																																																																																																																																																																																																																																																																																																																					reenable php_html_puts
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.176
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/11 12:41:32;  author: zeev;  state: Exp;  lines: +6 -6
																																																																																																																																																																																																																																																																																																																																																																																																					Centralize html_puts() logic - php_html_puts() remains as an API wrapper
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.175
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/09 11:56:52;  author: derick;  state: Exp;  lines: +4 -1
																																																																																																																																																																																																																																																																																																																																																																																																					- Add PHP_API_VERSION too
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.174
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/09 11:47:37;  author: derick;  state: Exp;  lines: +7 -4
																																																																																																																																																																																																																																																																																																																																																																																																					- Show both API nos
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.173
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/02 17:36:00;  author: fmk;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																					Fixing wrong pointer
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.172
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/02 12:33:03;  author: derick;  state: Exp;  lines: +7 -1
																																																																																																																																																																																																																																																																																																																																																																																																					- Add Zend API No. to phpinofo() output
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.171
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/03/29 10:19:23;  author: ssb;  state: Exp;  lines: +71 -17
																																																																																																																																																																																																																																																																																																																																																																																																					(PHP php_uname) display runtime uname rather than compile-time uname, added
																																																																																																																																																																																																																																																																																																																																																																																																					                an optional parameter to get single fields (like uname(1))
																																																																																																																																																																																																																																																																																																																																																																																																													# Windows version is not tested, and I didn't know how to get
																																																																																																																																																																																																																																																																																																																																																																																																													# `uname -n` on Windows, so it's hardcoded to "localhost" for now.
																																																																																																																																																																																																																																																																																																																																																																																																													# Windows gurus feel free to fix. :-)
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.170
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/15 21:03:05;  author: wez;  state: Exp;  lines: +2 -4
																																																																																																																																																																																																																																																																																																																																																																																																													New PHP streams...
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.169
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/14 18:39:53;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													Change case for consistency
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.168
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/14 13:35:19;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													Make it clearer what this entry means
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.167
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 20:14:52;  author: sas;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																													branches:  1.167.2;
																																																																																																																																																																																																																																																																																																																																																																																																													Add apparently missing include
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.166
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 18:46:53;  author: sas;  state: Exp;  lines: +7 -6
																																																																																																																																																																																																																																																																																																																																																																																																													Supply php_html_puts which escapes a whole string.. now fully works in ZTS
																																																																																																																																																																																																																																																																																																																																																																																																													mode, too.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.165
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 18:12:55;  author: sas;  state: Exp;  lines: +5 -5
																																																																																																																																																																																																																																																																																																																																																																																																													revert last commit, puts does more through putc.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.164
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 17:48:20;  author: sas;  state: Exp;  lines: +6 -6
																																																																																																																																																																																																																																																																																																																																																																																																													Use PHPWRITE to output data.  Because this just outputs diagnostic
																																																																																																																																																																																																																																																																																																																																																																																																													information, a few spaces won't hurt (and multiple ones are rendered
																																																																																																																																																																																																																																																																																																																																																																																																													as one by browsers anyway).  Micro-benchmarks which use phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																													as a mean to generate output will yield more through-put now
																																																																																																																																																																																																																																																																																																																																																																																																													(35 req/s vs. 83 req/s in tux).
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.163
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/02/28 08:26:45;  author: sebastian;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																													Maintain headers.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.162
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/12/29 14:23:58;  author: sebastian;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																													PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.161
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/12/11 15:30:32;  author: sebastian;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													Update headers.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.160
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/12/06 13:31:34;  author: sterling;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													use PHP_INFO_ALL and PHP_CREDITS_ALL instead of hardcoding them
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.159
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/10/11 23:33:49;  author: ssb;  state: Exp;  lines: +17 -6
																																																																																																																																																																																																																																																																																																																																																																																																													* zend_module_entry change: apino, debug and zts are moved first,
																																																																																																																																																																																																																																																																																																																																																																																																													  see README.EXTENSIONS file for upgrade help.
																																																																																																																																																																																																																																																																																																																																																																																																														@Introduced extension version numbers (Stig)
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.158
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/10/06 20:13:37;  author: derick;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																														- <br> -> <br />
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.157
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/09/25 22:48:43;  author: jeroen;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														2nd phase in back-substitution those macro's

																																																																																																																																																																																																																																																																																																																																																																																																														I've got pretty much everything now...
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.156
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/09/25 21:58:23;  author: jeroen;  state: Exp;  lines: +13 -13
																																																																																																																																																																																																																																																																																																																																																																																																														Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.155
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/09/09 13:29:18;  author: derick;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																														- Don't wrap lines... this is annoying while coding.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.154
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/15 22:37:31;  author: sniper;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														Add the build time too. Bug: #12774
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.153
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 19:31:16;  author: zeev;  state: Exp;  lines: +5 -3
																																																																																																																																																																																																																																																																																																																																																																																																														branches:  1.153.2;
																																																																																																																																																																																																																																																																																																																																																																																																														Fix crashes in parse_parameters calls
																																																																																																																																																																																																																																																																																																																																																																																																														HEADS UP:  Make sure you supply TSRMLS_CC for this function!
																																																																																																																																																																																																																																																																																																																																																																																																														I'll try to think of a way that'd allow us to find this issue using
																																																																																																																																																																																																																																																																																																																																																																																																														the compiler.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.152
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 07:55:38;  author: rasmus;  state: Exp;  lines: +19 -13
																																																																																																																																																																																																																																																																																																																																																																																																														Track down a few more functions that don't check for 0 args and use
																																																																																																																																																																																																																																																																																																																																																																																																														faster mechanism
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.151
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 07:28:57;  author: rasmus;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																														Oops, a little too much simplification there.. ;)
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.150
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 06:43:47;  author: rasmus;  state: Exp;  lines: +34 -36
																																																																																																																																																																																																																																																																																																																																																																																																														We don't consistently check for args passed to functions that don't
																																																																																																																																																																																																																																																																																																																																																																																																														take any args.  In some cases we probably want to skip the check for
																																																																																																																																																																																																																																																																																																																																																																																																														performance reasons, but in other cases where performance is unlikely
																																																																																																																																																																																																																																																																																																																																																																																																														to be a factor, not throwing a warning on the wrong number of args passed
																																																																																																																																																																																																																																																																																																																																																																																																														to a function is at best inconsistent, and at worst it could hide a bug.
																																																																																																																																																																																																																																																																																																																																																																																																														So, add a few such checks.  There are still lots of cases out there.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.149
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/11 17:03:37;  author: zeev;  state: Exp;  lines: +11 -11
																																																																																																																																																																																																																																																																																																																																																																																																														Whitespace
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.148
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/08 17:16:20;  author: zeev;  state: Exp;  lines: +8 -7
																																																																																																																																																																																																																																																																																																																																																																																																														- Implement $_FORM
																																																																																																																																																																																																																																																																																																																																																																																																														- Update phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																														- Update NEWS
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.147
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/31 04:53:50;  author: zeev;  state: Exp;  lines: +4 -5
																																																																																																																																																																																																																																																																																																																																																																																																														More TSRMLS_FETCH work
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.146
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/30 09:16:44;  author: zeev;  state: Exp;  lines: +3 -4
																																																																																																																																																																																																																																																																																																																																																																																																														More TSRMLS_FETCH work
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.145
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/30 06:18:06;  author: zeev;  state: Exp;  lines: +3 -2
																																																																																																																																																																																																																																																																																																																																																																																																														More TSRMLS_FETCH work, and a bit of cleanup
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.144
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/28 11:36:17;  author: zeev;  state: Exp;  lines: +1 -2
																																																																																																																																																																																																																																																																																																																																																																																																														Redesigned thread safety mechanism - nua nua
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.143
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/27 10:16:30;  author: zeev;  state: Exp;  lines: +10 -10
																																																																																																																																																																																																																																																																																																																																																																																																														- Get rid of ELS_*(), and use TSRMLS_*() instead.
																																																																																																																																																																																																																																																																																																																																																																																																														- Move to the new ts_allocate_id() API
																																																																																																																																																																																																																																																																																																																																																																																																														This patch is *bound* to break some files, as I must have had typos somewhere.
																																																																																																																																																																																																																																																																																																																																																																																																														If you use any uncommon extension, please try to build it...
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.142
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/19 15:21:28;  author: sbergmann;  state: Exp;  lines: +12 -12
																																																																																																																																																																																																																																																																																																																																																																																																														Finish phpinfo() HTML 4.01 tweaking.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.141
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/15 18:34:09;  author: sbergmann;  state: Exp;  lines: +38 -40
																																																																																																																																																																																																																																																																																																																																																																																																														Make output of phpinfo() compliant with HTML 4.01.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.140
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/06 13:05:51;  author: rasmus;  state: Exp;  lines: +27 -13
																																																																																																																																																																																																																																																																																																																																																																																																														Fix folding and clean up some extensions
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.139
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/05 13:12:04;  author: rasmus;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																														vim-6 does folding - clean up a bunch of missing folding tags plus
																																																																																																																																																																																																																																																																																																																																																																																																														some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.138
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/20 01:31:53;  author: sniper;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														This looks better.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.137
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/11 13:34:49;  author: derick;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														branches:  1.137.2;
																																																																																																																																																																																																																																																																																																																																																																																																														Tabs please...
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.136
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/11 13:32:10;  author: sbergmann;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																														Fix for bug #10815.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.135
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/06 15:20:56;  author: sniper;  state: Exp;  lines: +14 -14
																																																																																																																																																																																																																																																																																																																																																																																																														Fix bug: #10323. Every value outputted is now escaped.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.134
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/04/22 01:09:13;  author: ssb;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														* expanded the following constants and made them available in PHP:
																																																																																																																																																																																																																																																																																																																																																																																																														  DEFAULT_INCLUDE_PATH
																																																																																																																																																																																																																																																																																																																																																																																																															  PEAR_INSTALL_DIR
																																																																																																																																																																																																																																																																																																																																																																																																																  PHP_EXTENSION_DIR
																																																																																																																																																																																																																																																																																																																																																																																																																	  PHP_BINDIR
																																																																																																																																																																																																																																																																																																																																																																																																																		  PHP_LIBDIR
																																																																																																																																																																																																																																																																																																																																																																																																																			  PHP_DATADIR
																																																																																																																																																																																																																																																																																																																																																																																																																				  PHP_SYSCONFDIR
																																																																																																																																																																																																																																																																																																																																																																																																																					  PHP_LOCALSTATEDIR
																																																																																																																																																																																																																																																																																																																																																																																																																						  PHP_CONFIG_FILE_PATH
																																																																																																																																																																																																																																																																																																																																																																																																																							* no longer generating pear/PEAR.php
																																																																																																																																																																																																																																																																																																																																																																																																																							* fixed some tests
																																																																																																																																																																																																																																																																																																																																																																																																																							* some more installer work
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.133
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/04/17 17:06:06;  author: wez;  state: Exp;  lines: +6 -1
																																																																																																																																																																																																																																																																																																																																																																																																																							Changes for streams.  Added temporary fopenstream function to PHP so that
																																																																																																																																																																																																																																																																																																																																																																																																																							the streams can be tested.
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.132
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/03/04 22:03:23;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																							I don't know German, but I imagine that was the problem :)
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.131
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/03/04 15:49:38;  author: zeev;  state: Exp;  lines: +7 -8
																																																																																																																																																																																																																																																																																																																																																																																																																							Fix phpinfo() bug that crept in
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.130
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/03/04 02:41:27;  author: fmk;  state: Exp;  lines: +9 -15
																																																																																																																																																																																																																																																																																																																																																																																																																							Changed code layout to remove PHP warning when running php as a CGI.
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.129
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/02/26 06:07:17;  author: andi;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																							- Fix copyright notices with 2001
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.128
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/01/02 22:49:26;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																							Many patches.  I hope I remember them all:

																																																																																																																																																																																																																																																																																																																																																																																																																							- Make sapi_module available to external modules (PHPAPI)
																																																																																																																																																																																																																																																																																																																																																																																																																							- Make the php.ini path reported in phpinfo() always point to
																																																																																																																																																																																																																																																																																																																																																																																																																							  real full path of the php.ini file
																																																																																																																																																																																																																																																																																																																																																																																																																								- Optimized the ISAPI module not to read unnecessary server
																																																																																																																																																																																																																																																																																																																																																																																																																								  variables and read necessary variables at most once.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.127
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/12/27 15:43:05;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									- Make the INI mechanism thread safe (fix necessary API changes from Zend)
																																																																																																																																																																																																																																																																																																																																																																																																																									- Make the Win32 non-TS configuration build again
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.126
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/12/22 12:57:08;  author: zeev;  state: Exp;  lines: +2 -3
																																																																																																																																																																																																																																																																																																																																																																																																																									Heads up people!

																																																																																																																																																																																																																																																																																																																																																																																																																									Updated the get_current_key() API - the relevant authors, please take
																																																																																																																																																																																																																																																																																																																																																																																																																									a look at the updated code and make sure it's ok...
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.125
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/12/19 22:59:14;  author: zeev;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									Add the QA team to the credits
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.124
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/20 10:05:57;  author: hholzgra;  state: Exp;  lines: +1 -146
																																																																																																																																																																																																																																																																																																																																																																																																																									first step towards auto-generated credits
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.123
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/19 19:18:12;  author: hholzgra;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									typo fix (copy/paste bug?)
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.122
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/11 18:38:26;  author: sas;  state: Exp;  lines: +7 -6
																																																																																																																																																																																																																																																																																																																																																																																																																									Add Apache 2.0 sapi module and sort alphabetically.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.121
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/06 22:53:11;  author: derick;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									- Added myself to the credits...
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.120
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/05 23:34:49;  author: jdonagher;  state: Exp;  lines: +25 -5
																																																																																																																																																																																																																																																																																																																																																																																																																									Bring phpcredits() up to date
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.119
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/02 19:07:15;  author: neotron;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Added Caudium to credit line.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.118
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/31 17:21:52;  author: hholzgra;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																																									generalization of image handling in phpinfo
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.117
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/29 11:38:24;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Initial steps to move the INI mechanism to the Zend engine
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.116
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/11 13:51:32;  author: hholzgra;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																									proto typo fixes
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.115
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/11 11:40:29;  author: hholzgra;  state: Exp;  lines: +10 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									added missing protos
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.114
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/09/30 16:12:54;  author: andi;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									- Cleanup some output functions
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.113
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/27 22:46:40;  author: rasmus;  state: Exp;  lines: +17 -20
																																																																																																																																																																																																																																																																																																																																																																																																																									Some minor cleanup to make W3C's tidy validator happy
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.112
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/27 19:42:45;  author: ssb;  state: Exp;  lines: +35 -19
																																																																																																																																																																																																																																																																																																																																																																																																																									@Added php_uname() function (Stig)
																																																																																																																																																																																																																																																																																																																																																																																																																									Added php_uname() function.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.111
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/26 12:53:13;  author: rubys;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									Add ***EXPERIMENTAL*** Zend OO Extension support for Microsoft.Net
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.110
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/21 09:50:52;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Cleaning up some mess
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.109
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/20 14:43:56;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Fix numerus of SAPI Modules title
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.108
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/07/26 05:41:38;  author: sterling;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									* EXTENSIONS -- update status on CURL & SWF
																																																																																																																																																																																																																																																																																																																																																																																																																									* NEWS --
																																																																																																																																																																																																																																																																																																																																																																																																																									  1.  Change wording for the ibase and sybase DB announcement.
																																																																																																																																																																																																																																																																																																																																																																																																																										  2.  Remove second pfpro announcement, if pfpro is being released with 4.0.2
																																																																																																																																																																																																																																																																																																																																																																																																																											  entries about new features before 4.0.2 shouldn't be in there.
																																																																																																																																																																																																																																																																																																																																																																																																																												  3.  Joey, that entry just doesn't seem incredibly relevant to the NEWS file,
																																																																																																																																																																																																																																																																																																																																																																																																																													  I'll backport it if you want (or add a new entry).
																																																																																																																																																																																																																																																																																																																																																																																																																														* ext/standard/info.c -- Add a CREDIT_LINE() for CURL.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.107
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/07/25 10:54:07;  author: stas;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														Report configuration path that is really used, not that is compiled in
																																																																																																																																																																																																																																																																																																																																																																																																																														# it does matter when using -c option
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.106
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/07/24 01:39:49;  author: david;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
																																																																																																																																																																																																																																																																																																																																																																																																																														Added a few RCS $Id$ tags.

																																																																																																																																																																																																																																																																																																																																																																																																																														# Note: I have avoided changing any .h files if the corresponding .c file
																																																																																																																																																																																																																																																																																																																																																																																																																														# had not already been changed as I am not sure if there are any legal
																																																																																																																																																																																																																																																																																																																																																																																																																														# issues here. So some extensions still have PHP 3 headers.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.105
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/07/08 19:31:16;  author: eschmid;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Uncomplete proto.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.104
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/26 18:05:49;  author: andrei;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Separate plain name returned by php_sapi_module() and pretty name
																																																																																																																																																																																																																																																																																																																																																																																																																														used for output.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.103
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/26 14:55:38;  author: kk;  state: Exp;  lines: +3 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Corrected a syntax error: Macro requires braces.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.102
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/26 14:43:37;  author: kk;  state: Exp;  lines: +12 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Added function php_sapi_name() as written by Stefan Livieratos.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.101
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/17 07:08:53;  author: hholzgra;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														changed default cell alignment to "left" (see bug id #5048)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.100
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/16 18:23:57;  author: hholzgra;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														C++ // comments are evil ...
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.99
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/09 01:50:44;  author: zeev;  state: Exp;  lines: +9 -7
																																																																																																																																																																																																																																																																																																																																																																																																																														Move back everything to where it belongs...
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.98
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/06 17:26:15;  author: hholzgra;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														added missing '/' to closing <center> tag (BUG ID #4416)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.97
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/05 19:47:44;  author: andi;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.96
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/03 03:05:29;  author: zeev;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														- Make the INI entries sorted in phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.95
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/27 00:24:03;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Add Sam Ruby
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.94
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/25 11:01:31;  author: kk;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														- Added credits.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.93
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/19 08:28:53;  author: zeev;  state: Exp;  lines: +6 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Minor output mods
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.92
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/18 15:34:35;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Update the license with the new clause 6
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.91
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/12 20:49:26;  author: sterling;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Add Meself for LibSWF.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.90
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/12 20:11:14;  author: jah;  state: Exp;  lines: +3 -3

																																																																																																																																																																																																																																																																																																																																																																																																																														# Correct spelling, adding Andrew because half the code in that module is
																																																																																																																																																																																																																																																																																																																																																																																																																														# his, removing myself from Informix because I don't think my influence to
																																																																																																																																																																																																																																																																																																																																																																																																																														# that module was big enough worth mentioning, adding myself to GD because
																																																																																																																																																																																																																																																																																																																																																																																																																														# I think T1lib is worth mentioning. BTW, who wrote the TTF extension? I think
																																																																																																																																																																																																																																																																																																																																																																																																																														# he is missing credits here.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.89
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/04 10:38:14;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Change reentrancy API to always use the php prefix.

																																																																																																																																																																																																																																																																																																																																																																																																																														Check for the declaration of reentrant functions, so that we can use
																																																																																																																																																																																																																																																																																																																																																																																																																														them in non-ZTS mode on all platforms.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.88
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/27 18:37:02;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														More error handling work (still completely disabled)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.87
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/21 16:20:11;  author: thies;  state: Exp;  lines: +6 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														add VDIR info
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.86
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/19 23:46:26;  author: zeev;  state: Exp;  lines: +2 -5
																																																																																																																																																																																																																																																																																																																																																																																																																														Fix Win32 compilation.  Hillarious April 1st joke!
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.85
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/19 23:17:02;  author: cmv;  state: Exp;  lines: +17 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														A little easter egg for April 1st ... :)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.84
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/19 12:43:54;  author: zeev;  state: Exp;  lines: +6 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														phpcredits() update.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.83
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/17 18:57:40;  author: eschmid;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Have forgotten myself.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.82
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/14 21:12:21;  author: eschmid;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Small corrections.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.81
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/14 18:22:43;  author: zeev;  state: Exp;  lines: +5 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Add the documentation team to the credits page
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.80
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/10 20:21:01;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Object overloading API changed slightly (llist is now a pointer)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.79
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/07 16:41:19;  author: cmv;  state: Exp;  lines: +11 -10
																																																																																																																																																																																																																																																																																																																																																																																																																														more prettiness
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.78
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/07 15:30:47;  author: zeev;  state: Exp;  lines: +8 -6
																																																																																																																																																																																																																																																																																																																																																																																																																														Unify
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.77
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/06 22:54:33;  author: andi;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														- ZEND_DEBUG is always defined
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.76
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 22:30:19;  author: cmv;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														phpinfo() prettying

																																																																																																																																																																																																																																																																																																																																																																																																																														I will get to the rest of the functions later tonight or tomorrow
																																																																																																																																																																																																																																																																																																																																																																																																																														(i.e. from hyperwave to snmp)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.75
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 21:03:30;  author: cmv;  state: Exp;  lines: +5 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														finally (thanks Andreas)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.74
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 21:00:35;  author: cmv;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														still cant get this
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.73
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 20:48:46;  author: cmv;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														phpinfo() prettying
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.72
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 20:29:20;  author: cmv;  state: Exp;  lines: +5 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														fixed the segfault problem (probably not the prettiest way, but)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.71
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 20:17:02;  author: cmv;  state: Exp;  lines: +132 -62
																																																																																																																																																																																																																																																																																																																																																																																																																														Prettying up the output of phpinfo().  Someone has to tell me how
																																																																																																																																																																																																																																																																																																																																																																																																																														to get a new .gif logo in there, and why the ZEND_DEBUG output is
																																																																																																																																																																																																																																																																																																																																																																																																																														causing seg faults.

																																																																																																																																																																																																																																																																																																																																																																																																																														I also need to go through all the modules and fix up the output they
																																																																																																																																																																																																																																																																																																																																																																																																																														create.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.70
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/03/16 02:18:24;  author: thies;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.69
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/26 03:20:54;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														- Convert 'PHP3' to 'PHP'
																																																																																																																																																																																																																																																																																																																																																																																																																														- Avoid declaring crypt() related salt types twice
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.68
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/24 08:07:29;  author: eschmid;  state: Exp;  lines: +0 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														More protos.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.67
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/21 14:50:41;  author: chagenbu;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														being accountable for the imap and mcal work that I've done (and adding an
																																																																																																																																																																																																																																																																																																																																																																																																																														MCAL credits line)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.66
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/21 14:35:28;  author: askalski;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														added myself to the FTP/IMAP credits
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.65
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/19 23:41:21;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														the pipe is breaking all the time
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.64
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/19 20:12:26;  author: zeev;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Worked on beautifying rfc1867.c a bit
																																																																																																																																																																																																																																																																																																																																																																																																																														@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
																																																																																																																																																																																																																																																																																																																																																																																																																														@  through HTTP upload (Zeev)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.63
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/18 17:59:44;  author: zeev;  state: Exp;  lines: +35 -9
																																																																																																																																																																																																																																																																																																																																																																																																																														- Fix some issues with the ISAPI module, made it friendlier to non Win32 platforms
																																																																																																																																																																																																																																																																																																																																																																																																																														- Added .reg file for PWS setup
																																																																																																																																																																																																																																																																																																																																																																																																																														- Reordered some stuff in phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.62
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/11 15:59:29;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														Fine tune Andi's patch
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.61
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/10 21:53:56;  author: andi;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.60
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/05 22:58:59;  author: zeev;  state: Exp;  lines: +56 -84
																																																																																																																																																																																																																																																																																																																																																																																																																														Standardize
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.59
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/05 15:16:11;  author: zeev;  state: Exp;  lines: +0 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Cleanup patches
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.58
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/02 14:15:33;  author: andrei;  state: Exp;  lines: +2 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														Some rearranging.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.57
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/01/09 18:32:13;  author: zeev;  state: Exp;  lines: +6 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														@- Fixed a possible crash in phpinfo() (Zeev)
																																																																																																																																																																																																																																																																																																																																																																																																																														phpinfo() now ensures that HTTP_*_VARS[] are actually arrays before it tries
																																																																																																																																																																																																																																																																																																																																																																																																																														to access them...
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.56
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/01/01 01:31:52;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Happy Y2K patch! Happy new year (or the new millennium, depending on whether
																																																																																																																																																																																																																																																																																																																																																																																																																														you start counting at 0 or 1).
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.55
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/21 20:35:43;  author: zeev;  state: Exp;  lines: +12 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														@- 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)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.54
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/20 23:09:49;  author: sas;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Use sapi_module_struct to contain SAPI module name
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.53
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/20 15:38:44;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Make the Win32 tree compile again
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.52
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/20 07:12:27;  author: sas;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Add information about chosen SAPI module to phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.51
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/18 22:35:27;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														- The tree compiles again
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.50
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/18 04:01:14;  author: zeev;  state: Exp;  lines: +7 -7
																																																																																																																																																																																																																																																																																																																																																																																																																														More php3_ annihilation
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.49
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/14 03:48:46;  author: thies;  state: Exp;  lines: +12 -8
																																																																																																																																																																																																																																																																																																																																																																																																																														use _ex-API
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.48
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/07 02:49:03;  author: evan;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Mention CyberCash.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.47
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/03 20:08:24;  author: rubys;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														windows build errors
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.46
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/03 17:10:18;  author: neotron;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Added credit notes for Roxen SAPI module
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.45
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/03 13:31:41;  author: ssb;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Add configure command to phpinfo() output (Stig)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.44
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/29 15:36:24;  author: rubys;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Initial alpha-level of sapi/servlet.  See README for details.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.43
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/24 17:56:31;  author: sas;  state: Exp;  lines: +0 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Killing some unused variable warnings
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.42
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/22 19:10:14;  author: fmk;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														add MS SQL module to credit info
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.41
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/18 03:03:24;  author: rubys;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														arg!  alphabetize correctly!
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.40
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/18 02:40:52;  author: rubys;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														add Java module to credit info
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.39
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/10/20 16:16:58;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														(_display_module_info): Add anchor for module names
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.38
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/10/04 15:18:19;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														        * archive-based convenience libraries completely replaced
																																																																																																																																																																																																																																																																																																																																																																																																																																		          with libtool components

																																																																																																																																																																																																																																																																																																																																																																																																																																							        * SAPI targets can enable thread-safe mode and define
																																																																																																																																																																																																																																																																																																																																																																																																																																											          shared/static/program build target

																																																																																																																																																																																																																																																																																																																																																																																																																																																        * all configure scripts use the same config.cache

																																																																																																																																																																																																																																																																																																																																																																																																																																																				        * phplibdir is $(top_builddir)/modules to avoid
																																																																																																																																																																																																																																																																																																																																																																																																																																																								          permission problems

																																																																																																																																																																																																																																																																																																																																																																																																																																																													        * sapi/*/Makefile.inc are gone

																																																																																																																																																																																																																																																																																																																																																																																																																																																																	        * runpath handling cleaned up

																																																																																																																																																																																																																																																																																																																																																																																																																																																																					        * top-level Makefile.in obsoleted through Makefile.am

																																																																																																																																																																																																																																																																																																																																																																																																																																																																									        * --enable-versioning uses libtool's cleaner and more
																																																																																																																																																																																																																																																																																																																																																																																																																																																																													          portable -export-symbols feature
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		revision 1.37
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		date: 1999/10/01 14:54:55;  author: andrei;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		rename.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		revision 1.36
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		date: 1999/09/25 15:41:51;  author: sas;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		    Add entry for AOLserver.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.35
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/24 18:02:58;  author: thies;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				updated XML (only partly tested)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.34
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/16 22:15:43;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Generalize SAPI a bit
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.33
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/13 01:11:41;  author: zeev;  state: Exp;  lines: +7 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Modified phpinfo() to show the contents of arrays in HTTP_*_VARS[]
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.32
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/13 00:35:03;  author: zeev;  state: Exp;  lines: +14 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.31
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/11 16:32:08;  author: zeev;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Rename allow_builtin_links to expose_php
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.30
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/07 18:21:35;  author: zeev;  state: Exp;  lines: +18 -10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Built-in phpinfo() links are now turned off by default.  They can be
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				turned on using the allow_builtin_links INI directive
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.29
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/07 17:52:11;  author: zeev;  state: Exp;  lines: +18 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Changed phpinfo() to list modules that have no info function
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.28
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/07 15:50:26;  author: sr;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Corrected spelling.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.27
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/02 19:16:50;  author: zeev;  state: Exp;  lines: +38 -38
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Removed '3' from key functions in PHP (maintained compatibility through
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				php3_compat.h)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.26
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 20:27:49;  author: andrey;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Updated status
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.25
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 18:37:42;  author: zeev;  state: Exp;  lines: +10 -10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.24
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 14:07:10;  author: sas;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				update
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.23
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 13:35:13;  author: andrey;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				More credits.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.22
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 20:38:14;  author: andrey;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Update credits a bit.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				"Overall Work" line should probably be extended.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.21
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 19:22:27;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.20
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 19:17:42;  author: zeev;  state: Exp;  lines: +115 -60
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				I was sure I committed these already.  Weird
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.19
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 17:33:42;  author: zeev;  state: Exp;  lines: +44 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.18
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/16 13:12:56;  author: zeev;  state: Exp;  lines: +9 -20
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				License update
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.17
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/14 23:34:30;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				php3.ini -> php.ini
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.16
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/14 23:33:00;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Update logos
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Move from PreAlpha 1 to Beta 1.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.15
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/14 16:02:10;  author: andi;  state: Exp;  lines: +129 -151
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Add a bitwise flag to phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Import a draft of the new PHP license
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.14
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/20 12:06:45;  author: andi;  state: Exp;  lines: +6 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Small fixes
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.13
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/16 11:19:26;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				conv_proto *.[ch]
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.12
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/11 00:43:46;  author: zeev;  state: Exp;  lines: +13 -17
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				beatify Apache's info func
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.11
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/09 08:48:01;  author: zeev;  state: Exp;  lines: +100 -159
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Finalizing the PHP version of SAPI.  Support POST and cookies among other things.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Fully implement ISAPI support - POST and cookies among other things.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Almost completely rewrote phpinfo().  Allow modules to easily display their
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				  information in phpinfo() without modifying phpinfo() itself (prototype for
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																					  the module info function was changed, thus the large amount of updated module
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																						  files).
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Initial extended SAPI support for Apache, completely untested.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* CGI now uses SAPI fully as well.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							date: 1999/05/06 18:09:50;  author: zeev;  state: Exp;  lines: +3 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Optimize _php3_parse_gpc_data() and clean it up, plus fix a couple of Zend related memory leaks in it
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.9
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							date: 1999/05/02 19:54:02;  author: zeev;  state: Exp;  lines: +7 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							Move path_info to the SAPI structure
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.8
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							date: 1999/04/26 17:26:36;  author: zeev;  state: Exp;  lines: +19 -10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Get the Apache module to compile again
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							  but it nuked a global)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								revision 1.7
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								date: 1999/04/26 14:00:49;  author: zeev;  state: Exp;  lines: +1 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								* Plenty of thread safety and Win32 work.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								* Switched to using the DLL runtime library under Win32.  PHP will NOT work if
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								  compiled against the static library!
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									* Removed yesterday's php4libts project (with php4dllts, it's obsolete).

																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									dependant on the thread-unsafe DLL.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.6
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/24 00:11:56;  author: zeev;  state: Exp;  lines: +8 -12
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									A lot of cleanups...  Removed old thread-safe code and other redundant code and files
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.5
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/23 20:05:59;  author: zeev;  state: Exp;  lines: +1 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									Remove tls.[ch]
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.4
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/22 00:25:57;  author: ssb;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									moved fdf, hyperwave, informix and some smaller files
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/18 15:58:26;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									Make Win32 happy with the recent changes.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/17 01:52:58;  author: ssb;  state: Exp;  lines: +6 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									make sure the images on the phpinfo() page point to PHP-enabled pages
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/17 00:37:06;  author: ssb;  state: Exp;
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									First commit of re-structuring phase one.  We have started using automake in
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									sub-directories and started to move extension code into ext/<name>.  For now,
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									I have moved the "standard" extension (which is quite a mix of everything
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									right now) and the GD extension into their own subdirs in ext/.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									The configure script now also runs configure in the libzend directory
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									automatically and makes sure php4 and libzend use the same config.cache file.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									To avoid running configure in libzend, use the --no-recursion option.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									"make" in php4 also builds libzend now.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									The Apache module doesn't compile right now, but a fix for that is
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									coming up.

																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: ----------------------------------------------------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS:
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: Committing in .
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS:
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: Modified Files:
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS:  ext/standard/info.c
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: ----------------------------------------------------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									~                                               olor is readable on it)

someone should change all this to make use of CSS as we already have
a CSS block in there, but i do not know enough about it

oh, btw: changed all the ugly uses of \" in tag attriutes to '
as i was already on it ;)
2002-08-08 13:31:49 +00:00
Sascha Schumann
cd64450cd7 Touch file 2002-08-06 00:07:05 +00:00
Marcus Boerger
55f735a587 Correct carset if iconv is active
#Same solution would work for mbstring - but that must wait
2002-08-05 19:00:09 +00:00
Marcus Boerger
fd26a5c0a9 -New function ob_list_handlers
@- Added ob_list_handlers() which returns an array of all active output
@  handlers. (marcus)
2002-08-05 03:09:42 +00:00
Shane Caraveo
7645343c4a need to export var_replace and var_destroy for win32 2002-08-04 23:45:38 +00:00
Marcus Boerger
fa175d6fa2 -Send charset US-ASCII or ini setting default_charset.
#After some discussion with Ilia Alshanetsky
#But perhaps we should have a look for a mbstring solution...
2002-08-04 22:49:48 +00:00
Georg Richter
06b5f1f546 ups.. :) 2002-08-04 18:59:16 +00:00
Georg Richter
83a09ac1f9 added meta tag (w3c compliance)
Thx to Ilia Alshanetsky (ilia@prohost.org)
2002-08-04 18:57:02 +00:00
James E. Flemer
9eb1213206 Close pipes to avoid deadlock.
Submitted By: Melvyn Sopacua <msopacua@idg.nl>
2002-08-03 14:54:30 +00:00
Brad LaFountain
c90764d753 one last fix for array_shift 2002-08-03 00:40:46 +00:00
James E. Flemer
3a8d66a021 Fix typo in #if. Bug #17538. 2002-08-02 14:35:24 +00:00
Hartmut Holzgraefe
e5fa36eee4 added money_format() function
this is similar to C-libs strfmon(), using the same format string
semantics but a different function prototype, so i decided to
give it a more speaking name similar to number_format()
2002-08-02 10:08:53 +00:00
Rui Hirokawa
7527bf0c58 made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data. 2002-08-02 06:53:48 +00:00
Brad LaFountain
9b0553c390 array_pop wasnt setting next index 2002-08-01 17:34:31 +00:00
foobar
922b7596a2 That was not correct.. 2002-08-01 16:44:47 +00:00
foobar
6df2b90c05 Reset index when doing array_pop() 2002-08-01 16:39:52 +00:00
foobar
362fc4ee76 Add test for the index resetting. 2002-08-01 16:39:14 +00:00
Rasmus Lerdorf
b15651c95f Ugh 2002-08-01 15:51:56 +00:00
foobar
ababdff402 Added tests for array_shift/array_pop. 2002-08-01 12:33:02 +00:00
foobar
06b3dd122f Nuke compile warning. 2002-08-01 12:07:15 +00:00
foobar
9d62cd7d45 - Removed the DOS line endings
- Changed the '//' comment (this is C, not C++) to /* */
# Brad, use some editor which works..
2002-08-01 12:06:46 +00:00
Brad LaFountain
4f5bd6b7d4 made array_shift re-index like it did before previous fix 2002-08-01 04:38:11 +00:00
foobar
9fe39b9604 Reverted the patch..it breaks the original behaviour of at least array_shift. 2002-07-31 13:49:50 +00:00
Brad LaFountain
70fb744365 fixed bugs 16063 and 16068
increased preformance of array_pop and array_shift
2002-07-30 22:54:12 +00:00
Dan Kalowsky
18c0d30c58 Commiting Steph@php.net's patch to re-enable touch on Win32 machines 2002-07-30 20:24:13 +00:00
Rasmus Lerdorf
059f302596 Fix strtotime() "next" keyword handling. 2002-07-30 18:42:19 +00:00
Rasmus Lerdorf
d56bc7934d Fix for #18638 (str_rot13 bug) 2002-07-30 10:51:33 +00:00
Edin Kadribasic
a55c1228ed Fixed bug #14657 (patch by Steph Fox) 2002-07-29 13:13:50 +00:00
Derick Rethans
1630e1788f - Copy and paste error -> unify error messages 2002-07-28 19:29:28 +00:00
Stefan Esser
bffe4cf222 Added sha1, sha1_file functions. 2002-07-28 19:18:08 +00:00
Georg Richter
797f7736eb Bugfix: #18532
Fixed week number calculation in accordance with ISO 8601
2002-07-26 16:50:34 +00:00
Stefan Esser
02e6cd022a all functions based on php_stat are now safe mode aware... 2002-07-26 08:04:42 +00:00
Derick Rethans
b7cc9f7447 - Added parameter to print_r which returns the variable representation
instead of echoing it.
@- Added parameter to print_r which returns the variable representation
@  instead of echoing it. (Derick)
2002-07-25 11:22:20 +00:00
Yasuo Ohgaki
7b3fb771e4 is_object() returns FALSE if object is a "incomplete object".
Raise E_NOTICE, instead of E_ERROR, for setting/getting properties
to/from a "incomplete object".
2002-07-24 09:55:11 +00:00
jim winstead
e83a35d215 restore shane to list of members of php group (got lost somewhere along the way) 2002-07-23 23:46:54 +00:00
Jason Greene
a64eceef59 Switch streams socket abstraction to use a timeval structure instead of an
integer to allow subsecond timeouts.

This supports the previous behavior of fsockopen()
Fixes bug #16261
2002-07-22 18:46:26 +00:00
Jason Greene
9b68acb7f7 @Fixed infinite recursion crash bug in ticks (Jason)
Prevent reenterant calls to a user tick function by flagging the function
entry during call.

This prevents code like the following from infinitely recursing until a
crash occurs:
<?php

register_tick_function(a);

declare(ticks=1) {
	function a() {
		print "blah\n";
	}
	;
	;
	;
	;
}
?>
2002-07-16 14:14:22 +00:00
Sander Roobol
99b495b25d Fixed win32 build 2002-07-13 09:26:36 +00:00
foobar
f059932711 nuke unused variable warning 2002-07-13 07:10:59 +00:00
foobar
e3797ab76a Fixed bug: #16638. 2002-07-13 04:45:21 +00:00
foobar
2f8dc7a47c - Made the trim functions use same base function. (less code :)
- Renamed php_trim2 -> php_trim (not used anyplace else, yet)
- Made php_trim abit more usable for external use. (not necessary to use
  zvals with it anymore)
2002-07-13 04:13:43 +00:00
foobar
48634e4026 - Fixed compile (bug #18297) on such systems which define uchar. 2002-07-12 22:34:43 +00:00
foobar
c8f5edec93 Fixed bug: #16637, username/password needs to be urlencoded. 2002-07-11 02:35:45 +00:00
Jason Greene
d907b2d525 @Fixed socket_set_timeout on win32 (Jason, Edin, Jani) 2002-07-10 15:23:47 +00:00
Andi Gutmans
c28df01280 - Add TSRMLS_DC to prototype. 2002-07-08 18:44:05 +00:00
Andi Gutmans
b4146638f0 - Fix TSRMLS_* stuff 2002-07-08 18:29:54 +00:00
Derick Rethans
728f2de442 Unify error messages 2002-07-08 12:52:22 +00:00
Derick Rethans
bd356fd0b9 Unify error messages 2002-07-08 11:52:57 +00:00
Derick Rethans
fca0231206 - Add warning to is_*() functions if more than one argument was passed 2002-07-08 11:50:01 +00:00
Derick Rethans
392a452c80 Silence warning 2002-07-08 07:33:22 +00:00
Derick Rethans
cc920570fd Unify error messages 2002-07-08 07:32:59 +00:00
Derick Rethans
7faa669915 - Fix for bug #14580: Made key() binary safe 2002-07-08 07:02:55 +00:00
Sterling Hughes
a6d815fb7c fix win32 build 2002-07-07 21:51:25 +00:00
Sebastian Bergmann
72e7e4afd9 Fix warning. 2002-07-07 08:19:36 +00:00
Stig Bakken
c6ec881953 * fix segfault in case of odd version numbers 2002-07-05 01:00:05 +00:00
Stig Bakken
8b4a25ec13 (PHP version_compare) added "alpha" and "beta", make tests pass 2002-07-05 00:55:02 +00:00
Frank M. Kromann
fd348068f4 Adding missing prototype 2002-07-03 18:23:24 +00:00
Sascha Schumann
9c876ea01a Add sapi_header_op interface which supersedes the sapi_add_header and _ex
calls.

Revert the change to the sapi_add_header_ex interface.

Fix various bugs:

1.  header("HTTP/1.0 306 foo");
    header("Location: absolute-uri");

    did not work in combination with several SAPI modules, because
    http_status_line was never properly reset.  And thus, all SAPI
    modules which looked at http_status_line ignored the changed
    http_response_code.

2.  The CGI SAPI did not send out the HTTP status line at all, if
    http_status_line had not been set explicitly by calling
    header("HTTP/1.0 200 foo");
2002-07-03 10:42:31 +00:00
Derick Rethans
c73733c59a - Fix windows build
#- I could not test this, please try!
2002-07-03 06:45:01 +00:00
foobar
980d7a11a9 Fix the nasty crash. And Sterling..test next time before you commit? 2002-07-03 03:18:55 +00:00
Frank M. Kromann
8a7c339974 Add default arguments to new internal mail function. 2002-07-02 23:46:15 +00:00
Sterling Hughes
d4512030bb use access instead of manually determining file permissions.. 2002-07-02 21:02:34 +00:00
Derick Rethans
f7cab95a7d - Be nice to users and allow them to check if the mail was send 2002-07-02 14:22:22 +00:00
Derick Rethans
0d61ab3814 - Disable 5th parameter to mail in safemode
@- Disabled the fifth parameter to the mail function in safemode. (Derick)
2002-07-02 13:56:47 +00:00
Derick Rethans
7b7608d630 - Fix for bug #15547 (Patch by Justin Garrett <usjgarrett@byu.edu>) 2002-07-02 06:16:35 +00:00
Derick Rethans
d73eed9210 - No C++ comments 2002-07-01 18:52:30 +00:00
Sascha Schumann
71a603ea32 Fix some 8bit issues with IRCG nickname encoding and
Change the underlying interface of smart_str to accept unsigned char.
2002-06-29 18:46:49 +00:00
Derick Rethans
1bf9b3d736 - Fix for bug #17654 2002-06-29 15:39:41 +00:00
Thies C. Arntzen
5a0c283700 fix leak 2002-06-29 11:13:03 +00:00
Sander Roobol
609e134871 Update configure line in phpinfo() after re-running configure without
running make clean first, bug #18012.
2002-06-27 10:01:06 +00:00
Derick Rethans
ea303541f8 - And the SAPI too 2002-06-26 18:58:49 +00:00
Derick Rethans
3696bc781a - Update credits 2002-06-26 18:58:25 +00:00
Andi Gutmans
1f58a8f087 - No idea why this wasn't crashing before. 2002-06-26 07:36:01 +00:00
Marcus Boerger
43ec2dfa59 bits/channels for gif 2002-06-25 21:22:14 +00:00
Marcus Boerger
ba6498e4c5 missing return value 2002-06-24 22:00:22 +00:00
Marcus Boerger
cccc4e3c5a register IMAGETYPE_<xxx> constants in image.c as they are needed
there.
2002-06-24 19:36:26 +00:00
Marcus Boerger
48bdf08edb @GetImageSize now allways set fields unknown to 0 and new Imagetype
@iff. (Marcus)
2002-06-24 19:19:08 +00:00
Marcus Boerger
1f56d4ba08 -imagetype2mimetype renamed to image_type_to_mime_type 2002-06-23 00:43:11 +00:00
Marcus Boerger
d782c712ca -exif version
-missing constant (and notice)
-corrected error messages
2002-06-22 23:43:16 +00:00
Marcus Boerger
c8f1529d08 @GetImageSize now returns additional index 'MimeType' and new function
@imagetype2mimetype to convert php imagetypes to mime-types. (Marcus)
#the reason why i export php_imagetype2mimetype is that i use that for
#exif, too. Followup example will explain why.
2002-06-22 18:14:39 +00:00
Marcus Boerger
d4b1909afe ws fix 2002-06-22 17:09:28 +00:00
Derick Rethans
6869cb3f5a - Added a new parameter to the header() function which overrides the HTTP
response code.
@- Added a new parameter to the header() function which overrides the HTTP
@  response code. (Derick)
2002-06-21 09:31:21 +00:00
Sander Roobol
3d1612c2fb Made the API versions appear better on phpinfo(); 2002-06-19 13:24:01 +00:00
Stig Venaas
7853832234 Made array_unique() always keep the first occurrences of duplicates,
making the behavior easier to understand, and maybe more useful.
2002-06-18 19:37:59 +00:00
Jan Lehnardt
df226a54d9 - WS-fixes 2002-06-18 13:16:33 +00:00
Hartmut Holzgraefe
303852b42e - fixed bug in enclosure handling (was still hardcoded to '"' in one place)
- added possibility to pass empty enclosure if you really don't want one
2002-06-18 12:16:27 +00:00
Sander Roobol
ace4a23dfc Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for
add- and stripslashes().
# this time without cvs messing up and aborting, hopefully :)
2002-06-18 11:51:06 +00:00
Sander Roobol
07975157eb Fix stripslashes when magic_quotes_sybase is enabled, and add a test for
add- and stripslashes().
2002-06-18 11:42:21 +00:00