1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00
Commit Graph

22371 Commits

Author SHA1 Message Date
Scott MacVicar 8ef7fe1d99 Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table.
Add missing reflection information to json_encode()
Fixes bug #45791 with 0e0 not being supported as a value
Error values are stored when encountered during parsing
2008-12-17 14:40:06 +00:00
Jani Taskinen 77a63540a5 MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory) 2008-12-17 14:13:40 +00:00
Jani Taskinen 3ce9e6d6d9 MFH 2008-12-17 14:00:20 +00:00
Zoe Slattery 7156227045 New FTP test from Nathaniel McHugh 2008-12-17 12:35:26 +00:00
Ilia Alshanetsky 5856a68c8d Removed unused variable 2008-12-17 00:30:27 +00:00
Zoe Slattery 78d7ff706e bug #46837 fix 2008-12-16 21:35:01 +00:00
Zoe Slattery 92d3eb31b7 bug #46884 fix 2008-12-16 21:10:16 +00:00
Rob Richards c373356f45 MFH: fix bug #46849 (Cloning DOMDocument doesn't clone the properties)
fix some warnings
add test
2008-12-16 12:53:29 +00:00
Steve Seear da35833236 call_user_func_array() tests 2008-12-15 14:11:57 +00:00
Zoe Slattery 32d03cc340 fixed test 2008-12-15 13:17:53 +00:00
Lars Strojny 29f49d2ded If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. 2008-12-14 16:25:37 +00:00
Pierre Joye ea7c47c97d - fix build 2008-12-14 16:25:15 +00:00
Ilia Alshanetsky 830be669cc Simplify code 2008-12-14 15:34:49 +00:00
Johannes Schlüter e23b2b3fa5 MFH (Use the same test fiel as in HEAD) 2008-12-13 22:23:29 +00:00
Lars Strojny dda00318d9 One len variable is enough here, we can reuse it 2008-12-13 15:06:20 +00:00
Marcus Boerger fcf784502e MFH Use ' -f' as requested 2008-12-13 14:49:39 +00:00
Andrei Zmievski 568b146480 Fix tests, add NEWS entry. 2008-12-12 23:59:48 +00:00
Nuno Lopes f2f7ed4987 we do not need the strndup() now that php_stream_printf() handles non-null terminated strings correctly 2008-12-12 23:46:05 +00:00
Scott MacVicar ed5f04710b MFH Fix bug #45989 - json_decode() doesn't return NULL on certain invalid strings 2008-12-12 23:19:47 +00:00
Andrei Zmievski dddbfccb9f MFH 2008-12-12 19:20:49 +00:00
Hannes Magnusson f6cf54d2b1 Fixed bug#46847 (phpinfo() is missing some settings.) 2008-12-12 13:07:28 +00:00
Hannes Magnusson e5c13558e8 MFH: Fixed bug#46681 (mkdir() fails silently on PHP 5.3) 2008-12-12 12:44:48 +00:00
Rob Richards ca954ad613 MFH: fix bug #46699: (xml_parse crash when parser is namespace aware)
fix a couple warnings
add test
2008-12-12 04:16:21 +00:00
Ilia Alshanetsky 0594dd91d3 Fixed a possible corruption inside PDOStatement::debugDumpParams() 2008-12-11 15:32:24 +00:00
Pierre Joye 162b0b612a - MFB: fix build 2008-12-11 15:31:31 +00:00
Pierre Joye 9d6e793b4b - MFH: fix build (was never used like that before recent commit to session) > local include use quotes not <> 2008-12-11 13:12:22 +00:00
Ant Phillips 4faa1f1624 MCrypt tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows and Linux but not Linux 64 bit or 5.3). 2008-12-11 10:21:38 +00:00
Scott MacVicar 7877cbdcfc MFH Fix bug #46738 - Segfault when mb_detect_encoding() fails. 2008-12-11 02:56:45 +00:00
Scott MacVicar 2ea6780873 MFH Fix bug #35975 - Session cookie expires date format isn't the most compatible. Sync to that of setcookie(). 2008-12-11 01:21:35 +00:00
Ilia Alshanetsky 0f51787f74 Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
inside a binary or image column type)
2008-12-10 20:53:44 +00:00
Scott MacVicar fdb9b62cef MFH Fix segfault and potential security issue in imagerotate(). 2008-12-10 13:32:02 +00:00
Ant Phillips bd266a5bbf Test for bug #43841 2008-12-10 10:34:15 +00:00
Nuno Lopes c61d5627ba export the pcre API when compiling with gcc 4. this fixes e.g. the linkage of APC (reported by shire) 2008-12-10 10:16:14 +00:00
Pierre Joye a8578a5ab1 - double declaration and comments cleanup 2008-12-09 17:57:59 +00:00
Pierre Joye 9e59295224 - fix VC6 build 2008-12-09 17:54:01 +00:00
Ilia Alshanetsky 780ff63c37 MFH: Fixed bug #46746 (xmlrpc_decode_request outputs non-suppressable error
when given bad data).
2008-12-09 17:22:12 +00:00
Ilia Alshanetsky 9049b6948e Fixed missing initialization of uses when copying a curl handle 2008-12-09 17:17:27 +00:00
Antony Dovgal bc41d716a7 fix test 2008-12-09 14:48:41 +00:00
Pierre Joye ef3ec02f6f - MFH: silent conversion warnings as it is not going to be "fixed" any time soon, removing false positive alerts. noise--; 2008-12-09 14:28:54 +00:00
Hannes Magnusson 76a17847c1 Deprecate session_register(), session_unregister() and
session_is_registered() (removed in HEAD)
2008-12-09 14:03:58 +00:00
Zoe Slattery d5f6620091 fix resource id 2008-12-09 13:41:49 +00:00
Hannes Magnusson 4bfd481076 MFH: fix test 2008-12-09 13:02:40 +00:00
Hannes Magnusson 902e9af1c2 Fix test.
You cannot set include_path as empty, and never could
2008-12-09 12:54:01 +00:00
Jani Taskinen ed4d53ff56 MFH 2008-12-09 10:53:47 +00:00
Hannes Magnusson 76669fce23 MFH: - Changed open_basedir to allow tightening in runtime contexts. (Sara)
- Add test
2008-12-09 10:20:11 +00:00
Hannes Magnusson 336cb15d69 MFH: - Changed opendir/dir/scandir to use default context when no context argument is passed. (Sara) 2008-12-09 09:03:38 +00:00
Zoe Slattery 6cf2385268 tests for imap_fetch_overview 2008-12-08 19:12:39 +00:00
Scott MacVicar 15a212b259 MFH Fix bug #46748, segfault when SSL has more than one error message. 2008-12-08 11:54:22 +00:00
Sanjay Mantoor fb6ae89566 New testcases for idate function 2008-12-08 10:48:22 +00:00
Stanislav Malyshev 1235a544af improve Windows version detection 2008-12-08 07:32:14 +00:00