Commit Graph

8123 Commits

Author SHA1 Message Date
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