Commit Graph

8335 Commits

Author SHA1 Message Date
foobar
3e23ab6893 Made the fribidi-config search a bit better. 2002-10-12 01:14:42 +00:00
Tal Peer
814373e8b7 Use var_dump instaed of plain echo 2002-10-11 20:20:52 +00:00
Moriyoshi Koizumi
f5b53c17ab Improved the test cases so that they will be skipped rather than failed, if libiconv is not used. 2002-10-11 18:07:47 +00:00
Markus Fischer
f43e4cc93d - Document were the first test came from. 2002-10-11 18:06:15 +00:00
Moriyoshi Koizumi
764df05768 *** empty log message *** 2002-10-11 17:48:39 +00:00
Moriyoshi Koizumi
adbdd71dc8 Fixed possible compile-time failure 2002-10-11 17:01:34 +00:00
foobar
e7b49d64a6 Renamed and fixed constant 2002-10-11 15:50:37 +00:00
foobar
12c713cf7f - Removed ext/icap (ext/mcal is the one to be used) 2002-10-11 15:30:44 +00:00
foobar
0654763cc6 ws fix 2002-10-11 15:25:36 +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
Christian Stocker
0e384b473b text and comment nodes do not have children... test was wrong, implementation
is right :)
2002-10-11 14:02:59 +00:00
Christian Stocker
820e5b766a node->attributes returns null, if there are no attributes. 2002-10-11 14:00:12 +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
foobar
edc755aa54 fix typo. 2002-10-11 13:43:24 +00:00
Derick Rethans
5a6243a4b5 - Change constant name 2002-10-11 13:09:48 +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
Derick Rethans
bbf6b5fee4 - Skip if an external lib gd is used (which always has this crash-bug) 2002-10-11 10:08:42 +00:00
Derick Rethans
7713b4097d - Add indetified for bundled GD 2002-10-11 09:49:38 +00:00
Derick Rethans
03b3478754 - Style polizei :) 2002-10-11 08:15:05 +00:00
Moriyoshi Koizumi
d2f99493a0 Reformatted.
# Still bad?
2002-10-11 08:01:18 +00:00
Moriyoshi Koizumi
1a867685a0 Added ICONV_IMPL and ICONV_VERSION constants.
@- Added ICONV_IMPL and ICONV_VERSION constants to iconv extension to
@  indicate which iconv implementation is used. (Moriyoshi)
2002-10-11 07:50:47 +00:00
Moriyoshi Koizumi
fe79eaf08f Added set_time_limit(); We should stop it in some time. See the comment in the script for detail. 2002-10-11 07:38:18 +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
Melvyn Sopacua
641f346cf6 Another small test for iconv transliteration, from GNU libiconv testkit 2002-10-10 19:06:00 +00:00
Andrey Hristov
cd282dad98 ws fixes 2002-10-10 18:41:24 +00:00
Moriyoshi Koizumi
9520422501 Fixed the encoding 2002-10-10 17:16:46 +00:00
Moriyoshi Koizumi
7b3fb01072 Updated the test cases so that they use mb_regex_set_options.
Added a test for mb_regex_set_options.
2002-10-10 17:05:04 +00:00
Moriyoshi Koizumi
2f88f504c1 Fixed mb_regex_set_options() 2002-10-10 17:00:36 +00:00
Moriyoshi Koizumi
70742ae9b6 --disable-mbregex had no effect 2002-10-10 16:57:52 +00:00
Melvyn Sopacua
e4e53bb4b3 It used to be 003 2002-10-10 16:49:33 +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
Melvyn Sopacua
d49b576243 Fix platform dependencies, setlocale output, bug #19836 2002-10-10 15:27:11 +00:00
Ilia Alshanetsky
67c081afd6 Fixed a few more memory leaks. 2002-10-10 14:46:18 +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
d448bd7840 Be consistent with other extensions. 2002-10-10 04:26:03 +00:00
foobar
9029b356b2 - Cleaned up some code and used the proper macros for ZTS stuff.
- Fixed a memleak.
- Fixed a bug in pfpro_process() when response contains only 2 entries.
  (random garbage added in the end of the value + key sometimes wrong)

