Commit Graph

870 Commits

Author SHA1 Message Date
Jani Taskinen
9f785ac30b ws 2007-08-31 10:45:54 +00:00
Dmitry Stogov
611abb17fc Namespace constants 2007-08-24 13:50:52 +00:00
Antony Dovgal
3e72a3636e fix #41989 (move_uploaded_file() & relative path in ZTS mode) 2007-07-19 15:56:33 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Antony Dovgal
1d0a4b2fe7 simplify the patch and prevent NULL retval_ptr_ptr's 2007-07-13 08:50:53 +00:00
Antony Dovgal
86c819cede fix #41970 (call_user_func_*() leaks on failure) 2007-07-12 09:19:04 +00:00
Johannes Schlüter
c91907a515 - Always enable mail() function 2007-07-11 17:39:04 +00:00
Dmitry Stogov
bf16e86999 Unicode support 2007-07-11 15:52:44 +00:00
Dmitry Stogov
f766275b7a Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented - STREAM_IS_URL, that
  means that userstream wrapper is remote (URL). By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-03 10:22:55 +00:00
Antony Dovgal
33422dc150 fix ws & folding 2007-06-26 21:29:32 +00:00
Antony Dovgal
b3c372210b fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) 2007-06-26 12:08:50 +00:00
foobar
53b43a63cd - Added php_ini_loaded_file() function which returns the path to the actual
php.ini in use.
# there was only a function to return the _additional_ files in use..
2007-06-09 11:42:55 +00:00
Antony Dovgal
f996452e8b improve variable name checks
add more tests
2007-05-22 14:32:40 +00:00
Rasmus Lerdorf
5e84cb97a0 MFB syscall optimizations
# boredom on the plane to China...
2007-05-18 12:15:01 +00:00
Antony Dovgal
764b33ef79 flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:27:16 +00:00
Antony Dovgal
cea78baddf fix putenv("var") (i.e. unset) on BSD systems
add test
2007-04-17 20:33:45 +00:00
Antony Dovgal
8667be3e5d fix #41037 (unregister_tick_function() inside the tick function crash PHP) 2007-04-10 09:36:10 +00:00
Antony Dovgal
b3352b6a04 drop deprecated funcs and change error level to E_WARNING 2007-03-28 10:22:33 +00:00
Antony Dovgal
ebb2fc5b1b fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 00:43:06 +00:00
Antony Dovgal
fdae6875ea fix segfault in import_request_variables() and its test
I'm not completely sure it's correct to import numeric vars like _POST["1"] etc.
2007-03-06 19:59:13 +00:00
Marcus Boerger
01220f548f - Add glob stream wrapper 2007-03-03 20:41:12 +00:00
Dmitry Stogov
cc39e75ac7 Fixed possible crash in putenv() on win32 2007-02-22 08:23:44 +00:00
Dmitry Stogov
54f2863991 Optimize out RINIT() 2007-02-16 16:33:37 +00:00
Dmitry Stogov
adec1ae327 Fixed return value of assert_options(ASSERT_CALLBACK) and possible crash (Andy Wharmby) 2007-02-16 13:12:55 +00:00
Marcus Boerger
9c0b73f9c4 - Simplify call_user_func/call_user_func_array implementation
- Allow call_user_func/call_user_func_array to return reference
2007-02-08 15:31:01 +00:00
Andrei Zmievski
2f3a309da1 Clean up set_include_path(). 2007-01-05 18:50:46 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
a7c536fbcd Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.
2006-12-20 10:50:46 +00:00
Hannes Magnusson
460360ae53 MFB:
- Fixed incorrect function names on FreeBSD where inet_pton() was named
        __inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:38:24 +00:00
Andrei Zmievski
caa6247e01 Unicode support in set_include_path(). 2006-12-19 22:01:50 +00:00
Andrei Zmievski
e722dce575 - Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.
2006-12-19 21:38:59 +00:00
Dmitry Stogov
938f3d6efa Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:59:26 +00:00
Hannes Magnusson
c8c1dc1891 Fix ZTS 2006-12-18 22:59:36 +00:00
Andrei Zmievski
b04812609b Unicode support in get_cfg_var(). 2006-12-18 20:47:57 +00:00
Andrei Zmievski
b8ead0b253 Fix macro. 2006-12-18 20:40:51 +00:00
Andrei Zmievski
a21e097c54 Unicode support in parse_ini_file(). 2006-12-18 20:39:40 +00:00
Hannes Magnusson
950ab95207 Fix ZTS build 2006-12-16 18:31:23 +00:00
Andrei Zmievski
37cd28d88e Unicode support in ini_*() functions. 2006-12-15 23:28:10 +00:00
Andrei Zmievski
066ab3c3cf Do not convert args to Unicode in getopt(), they should stay binary. 2006-12-12 18:24:16 +00:00
Edin Kadribasic
5ac9df24b6 MFB: Fixed by #39751 by KevinJohnHoffman at gmail dot com 2006-12-10 01:24:13 +00:00
Antony Dovgal
6c8ce9805b fix import_request_variables() 2006-12-06 17:42:47 +00:00
Sara Golemon
fac71c77c1 Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation 2006-12-05 04:52:44 +00:00
Stanislav Malyshev
40b496d63f Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
2006-12-05 02:55:27 +00:00
Andrei Zmievski
6209dc6f49 Forgot to mark import_request_variables() as Unicode-safe. 2006-11-30 21:23:07 +00:00
Andrei Zmievski
5732620630 - Unicode support for tick functions.
- Update unicode-progress.txt
2006-11-22 19:13:19 +00:00
Andrei Zmievski
b767e3cf9f Unicode support in import_request_variables(). 2006-11-21 22:21:38 +00:00
Andrei Zmievski
7cb10e9620 Note. 2006-11-21 18:45:21 +00:00
Andrei Zmievski
e6284e9cbc Unicode support in highlight_string(). 2006-11-21 18:40:58 +00:00
Dmitry Stogov
768185e58f Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:40 +00:00
Dmitry Stogov
dc34d34230 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:37 +00:00