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