# Sorry for including the ws fixes..I got carried away when fixing that bug
2002-10-10 02:23:24 +00:00
foobar
7c7905468b - Fixed the payflowpro version check and cleaned up this a bit. 2002-10-10 00:24:26 +00:00
foobar
1345c76162 Revert previous change, it did not fix anything. 2002-10-09 23:18:47 +00:00
Melvyn Sopacua
418908f994 Test for standard transliteration.
Original check-translit from GNU libiconv-1.8
2002-10-09 23:16:39 +00:00
James Cox
fbd4b1733d overrule <center> 2002-10-09 22:32:01 +00:00
Derick Rethans
c10b169670 - Use a more descriptive filename 2002-10-09 20:30:30 +00:00
Jan Lehnardt
d888b62eb2 - remove ext/cybercash
- http://www.verisign.com/support/cyberCash/dnsChangeNotification.html

 - The migration of CyberCash merchants to the VeriSign Payflow service is
 - scheduled for completion in mid-February. At that time we will begin the
 - shutdown of the CyberCash payment gateway and all related systems. This
 - final shutdown process requires us to change DNS for the VeriSign Payflow
 - service. The DNS change is scheduled at approximately 6PM ET on February 28,
 -  2002.
@- removed ext/cybercash (jan)
2002-10-09 20:20:18 +00:00
Moriyoshi Koizumi
cfcfd094e9 Renamed the test case files in order to avoid confusion 2002-10-09 20:19:13 +00:00
Jan Lehnardt
1df2d5eecb - let's talk about leftovers..... 2002-10-09 19:36:54 +00:00
Jan Lehnardt
e797cdb421 - fix alignment 2002-10-09 19:27:16 +00:00
Jan Lehnardt
a3fea96a7a - note aspell 2002-10-09 19:25:17 +00:00
Jan Lehnardt
4aed2f2308 - R.I.P. ext/ccvs.
@- removed ext/ccvs (jan)
2002-10-09 19:15:31 +00:00
Jan Lehnardt
31b0867fe6 - R.I.P. ext aspell
@- removed ext/aspell (jan)
#configure note follows
2002-10-09 19:12:32 +00:00
Jan Lehnardt
6b3234f3d4 - fix build on FreeBSD, verified by thies. 2002-10-09 18:59:15 +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
Derick Rethans
6b3820a510 - Skip when GD is not available 2002-10-09 13:54:21 +00:00
Andrey Hristov
868ae8b6e0 ws fixes. 2002-10-09 13:50:06 +00:00
Derick Rethans
f6f58fc300 - Added test case for bug #19266 2002-10-09 13:48:28 +00:00
Zak Greant
70e49320f1 Removed spurious code. Thanks Derick 2002-10-09 13:46:18 +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
Ilia Alshanetsky
40d1127568 Fixed memory leaks. 2002-10-09 13:29:10 +00:00
Zak Greant
6a590082ca Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives better performance. Thanks Zeev. 2002-10-09 13:05:42 +00:00
Rui Hirokawa
382a92cc5a added @ to suppress a notice. 2002-10-09 12:54:52 +00:00
Zak Greant
0ecf32f750 Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)
Major changes to _restore_connection_defaults
 - added code block to finds and releases the active mysql result (if any)
 - this should prevent the 'Commands out of sync' error that would be
   raised when a query is made when unfreed results exist

Minor changes to _restore_connection_defaults
 - replaced calls to mysql_real_query with mysql_query
   - we probably should not be using mysql_real_query without checking to
     see if we have a version that supports the function.
   - given that we control the query strings here and do not need to
     worry about binary safety, I am using mysql_query instead
   - see the bug report for further discussion
