Ilia Alshanetsky
7e68effe43
MFB: Fixed bug #44836 (putenv() crashes, avoid direct reference of environ
...
in POSIX systems).
2008-05-06 18:04:25 +00:00
Kalle Sommer Nielsen
f914d50dd6
Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1() + removed Windows check on tests
...
[DOC] Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
2008-05-05 06:28:03 +00:00
Jani Taskinen
009ac20f20
- missed one line
2008-04-15 09:02:16 +00:00
Jani Taskinen
263b1aa1d2
- Readd config_get_has(). No need to document, it is only available for debug builds.
2008-04-15 08:43:48 +00:00
Hannes Magnusson
0789f3d81c
MFB5.3: Remove config_get_hash() & and add new boolean parameter to
...
ini_get_all() to list ini entries key=>current_value like config_get_hash()
did.
2008-04-14 15:42:14 +00:00
Etienne Kneuss
b5cdc9ffee
Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively
2008-04-07 10:39:43 +00:00
David Soria Parra
a19e28ece9
Fix bug #44487 (call_user_method_array issues a warning when throwing an exception).
2008-03-20 00:50:47 +00:00
Antony Dovgal
da036996be
make use of zend_atol()
2008-03-19 12:40:48 +00:00
Felipe Pena
a1e8d340c3
New macro for check void parameters
2008-02-28 14:16:25 +00:00
Marcus Boerger
925071ce41
- Rename it again
...
[DOC]
- Add config_get_hash()
2008-02-03 14:44:30 +00:00
Marcus Boerger
f2ce43983f
- Rename dump_config_hash() to get_config_hash() as it doesn't dump
2008-02-03 14:35:29 +00:00
David Coallier
7a66695286
- Added lcfirst() function. The sister function of ucfirst()
...
- Test #1 for lcfirst()
2008-01-19 19:23:25 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Hannes Magnusson
1727c712b6
- Add support for optional values
...
- Add support for = as seperator
2007-11-20 22:42:47 +00:00
Johannes Schlüter
6e7ba5ba5f
Add stream_supports_lock() function (Benjamin Schulz)
2007-11-20 22:16:20 +00:00
Hannes Magnusson
ebc540d2c9
- Allow numeric options
...
- Add tests
2007-11-15 13:11:48 +00:00
Hannes Magnusson
93850f2d70
MFB5.3: Fixed bug#43293 (Multiple segfaults in getopt())
2007-11-14 14:55:44 +00:00
Jani Taskinen
cc2dc92b1a
ws + cs
2007-11-02 10:57:56 +00:00
Dmitry Stogov
29ee7ac05d
Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK (Andrew Sitnikov)
2007-10-22 07:37:52 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +00:00
Jani Taskinen
5051719bd6
MFB:-r1.139.2.2 Export symbols that will allow building WDDX as shared object
2007-10-05 15:19:47 +00:00
Jani Taskinen
44cbb46246
- Added common getopt implementation to core.
...
- Added long-option feature to getopt().
- Made getopt() available on win32 systems.
Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
2007-10-01 12:32:39 +00:00
Jani Taskinen
356799933a
nuke unsued variable
2007-09-28 13:06:22 +00:00
Jani Taskinen
425222060f
ws + cs
2007-09-28 11:52:49 +00:00
Jani Taskinen
f964370a35
- Added ".htaccess" style user-defined php.ini files support for
...
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
in php.ini. All directives set in these sections will not be able to be
overridden in user-defined ini-files or during runtime in the specified
path.
- Improved php.ini handling:
. Added better error reporting for syntax errors in php.ini files
. Allowed "ini-variables" to be used almost everywhere ini php.ini files
. Allowed using alphanumeric/variable indexes in "array" ini options
. Fixed get_cfg_var() to be able to return "array" ini options
- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
characters)
@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Dmitry Stogov
8146078f7b
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:28:44 +00:00
Derick Rethans
8d57a9f689
- Add a comment why not ~0 or -1.
2007-09-06 13:27:31 +00:00
Derick Rethans
773fe3adc7
- Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
...
64-bit PHP).
2007-09-01 18:37:27 +00:00
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
Andrei Zmievski
30f624003d
*** empty log message ***
2006-10-25 20:30:51 +00:00
Andrei Zmievski
66c5317278
Unicode support for get(server|proto)by(name|number) family of funcs.
2006-10-25 20:09:21 +00:00
Andrei Zmievski
205bade673
Unicode support for is_uploaded_file()/move_uploaded_file().
2006-10-25 18:03:45 +00:00
Johannes Schlüter
0e58baae93
- Fix #38465 (ReflectionParameter fails if default value is an access to self::
2006-10-18 16:34:25 +00:00
Ilia Alshanetsky
f3eee9d980
MFB: Fixed bug #38934 (move_uploaded_file() cannot read uploaded file
...
outside of open_basedir).
2006-10-13 01:44:42 +00:00
Michael Wallner
4aa7a28e5a
- missing part of zend_fcall_info API patch
2006-10-12 12:40:26 +00:00
Andrei Zmievski
0a73c305d8
Typos!
2006-10-09 20:17:36 +00:00
Andrei Zmievski
76eb73a4b7
print_r(), error_log() and sys_getloadavg() are Unicode-safe.
2006-10-09 20:17:12 +00:00
Andrei Zmievski
cc0323b95d
Unicode support for call_user_* functions.
2006-10-09 19:48:32 +00:00
Sara Golemon
1caed2fa18
Add stream_resolve_include_path()
2006-10-09 02:48:06 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Hannes Magnusson
e531458f89
Remove double "wrong param count" warnings
2006-10-07 22:55:18 +00:00
Antony Dovgal
ea11c9b8e8
nuke unused variables
2006-10-03 18:40:14 +00:00
Hannes Magnusson
9c669ecf1f
Protos
2006-10-02 07:54:37 +00:00
Ilia Alshanetsky
30885c8d99
MFB: Fixed bug #38993 (Fixed safe_mode/open_basedir checks for
...
session.save_path, allowing them to account for extra parameters).
2006-10-01 21:00:00 +00:00
Sara Golemon
a9404e9283
PHP6 Updates
2006-09-22 01:55:47 +00:00
Ilia Alshanetsky
c1891a9bdf
MFB: array_key_exists() should not work by by-ref
2006-09-19 23:45:12 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Antony Dovgal
c912fa4a90
fix leak when call to shutdown function fails
2006-09-15 09:11:31 +00:00
Antony Dovgal
d08f2e8897
more z/Z fixes
2006-08-31 14:41:15 +00:00
Antony Dovgal
8149e6251e
make sure ext/standard is down before ext/session ( fixes #38534 )
2006-08-28 19:56:06 +00:00
Antony Dovgal
efb89cfbe1
set BG(locale_string) to NULL on shutdown (partly fixes #38534 )
2006-08-28 18:58:22 +00:00