Hannes Magnusson
f0b7073308
[DOC] 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:32:42 +00:00
Etienne Kneuss
a1e0945143
MFH: Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively
2008-04-07 10:44:59 +00:00
David Soria Parra
6d66530ae9
MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception).
2008-03-20 00:52:46 +00:00
Antony Dovgal
e3b672bb23
MFH: make use of zend_atol()
2008-03-19 12:42:16 +00:00
Felipe Pena
84a8bb038a
MFH: New way for check void parameters
2008-03-10 22:15:36 +00:00
Marcus Boerger
d3e5026564
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
...
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Marcus Boerger
f3d7570197
- MFH Rename it again
...
[DOC]
- MFH Add config_get_hash()
2008-02-03 14:45:00 +00:00
Marcus Boerger
fa94dabd97
- MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump
2008-02-03 14:35:59 +00:00
Felipe Pena
79cfa91a43
MFH: New parameter 'before_needle'
2008-02-01 12:28:44 +00:00
David Coallier
a3c09d611c
- MFH (lcfirst())
...
- Initial test for lcfirst
2008-01-19 19:27:22 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Hannes Magnusson
024fc2c77a
MFH: - Add support for optional values
...
MFH: - Add support for = as seperator
2007-11-21 10:24:22 +00:00
Johannes Schlüter
cbf466a953
MFH: Add stream_supports_lock() function (Benjamin Schulz)
2007-11-20 22:17:01 +00:00
Hannes Magnusson
0aae13f9d2
MFH: Allow numeric options & tests
2007-11-15 13:13:21 +00:00
Hannes Magnusson
35ba8020cd
Fixed bug#43293 (Multiple segfaults in getopt())
2007-11-14 14:42:25 +00:00
Marcus Boerger
5aa7108eb2
- MFH Add glob stream wrapper
...
[DOC] The glob stream wrapper allows stuff like this:
php -r '$it = new DirectoryIterator("glob://ext/spl/*.c");
foreach($it as $f) var_dump($f);'
2007-11-06 12:12:58 +00:00
Jani Taskinen
b489251177
- MFH from HEAD:
...
. Folding tags
. Parameter parsing
. SPL debug info
. array function improvements (not all yet)
. Improvements to function calling with call_user_* functions
. Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
2007-11-02 19:40:39 +00:00
Dmitry Stogov
fa6e5df126
Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK (Andrew Sitnikov)
2007-10-22 07:37:37 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Jani Taskinen
aa3eee1dce
MFH:- Moved the old regex functions to own extension: ereg
2007-10-05 15:00:09 +00:00
Johannes Schlüter
32966bb37d
- pass the adress not the value
2007-10-01 20:36:01 +00:00
Jani Taskinen
2bc631fb40
MFH:- Added common getopt implementation to core.
...
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH: Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Dmitry Stogov
f37e408ed8
Support for namespaces
2007-09-28 19:53:42 +00:00
Jani Taskinen
09b6f37f20
MFH:
...
- 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)
2007-09-28 02:05:10 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Derick Rethans
e280715150
- MFH: Add a comment why not ~0 or -1.
2007-09-06 13:28:05 +00:00
Derick Rethans
152d379950
- MFH: Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
...
64-bit PHP).
2007-09-01 18:38:39 +00:00
Jani Taskinen
cac7e107c6
MFH: ws + protos
2007-08-31 10:46:19 +00:00
Jani Taskinen
eb4a23c5ca
- Check the length too (just like in HEAD)
2007-08-16 23:05:43 +00:00
Jani Taskinen
a3e6f47ea1
MFH:- Fix bug #41946 (ip2long("") should return FALSE)
2007-08-16 22:17:10 +00:00
Antony Dovgal
93af1c1f84
MFH: fix #41989 (move_uploaded_file() & relative path in ZTS mode)
2007-07-19 15:49:45 +00:00
Johannes Schlüter
dc8d09bbbd
- MFH: Always enable mail() function
2007-07-11 17:36:56 +00:00
Dmitry Stogov
539f67ed8f
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-09 17:27:24 +00:00
Antony Dovgal
ce22f44493
MFH: fix #41445 (parse_ini_file() has a problem with certain types of integer as sections)
2007-06-26 12:10:08 +00:00
Antony Dovgal
5daef5cd4a
fix #41773 (php_strip_whitespace sends headers with errors suppressed)
...
MFB is not needed, output buffering in HEAD handles this situation correctly
2007-06-25 21:12:47 +00:00
foobar
f7d22b60f0
MFH:- Added php_ini_loaded_file() function which returns the path to the actual
...
php.ini in use.
2007-06-09 11:44:08 +00:00
Hannes Magnusson
cdd37424a8
Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities()
2007-05-22 15:38:27 +00:00
Antony Dovgal
a69e6e2c79
MFH: improve variable name checks
...
add more tests
2007-05-22 14:34:23 +00:00
Rasmus Lerdorf
52c2d6c235
Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows
2007-05-17 06:38:13 +00:00
Antony Dovgal
7efde494d7
MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail
2007-05-10 16:28:11 +00:00
Antony Dovgal
16129b7024
MFH: fix putenv("var") (i.e. unset) on BSD systems
...
add test
2007-04-17 20:34:14 +00:00
Antony Dovgal
562f886ecb
MFH: fix #41037 (unregister_tick_function() inside the tick function crash PHP)
2007-04-10 09:37:09 +00:00
Ilia Alshanetsky
1453879587
Added additional checks for long input arrays inside
...
import_request_variables().
# Missing checks identified by Stefan Esser
2007-03-10 19:20:16 +00:00
Ilia Alshanetsky
b3b6db3f03
Add _SESSION to checklist
2007-03-09 01:48:56 +00:00
Ilia Alshanetsky
0fa1427c6e
Fixed a possible super-global overwrite inside import_request_variables().
...
# Reported by Stefano Di Paola
2007-03-09 01:42:20 +00:00
Antony Dovgal
af1843f866
MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array)
2007-03-08 00:44:23 +00:00
Dmitry Stogov
f027aef074
Fixed possible crash in putenv() on win32
2007-02-22 08:23:17 +00:00
Stanislav Malyshev
462d545a63
fix putenv - if there was no previous, remove variable from environ
2007-02-21 03:03:37 +00:00
Dmitry Stogov
a3493bd3de
Optimize out RINIT()
2007-02-16 16:35:04 +00:00
Dmitry Stogov
0262f05c17
Fixed return value of assert_options(ASSERT_CALLBACK) and possible crash (Andy Wharmby)
2007-02-16 13:12:10 +00:00