1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00
Commit Graph

1733 Commits

Author SHA1 Message Date
Sterling Hughes 97fea0931c Make rand thread safe when ZTS is defined. 2001-09-16 20:49:57 +00:00
Sterling Hughes 96763e8372 Hopefully fix compile warnings on win32 systems 2001-09-16 17:37:19 +00:00
Sterling Hughes 47f3851a00 for the daft folks that think 0 is a good seed. 2001-09-16 03:50:04 +00:00
Sterling Hughes 373fc12bb1 @ Make the seed options to srand() and mt_srand() optional, if the seed is
@ not specified, the generate the most random seed possible. (Sterling)

Please, if anyone has any comments on the way I generate this seed, speak up!
This seems to be the most "random" seed I could come up with...

This commit is 100% backwards compatible :)

Add myself to the authors list cause of recent work on the file
2001-09-16 03:46:59 +00:00
Rui Hirokawa 9c5580c7d4 Added support for japanese encoding to htmlentites() and htmlspecialchars(). @ Added support for japanese encoding to htmlentites() and htmlspecialchars(). (Rui) 2001-09-15 04:48:48 +00:00
Thies C. Arntzen e929389eeb fix strtr() when called with two parameters. this has been broken for some time!
guys, when "optimizing" functions you _shoudl_ write a testcase for the
working function and make _sure_ that it works afterwards!
2001-09-13 10:48:41 +00:00
foobar 5275b60398 Enable chroot() only if SAPI is CGI. 2001-09-12 02:07:46 +00:00
Sascha Schumann 4c69a970d3 Remove some unused variables 2001-09-11 07:52:55 +00:00
Sascha Schumann 2bbbec107b A round of "d'ohs" for me, please.
We must not stop scanning after finding a "?", because we
need the information regarding the "#".
2001-09-10 11:22:43 +00:00
Zeev Suraski 517bd3018c Do some justice to the doc team 2001-09-09 23:37:55 +00:00
Sascha Schumann de963ce9c6 Better fix for mark problem 2001-09-09 14:52:39 +00:00
Sascha Schumann c86c9f52b4 Fix mark-handling 2001-09-09 14:38:12 +00:00
Derick Rethans 78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
Derick Rethans 61d4f7fe65 - Really fix nl2br now... it's actaulyl faster now 2001-09-09 12:55:48 +00:00
Derick Rethans 176cd90bd7 - Fix for bug 11904
#- This is possibly not the best solution... feel free to improve
2001-09-09 11:42:36 +00:00
Sterling Hughes ff2bc83c08 remove ARG_COUNT(ht)
# Is there any reason that the set_compare_func call is passed SORT_STRING
# instead of SORT_REGULAR??
2001-09-09 11:03:31 +00:00
Sterling Hughes 6963ac4050 export the mt rand functions... 2001-09-09 10:44:12 +00:00
Sterling Hughes 25d4500a86 I should really learn how to spell 2001-09-06 08:56:24 +00:00
Sterling Hughes b7ba9e007d avoid lowercasing the string 2001-09-06 08:54:54 +00:00
Sterling Hughes 33fc6e2d5f add missing ) 2001-09-06 07:33:45 +00:00
Sterling Hughes 8a156d9a39 fix ms compile warnings 2001-09-06 06:41:16 +00:00
Sterling Hughes 903c831be5 spaces -> tabs work cont. 2001-09-06 00:40:02 +00:00
Sterling Hughes a4c905ff16 ws fix 2001-09-06 00:18:13 +00:00
Sterling Hughes a1b11f0755 Fix ts build
# I've gotta start compiling --enable-experimental-zts...  anyway we can make
# this the default when compiling from cvs?  It'll help a large portion of
# compile issues with patches
2001-09-05 21:46:44 +00:00
Sterling Hughes e121eaaef5 Straight out da bronx, I be using zend_parse_parameters()
# Word out to my peeps on Connor st.
2001-09-05 21:38:49 +00:00
Sterling Hughes 5ec58914fe stray tabs and spaces 2001-09-05 21:04:30 +00:00
Sterling Hughes f0c5631778 change range macro semantics
# Kinda torn between the two, thoughts?
2001-09-05 20:59:24 +00:00
Sterling Hughes d930a72cd7 remove inline 2001-09-05 20:56:15 +00:00
Sterling Hughes 1b0f00d67f a bit of api cleanup... move range stuff into a macro (properly :) 2001-09-05 20:52:45 +00:00
foobar 42b5521af5 revert bad commit. 2001-09-05 19:47:55 +00:00
Sterling Hughes b9edf7c17c API Update 2001-09-05 06:55:37 +00:00
Egon Schmid 03fbbb098c Fixed some protos. 2001-09-04 10:44:28 +00:00
Sterling Hughes 38cacba117 Thanks sebastian
# I really like this whole qa team thingy
2001-09-04 10:13:55 +00:00
Sterling Hughes 536c96969b update php_trim as well... 2001-09-04 09:35:53 +00:00
Sterling Hughes c661449ebf fix crash bug 2001-09-04 09:33:30 +00:00
Sterling Hughes 0935217091 fix proto 2001-09-04 06:21:48 +00:00
Sterling Hughes e55315a375 tabs -> spaces 2001-09-04 06:20:23 +00:00
Sterling Hughes fe03f6f4c2 Begin cleanup, api wise... 2001-09-04 06:18:11 +00:00
Sterling Hughes 3151916113 pval -> zval 2001-09-04 06:08:42 +00:00
Daniel Beulshausen 9b8886410d fix zts+win32 build 2001-09-04 02:19:30 +00:00
Sterling Hughes dda004bcfb - update to php4 api
- expand case statements, ie:

case 1: case 2: case 3:

to

case 1:
case 2:
case 3:

- Remove un-necessary brackets and parentheses (only when it takes away from
readability, I know this is quite arbitrary, but I did my best :)
2001-09-03 23:30:33 +00:00
Andi Gutmans 1ecd31b66c - Fix thread safe mode.
- Please don't use Java style function braces.
2001-09-03 20:21:00 +00:00
Derick Rethans 383691eec2 - Fix broken build
#- Please test before commit!
2001-09-03 17:38:10 +00:00
Stanislav Malyshev 0a143cf655 Add _php_math_zvaltobase and _php_math_basetozval
This allows to use bindec, etc. functions to convert numbers longer
than fits in long, using floats instead.
Note: the functions like decbin still don't use the zval-ed functions,
so they work only on longs yet.
2001-09-03 16:26:31 +00:00
Jeroen van Wolffelaar dc8386e30d Removed outdated comment until I've got a better one 2001-09-03 12:01:50 +00:00
Jeroen van Wolffelaar efb83df9f9 Kill some warnings/errors (reported by Sebastian, more to come, but
could take some time. Update of ZTS-builderrors is welcome)
2001-09-03 11:57:15 +00:00
Sterling Hughes 79c27f0cd2 should be this 2001-09-03 08:47:45 +00:00
Sterling Hughes b417b96fb8 - Update to the PHP4 API (newer macros)
- Improve error reporting from split()
- Some minor speed improvements
2001-09-03 08:44:02 +00:00
Sterling Hughes f6d73d73fb stray tabs 2001-09-03 06:10:45 +00:00
Sterling Hughes f14ada19ac cleanup sscanf() just a tiny bit, just so it looks like the rest of the code
in the string.c file.
2001-09-03 04:49:36 +00:00