2002-10-09 12:33:40 +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
Markus Fischer
121d4d1ef0 - Fix protos (resource instead of int for stream_id, fix some return protos,
consistent usage of options instead of flags).
- Make imap_ping,imap_setquota and imap_setacl  return a real (bool) now.
2002-10-09 09:20:46 +00:00
Zak Greant
dbf1d82afa Set default value for mysql.connect_timeout to -1. This setting matches the setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone. 2002-10-09 07:34:48 +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
Andrei Zmievski
3b60494829 Tokenizer has been stable for some time now. 2002-10-08 20:12:55 +00:00
Ilia Alshanetsky
e672ce4ccc Fixed bug #19280 2002-10-08 20:07:52 +00:00
Colin Viebrock
080c7a789e don't define fonts ... use the browser defaults 2002-10-08 19:42:23 +00:00
Derick Rethans
4a54968c71 - hardcode default rewriting tags 2002-10-08 18:30:38 +00:00
Moriyoshi Koizumi
579a1c3ab1 ZTS fixes 2002-10-08 17:20:10 +00:00
Melvyn Sopacua
03777770c0 Fix config bug reported by Jan Lehnart.
Keep it simple, and the size of a pointer is always known, duh.
2002-10-08 16:20:20 +00:00
Moriyoshi Koizumi
e9444610eb Removed table generating code. The return values of isalnum() may vary by the locale setting. 2002-10-08 15:15:50 +00:00
Ilia Alshanetsky
8f4276b61d Fixed memory leak. 2002-10-08 14:57:06 +00:00
Tal Peer
be7da25930 Enhanced test to also check charsets CP1255 and ISO-8859-8 2002-10-08 14:08:17 +00:00
Derick Rethans
2af2e62850 - Add the source file too 2002-10-08 10:01:34 +00:00
Derick Rethans
f0c1345cb6 - Add blowfish compatibility test 2002-10-08 10:00:52 +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
Tal Peer
6d80a07ba0 Added test to check if charsets constants are defined 2002-10-08 08:17:03 +00:00
Derick Rethans
bde85234d6 - Please do not use notices for debug information 2002-10-08 08:01:06 +00:00
Derick Rethans
5a84ae6489 - Use error_reporting E_ALL 2002-10-08 07:55:02 +00:00
Sebastian Bergmann
af8230e28c Fix ZTS build. 2002-10-08 05:08:39 +00:00
Rasmus Lerdorf
0179bd7657 Get rid of redundant loop 2002-10-08 00:16:55 +00:00
Rasmus Lerdorf
69677a7a67 FreeBSD ming port sticks ming.h in /usr/local/include/ming/ming.h and
we weren't finding it there.
2002-10-08 00:15:10 +00:00
Rasmus Lerdorf
5acdd41d6e Make zlib-dir actually mean something during the check 2002-10-07 22:27:50 +00:00
Dan Kalowsky
164188d122 Fix for bug #19798 (submitted by mclap@simpage.mv.ru) 2002-10-07 21:58:56 +00:00
Rasmus Lerdorf
74286bd28d Argh! Revert. I'm on drugs. Was linking in a newer libz when I checked
this.
2002-10-07 21:13:46 +00:00
Ilia Alshanetsky
d6775c5c3f Added tests for strstr(), strpos() and substr_count() functions. 2002-10-07 21:07:42 +00:00
Rasmus Lerdorf
a6b780f94e Oops, should still define that. Didn't think I needed it as nothing in
ext/zlib checks it, but it is checked elsewhere.
2002-10-07 20:59:59 +00:00
Rasmus Lerdorf
6446f7158b This restriction is no longer true after the streams changes. 2002-10-07 20:55:41 +00:00
Moriyoshi Koizumi
8f1fb5768b Fixed typo. 2002-10-07 20:12:48 +00:00
Tal Peer
0ae2166fbe Initial commit of fribidi_log2vis test 2002-10-07 19:35:30 +00:00
Moriyoshi Koizumi
a0f61c9c51 Added test cases for mbregex 2002-10-07 18:02:05 +00:00
Moriyoshi Koizumi
2e1d931c66 Lots of clean-up for upcoming mbstring merging event.
Added mb_regex_set_options().
The Options parameters of various mbregex functions are now deprecated.
@- Added mb_regex_set_options(). The Options parameters of
@  various mbregex functions are now deprecated. (Moriyoshi).
2002-10-07 17:59:49 +00:00
Andrei Zmievski
6863d70ef3 Use a copy of locale instead of the original. Fixes bug #19482. 2002-10-07 17:16:23 +00:00
David Viner
0803ebfa3e adding test of xslt_set_object
--dviner
2002-10-07 16:59:08 +00:00
Moriyoshi Koizumi
931e25297b fixed mb_split (the value of third parameter treated wrongly) 2002-10-07 16:46: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
Moriyoshi Koizumi
9b849892ea MFH 2002-10-07 16:15:36 +00:00
Stefan Esser
a8191a66c1 never smash the stack... 2002-10-07 16:11:30 +00:00
Stefan Esser
5619a3d0a5 fixing possible off by one in error case 2002-10-07 16:05:28 +00:00
foobar
eb67b2476b Fix obvious error.. 2002-10-07 11:08:11 +00:00
Jan Lehnardt
94daa9c26a - fix typo and improve error message 2002-10-07 10:09:07 +00:00
Sascha Schumann
8ca10fb5e8 Call ob_flush to force the buffer contents to go through the rewriter. 2002-10-07 10:07:27 +00:00
Marc Boeren
cee4219e49 Tests will be skipped if a tester does not explicitly specify the
test-database setup in dbx_test.p.
2002-10-07 09:27:02 +00:00
Sascha Schumann
2dde6fb594 Print out warning only, if a variable was actually migrated 2002-10-07 02:37:50 +00:00
Melvyn Sopacua
2628482ee9 (xslt tests) Add test for memory leaks, caused by inapproreate use of
the struct. Memory leak is caused by at least 2 errors on
             handle.
