Kalle Sommer Nielsen
06a9baf4d9
Missed to check this one in the last commit
2010-09-23 03:49:26 +00:00
Kalle Sommer Nielsen
cb50011016
Fixed compiler warnings in the standard library
2010-09-23 03:45:36 +00:00
Kalle Sommer Nielsen
208aa1025d
Improved performance of unserialize(), original patch by galaxy dot mipt at gmail dot com
2010-09-18 16:09:28 +00:00
Pierre Joye
c17f8ecd6a
- use popen_ex directly, avoid the tsrm fetch
2010-09-17 10:04:28 +00:00
Pierre Joye
ed58636f00
- use TSRMLS_D/C with php_stream_context_alloc
2010-09-16 09:33:42 +00:00
Pierre Joye
aa0ed267a2
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
2010-09-16 09:13:19 +00:00
Pierre Joye
2b1e18f81b
- fix build introduced by fix for #52772
2010-09-13 21:54:47 +00:00
Kalle Sommer Nielsen
67b4af3e6a
Fixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before calling it)
2010-09-13 20:14:18 +00:00
Pierre Joye
d5ca12b03e
- use php_sys_readlink
2010-09-13 09:30:07 +00:00
Pierre Joye
e62a10c4d0
- use OPENBASEDIR_CHECKPATH macro (does safe mode too in 5.3) so trunk and branches are the same
2010-09-10 19:27:39 +00:00
Pierre Joye
dd902c7161
- use php_sys_readlink
2010-09-10 19:25:56 +00:00
Adam Harvey
2441ddf10e
Fix bug #52802 (Out-of-date comment for
...
file_get_contents/php_stream_copy_to_mem) by updating the relevant comments.
2010-09-10 03:08:05 +00:00
Pierre Joye
c57bf4a4d9
- WS
2010-09-08 09:11:18 +00:00
Pierre Joye
367bd11d6f
- Fix #50524 , proc_open should respect cwd as it does on other platforms
2010-09-08 08:34:57 +00:00
Pierre Joye
2110655d4d
- WS
2010-09-06 14:43:44 +00:00
Pierre Joye
abf4853145
- fix bug #52260 , catch all DNS not found error
2010-09-06 10:57:42 +00:00
Pierre Joye
8648b1beff
- timeval element are always 32bit long on Windows
2010-09-06 10:39:26 +00:00
Pierre Joye
75df1719be
- kill warning
2010-09-06 10:28:04 +00:00
Pierre Joye
1cd82c9db2
- WS
2010-08-30 16:52:48 +00:00
Adam Harvey
f33837ff97
Implemented request #34857 (Change array_combine behaviour when called with
...
empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
2010-08-27 03:54:10 +00:00
Pierre Joye
4cda8a7797
-fix logic (and BC break)
2010-08-23 18:05:05 +00:00
Pierre Joye
a0e223b8ba
- add follow_location support for http stream, enabled by default to keep BC. Allows one to ignore the location header, w/o having to ignore errors or other tricks, the location data is however still available (meta)
2010-08-23 16:54:57 +00:00
Kalle Sommer Nielsen
34b631f679
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
2010-08-18 13:34:40 +00:00
Kalle Sommer Nielsen
a12f6d9312
Fixed the $context parameter on copy() to have an effect (approved for 5.3 by Johannes)
...
# To not change a PHPAPI in a point release, a new function have been added to support contexts:
# php_copy_file_ctx(), php_copy_file_ex() now simply wraps to that
2010-08-17 12:17:28 +00:00
Kalle Sommer Nielsen
ac73c9d8b4
Fixed the context parameter on copy() to actually have an effect
...
# After looking at the logs, Jani did a bad merge into 5.3, so that
# the context parameter sent to copy() actually isn't used at all. This
# relatively simple patch fixes that for trunk.
#
# See FR #42965
# internals:
# This changes the php_copy_*() decls to contain an additional parameter for stream contexts
2010-08-16 21:56:35 +00:00
Pierre Joye
7bd81da0b5
- WS
2010-08-16 10:29:01 +00:00
Kalle Sommer Nielsen
a448b6a72b
MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
2010-08-11 21:41:30 +00:00
Ilia Alshanetsky
57ff563262
Make http_response_code() return FALSE where data is not available (Ex. cli sapi)
2010-08-10 00:19:51 +00:00
Kalle Sommer Nielsen
4281addcb7
Implemented FR #52555 (Ability to get HTTP response code)
...
- Patch by Paul Dragoonis
2010-08-09 13:10:32 +00:00
Felipe Pena
ef1270e5d0
- Fix test
2010-08-08 16:48:32 +00:00
Ilia Alshanetsky
d9af17b839
Additional fix for bug #52550 & fix test & warning from previous fixes
2010-08-08 15:45:02 +00:00
Felipe Pena
9adda6199b
- Updated generated file
2010-08-06 22:23:39 +00:00
Felipe Pena
232ae3df01
- Fix build
2010-08-06 22:21:13 +00:00
Ilia Alshanetsky
a8ddaca0b0
WS
2010-08-06 20:16:11 +00:00
Ilia Alshanetsky
34e8b615ed
Another fix for issue indentified in bug #52550
2010-08-06 20:04:29 +00:00
Ilia Alshanetsky
e4b1575d58
Fixed issues inside str_pad() identified by bug #52550
2010-08-06 19:55:10 +00:00
Ilia Alshanetsky
fa4bf064bd
Use correct order of operations. Second of many fixes for bug #52550
2010-08-06 19:11:34 +00:00
Rasmus Lerdorf
31e6390ae5
Do these ops in the right order here. First of many fixes for
...
bug #52550
2010-08-06 18:19:23 +00:00
Felipe Pena
3d2a6927c7
- Fixed bug #52534 (var_export array with negative key)
2010-08-04 23:11:44 +00:00
Dmitry Stogov
fa27ef4620
cleanup
2010-08-03 08:19:51 +00:00
Felipe Pena
a20d96e850
- Removed safe-mode tests
2010-08-01 16:24:42 +00:00
Adam Harvey
929eec3b93
Fix bug #52380 (Typo in lcfirst comment docs) by updating the commented
...
prototype for lcfirst() to actually read lcfirst().
2010-07-20 04:26:57 +00:00
Adam Harvey
6c9ca56c19
Fix for bug #52317 (Segmentation fault when using mail() on a rhel 4.x (only 64
...
bit)).
2010-07-19 10:46:44 +00:00
Scott MacVicar
c7b0abe6aa
Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer.
...
Examples include, memory limit, execution time and recursion.
2010-07-09 21:11:37 +00:00
Felipe Pena
ce72f33674
- Fixed tests
2010-07-06 00:25:52 +00:00
Dmitry Stogov
a619b589b3
Use ZE API to modify/restore PG(magic_quotes_runtime). Removed overhead at request startup.
2010-07-05 14:32:29 +00:00
Ilia Alshanetsky
0625a0b23b
Fixed bug #33210 (getimagesize() fails to detect width/height on certain JPEGs).
2010-06-30 12:21:35 +00:00
Stanislav Malyshev
de8022e905
fix SplObjectStorage unserialization (CVE-2010-2225)
2010-06-29 00:58:31 +00:00
Felipe Pena
80926568f1
- Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases)
2010-06-26 16:03:39 +00:00
Felipe Pena
b355aa00b0
- Fixed bug #52138 (Constants are parsed into the ini file for section names)
2010-06-24 22:32:42 +00:00