Andi Gutmans
442890f3e1
- And more...
2001-07-29 08:20:30 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- 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...
2001-07-27 10:16:41 +00:00
Thies C. Arntzen
b660a9f553
fix newly introduced mem-leak in assert-module
2001-07-23 16:13:34 +00:00
Zeev Suraski
336004f4bc
Improved bailout mechanism, supports nested bailouts a-la try..catch
...
Note: You may *not* return directly from a catch block
2001-07-21 14:27:56 +00:00
Rasmus Lerdorf
934e10c7dc
Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
...
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a gid check instead of a uid check. (James E. Flemer, Rasmus)
2001-07-09 17:36:04 +00:00
Thies C. Arntzen
61822fcd47
@ - assert() now accepts the array(&$obj,"methodname") syntax. (Thies)
...
+ some cleanups
2001-07-09 10:20:41 +00:00
Sascha Schumann
28efce4019
Reset strtok_string, so that strtok can be used in all session handler
...
functions.
2001-07-08 23:28:48 +00:00
Wez Furlong
f1364ebf3e
(PHP nl_langinfo) Added function when provided by OS
...
(PHP htmlentities, htmlspecialchars) Uses nl_langinfo to determine charset
@- Added nl_langinfo() (when OS provides it) that returns locale
information. (Wez Furlong)
# There are a lot of constants used by nl_langinfo; should we do something
# along the lines of what we do for syslog?
2001-07-04 10:10:30 +00:00
Derick Rethans
91424b2b91
- Fixed proto's (Patch by Zak)
2001-07-02 11:11:58 +00:00
Andi Gutmans
c977f29862
- Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable))
2001-06-19 16:03:35 +00:00
Zeev Suraski
1093ed17fb
Clean-up
...
Remove a lot of 100% redundent code
2001-06-13 17:04:36 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Sterling Hughes
b2bd3b315f
move to php_strtok_r()
2001-05-27 01:18:12 +00:00
Andi Gutmans
4ddb24366f
- Fix problem of output initialization
2001-05-23 16:52:45 +00:00
Sterling Hughes
17e5edbf18
@ Added the CONNECTION_ABORTED, CONNECTION_TIMEOUT and CONNECTION_NORMAL
...
@ constants. (Zak)
2001-05-23 03:37:53 +00:00
Andi Gutmans
177934732b
- Start nuking not needed GINIT
2001-05-22 19:19:04 +00:00
Andrei Zmievski
4d78270b4e
Moving some functions into Zend.
2001-05-21 15:47:52 +00:00
Andi Gutmans
d160031c7d
- EG's are passed automatically to internal functions.
2001-05-21 15:27:11 +00:00
Sean Bright
0b716d18b1
Added get_defined_constants() function. Returns an associative array of
...
constants mapped to their values.
@- Added get_defined_constants() function to return an associative array of
@ constants mapped to their values. (Sean)
# If anyone sees a problem let me know.
2001-05-21 13:36:42 +00:00
Derick Rethans
dc43b9f574
- Reversed 'fix' for #9698
...
- Fix for bug #9698/#10681 (patch by kettler@gmx.net )
@- Added the 'u' modifier to printf/sprintf which prints unsigned longs.
@ (Derick)
2001-05-20 00:23:49 +00:00
foobar
16b94858b6
Fixed bug #10964
2001-05-19 22:21:40 +00:00
Sascha Schumann
d5cfb03ac9
munmap() file in RSHUTDOWN, if PHPWRITE fails.
2001-05-18 23:38:46 +00:00
Jon Parise
82b31fb7a3
@ - Added disk_total_space() to return the total size of a filesystem.
...
@ (Patch from Steven Bower)
2001-05-15 23:43:18 +00:00
Jon Parise
6c5db8d2d7
@ - Renamed diskfreespace() to disk_free_space() to conform to established
...
@ naming conventions. (jon)
2001-05-15 23:28:17 +00:00
Andrei Zmievski
1f9808b4ee
Clean up call_user_func_*().
2001-05-14 20:56:05 +00:00
Sterling Hughes
803bebb303
Use zend_is_callable to test whether or not the given callback is valid
...
before calling the function.
2001-05-14 20:06:06 +00:00
Sterling Hughes
47ee387d79
Use zend_is_callable() and fix sp of deprecated.
2001-05-14 19:19:03 +00:00
Sterling Hughes
c58fdadc1f
Couple of changes (and a little whitespace correction, sorry to mix :(
...
1) Depreciate the call_user_method*() variety of functions, their
functionality can be easily duplicated by using the call_user_func*()
functions (using the array(&$obj, "method") syntax).
2) Change some pval's to zval's.
3) Improve the error handling mechanism of call_user_func*() to report
an the class name and the function name if an object or class name is
given.
2001-05-14 19:02:23 +00:00
Andrei Zmievski
8a86d17882
Need to use ELS_FETCH() here.
2001-05-14 14:16:44 +00:00
Andrei Zmievski
553e04be2f
@- Fixed a bug in call_user_*() functions that would not allow calling
...
functions/methods that accepted parameters by reference. (Andrei)
* Allow separation of arguments in call_user_* functions - this allows calling
functions that force parameters by reference.
* Use executor function table instead of compiler one.
2001-05-14 13:24:03 +00:00
Andrei Zmievski
8112d1beba
@- Added is_callable() function that can be used to find out whether
...
@ its argument is a valid callable construct. (Andrei)
2001-05-09 20:06:39 +00:00
James Moore
f3342a5b55
Fix win32 build
2001-05-06 19:20:25 +00:00
foobar
6c21f7ef0f
Moved ts_alloca_id() into MINIT like Andi requested.
2001-05-06 17:55:10 +00:00
foobar
8e006f81af
Fix bug: #8834 . Now there should be more random salts..
2001-05-06 16:54:27 +00:00
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00
David Croft
34f03f2c5c
@ - Added key_exists() to check if a given key or index exists in an
...
@ array or object (David Croft)
Added key_exists() to check if a given key or index exists in an array or object
2001-04-30 04:06:09 +00:00
Wez Furlong
86c84da7c2
Discovered warn_not_available and used it.
2001-04-17 17:08:03 +00:00
Wez Furlong
57af70f707
Changes for streams. Added temporary fopenstream function to PHP so that
...
the streams can be tested.
2001-04-17 17:06:06 +00:00
André Langhorst
9762f64222
fix proto
2001-04-07 15:43:06 +00:00
Sascha Schumann
fa068b5297
Fix ZTS build
2001-03-24 01:08:13 +00:00
Romolo Manfredini
01ac20050e
Added target ownership check in function copy for safe_mode operations
2001-03-23 09:30:51 +00:00
Sean Bright
90f3e09f08
Fixed prototype.
2001-03-22 14:43:48 +00:00
Sean Bright
e249545165
Fix for bug #9698 .
...
# Anyone that can think of a way to fix long2ip(), feel free.
2001-03-21 13:53:38 +00:00
Andrei Zmievski
d9aa966a44
@- Added array_map() function that applies a callback to the elements
...
@ of given arrays and returns the result. It can also be used with a
@ null callback to transpose arrays. (Andrei)
2001-03-19 21:20:02 +00:00
Andrei Zmievski
770c66125d
@- Added array_filter(), which allows filtering of array elements via
...
@ the specified callback. (Andrei)
2001-03-16 20:46:33 +00:00
foobar
88f41b4e91
This has got to be the last one..
2001-03-16 18:18:01 +00:00
Andrei Zmievski
d73ef12429
@- Added array_reduce(), which allows iterative reduction of an array
...
@ to a single value via a callback function. (Andrei)
- Added array_reduce(), which allows iterative reduction of an array
to a single value via a callback function.
- Fixed usage of zend_is_callable() in PCRE.
2001-03-12 03:06:53 +00:00
foobar
6795032cb8
HAVE_BINDLIB --> HAVE_LIBBIND
2001-03-11 03:49:21 +00:00