2002-10-06 23:58:51 +00:00
Sebastian Bergmann
d7f9e8526f Silence warning. 2002-10-06 21:47:54 +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
76ee49e5b4 Fix for bug 19781 2002-10-06 17:47:50 +00:00
Ilia Alshanetsky
6b5575a101 Code cleanup. Thanks Andi. 2002-10-06 17:17:38 +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
Rasmus Lerdorf
d940131774 Fix build 2002-10-06 16:37:33 +00:00
Sander Roobol
533fda4121 Fixed getopt() - made it actually work 2002-10-06 16:33:14 +00:00
Melvyn Sopacua
8e1da7dbda MFB 2002-10-06 16:32:24 +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
Melvyn Sopacua
a22ab3f8e3 missed this, needed by 007.phpt 2002-10-06 15:51:33 +00:00
Moriyoshi Koizumi
a1b3f8382d added support for aliases of the encodings. 2002-10-06 15:31:52 +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
Sebastian Bergmann
6ca22a1740 HAVE_MBSTRING awareness. 2002-10-06 09:36:26 +00:00
Sebastian Bergmann
df472058e2 HAVE_MBREGEX awareness. 2002-10-06 09:29:54 +00:00
Zeev Suraski
de36720e0e Begin the cleanup - remove ob_flush_all() 2002-10-06 09:06:24 +00:00
Rasmus Lerdorf
b832af75f0 WS fix - although the entire libgd directory is horrendously formatted.
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).
2002-10-06 08:39:05 +00:00
Rasmus Lerdorf
731943287f Oops 2002-10-06 08:35:22 +00:00
Rasmus Lerdorf
409620351f Ok, perhaps it's too late at night, but I see absolutely no reason for
this chunk of code here.  Why is it writing a palette.map file to disk
in the middle of this function?  Looks like leftover debug code, and this
particular code seems to be crashing on OSX as per bug #19704.
2002-10-06 07:19:07 +00:00
Rasmus Lerdorf
26b69a7d93 Fix for bug #19700 - code by Wez 2002-10-06 06:47:53 +00:00
Moriyoshi Koizumi
0601d1fc41 made messages more consistent 2002-10-06 06:37:47 +00:00
Moriyoshi Koizumi
55b591365f Warnings for empty regular expressions 2002-10-06 06:21:34 +00:00
Rasmus Lerdorf
72d90fc41c As discussed a while ago, decoding GIF images is not considered a Unisys
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2.  The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.
2002-10-06 06:03:17 +00:00
Frank M. Kromann
797a0dc33c Adding missing include path's to non TS projects 2002-10-06 02:14:22 +00:00
Frank M. Kromann
0d23670b30 Fixing comment allowing the module to compile again 2002-10-06 02:10:19 +00:00
Derick Rethans
b007bd0696 - Add parse_url() tests (expect will follow later)url_t.phpt 2002-10-05 20:28:35 +00:00
Melvyn Sopacua
9bb526c283 (xslt tests) Add test for new backend API (005.phpt), new function
(006.phpt) and a crash test (007.phpt)
             006.phpt also tests handling of public entities, which is in
             essence new to the extension, since there was no way to turn
             it on.
