Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andi Gutmans
29280bb9ec
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
2000-02-10 21:53:56 +00:00
Zeev Suraski
c12aa454ff
Compile fixes
2000-02-05 15:44:20 +00:00
Zeev Suraski
3a816341f9
Cleanup patches
2000-02-05 15:16:12 +00:00
Andi Gutmans
bdefd5da15
- Change IS_UNSET -> IS_NULL
2000-01-04 13:22:58 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Zeev Suraski
ccb4b18348
Happy new year (especially to Thies :)
...
- Zend branch patches merged in - get the PHP tree uptodate
- Clean
1999-12-31 14:06:31 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Andi Gutmans
3f6e00e48d
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
...
more tricky and I'm not sure how many places this is. zval allocations
were only made directly in 11 places.
1999-12-24 15:43:39 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Zeev Suraski
489de5dce2
Support the latest update to call_user_function_ex()
1999-12-19 18:58:27 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Andrei Zmievski
457a13dac5
Finished array_multisort() function. Basically it sorts multiple arrays
...
similar to ORDER BY SQL clause.
@ Added array_multisort() function. (Andrei)
# Docs are coming soon
1999-12-13 19:42:26 +00:00
Sascha Schumann
9278d9d911
Remove unnecessary ARRAYLS_FETCH() calls
1999-12-12 10:50:30 +00:00
Andrei Zmievski
dbaf6c5c65
Added array globals in preparation for multisort() changes.
1999-12-11 22:42:01 +00:00
Sascha Schumann
3b515617a4
Make array.c thread-safe
1999-12-01 17:21:52 +00:00
Thies C. Arntzen
5cc10ecec2
@- Fixed float-compare in min(),max(),a[r]sort(),[r]sort(). (Thies)
...
convert_to_long() after compare_function() destroys float-compares!
1999-11-21 17:13:39 +00:00
Egon Schmid
0929985414
Maybe later on today. Must buy some beer first.
1999-11-21 14:06:30 +00:00
Thies C. Arntzen
2451ff5368
@- Implemented array_flip() function. Returns input-array with key, value
...
@ flipped. (Thies)
(PHP array_flip) new function. no clash detection, only works for IS_STRING and IS_LONG datatypes in src-array.
1999-11-21 12:37:53 +00:00
Thies C. Arntzen
ee1380e6b0
-renamed some macros
...
-return_value_used now used in a few more functions
1999-11-21 12:13:44 +00:00
Andi Gutmans
3bffcbef5b
- Add array.c to the Win32 project
1999-11-19 15:06:57 +00:00
Andrei Zmievski
61142e4341
Just some rearranging.
1999-11-16 20:14:55 +00:00
Andi Gutmans
9e14736315
- Change used_return_value to return_value_used
1999-11-16 19:12:29 +00:00
Andi Gutmans
7239aad9c4
- Initial support for Thies' idea of passing functions a flag telling them
...
they don't need to return a value. Adjusted reset() to work with this.
It is a bit problematic because if internal functions don't look at the
flag and still return a value orginally this leaked. So I free the value
in any case, which kind of makes the speed gain a bit smaller
1999-11-16 18:47:47 +00:00
Thies C. Arntzen
2b08dfec28
(PHP k[r]sort) now use compare_function from libzend to be consistent with the language-core.
1999-11-14 19:59:52 +00:00
Andrei Zmievski
438addf331
Split array functions into separate module.
1999-11-13 20:31:54 +00:00