# These new functions and backend will be added shortly.
# TODO: test for xslt_set_object
2002-10-05 19:44:26 +00:00
Melvyn Sopacua
b83d7bbf8a (xslt tests) Test for reference to a non-existing scheme handler. 2002-10-05 16:11:46 +00:00
Melvyn Sopacua
1fbef62ae9 (xslt: error_print) Fixes a leak when multiple error messages are issued
during a transformation.
# It's probably better to wrap this in an internal function, since it's
# easily forgotten.
2002-10-05 14:04:19 +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
Markus Fischer
945ccfa76a - Remove superfluous E_WARNING if mysql_connect() fails; there's already
an E_WARNING a few lines above.
2002-10-05 00:54:31 +00:00
David Viner
4f98cc5a55 adding the xslt_set_object function (as per discussion on php-dev and
the newly created sab-php@gingerall.cz)
--dviner
2002-10-04 23:06:10 +00:00
David Viner
1665272cee adding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee]
--dviner
2002-10-04 22:43:55 +00:00
Stefan Esser
4368b8e4ac some FTP servers return 32bit port numbers. 2002-10-04 22:20:08 +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
Wez Furlong
c429805e0b Make that error message more meaningful for systems like my SuSE 7.0 with
an apparently broken magic file.
2002-10-04 19:01:34 +00:00
Rasmus Lerdorf
5610e348ec Kill a few more warnings 2002-10-04 18:03:29 +00:00
Rasmus Lerdorf
2ca6f26918 Kill warning 2002-10-04 18:01:52 +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
Melvyn Sopacua
c4805ffeb1 Improve testkit for xslt.
002.phpt and 003.phpt are regression tests for reported bugs.
 004.phpt has been known to cause problems in some Sab/PHP combinations.
 No known reports in bug db for that one.
 Added skip mechanism
@- Added regression test for bugs #17791 and #17931 (Melvyn)
2002-10-04 11:41:34 +00:00
Melvyn Sopacua
7f1ad2395d (xslt_set_error_handler) Fixes array 'fields' argument to contain correct
information.
                         Patch by Lenar Lohmus.
@- Fixed fields argument to contain correct info. (Lenar Lohmus)
2002-10-04 09:22:03 +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
Sascha Schumann
fb84b3e1d0 remove trans_sid=1 2002-10-03 23:13:36 +00:00
Sascha Schumann
5db24fbb7b 20: rewriter uses arg_seperator.output for modifying URLs
21: rewriter handles <form> and <fieldset> correctly
2002-10-03 23:12:16 +00:00
Sascha Schumann
47cc29c9d1 19: serializing references test case using globals
18: rewriter correctly handles attribute names which contain dashes
2002-10-03 22:54:15 +00:00
Andrei Zmievski
a38123e756 Revert the patch for now. We'll be branching on Saturday the way it's
implemented is a bit half-baked. We can always merge it into the branch
at a later point.
2002-10-03 18:30:27 +00:00
Andrey Hristov
52c529c5af ws fixes.
#again :)
2002-10-03 18:15:18 +00:00
Sascha Schumann
eab0f5965f code from ancient bug #5271
setting $_SESSION before session_start() should not cause segfault
2002-10-03 16:55:08 +00:00
Sascha Schumann
3998374a0d invalid session.save_path should not cause a segfault 2002-10-03 16:49:52 +00:00
Sascha Schumann
61e47a342e use_trans_sid should not affect SID 2002-10-03 16:43:44 +00:00
Sascha Schumann
8882b28e60 editing 2002-10-03 16:14:55 +00:00
Sascha Schumann
d661fa4b46 A script should not be able to modify session.use_trans_sid 2002-10-03 15:58:10 +00:00
Sascha Schumann
bb4f911035 There should not be any warning with regard to redefining SID 2002-10-03 15:52:36 +00:00
Sascha Schumann
dba3e4c7ad Registering _SESSION should not segfault. 2002-10-03 15:48:18 +00:00
Sascha Schumann
d4e1ac6c26 Mini test cases for fixed segfaults 2002-10-03 15:39:29 +00:00
Sascha Schumann
5fe046c4c3 session_decode should not segfault 2002-10-03 15:33:00 +00:00
Sascha Schumann
e24247e632 Remove ob_start() 2002-10-03 15:19:55 +00:00
Sascha Schumann
16f54aaca8 Add test for unset($_SESSION["x"]); behaviour 2002-10-03 15:19:43 +00:00
Sascha Schumann
c4adf94fbd make tests work with CLI 2002-10-03 15:11:01 +00:00
Sascha Schumann
7e03310a6a Don't emit warning, if there is nothing to send 2002-10-03 15:10:36 +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
Stefan Esser
8fae3d7a49 swapped conditions to correct the logic 2002-10-03 12:16:44 +00:00
Andrey Hristov
ae70a4e458 few ws fixes. 2002-10-03 12:06:52 +00:00
Stefan Esser
b220b7113f Added ftp_ssl_connect() for FTP over SSL. 2002-10-03 11:33:05 +00:00
Marcus Boerger
9f8b57fb57 typing 2002-10-03 10:44:13 +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