Commit Graph

26130 Commits

Author SHA1 Message Date
Andrey Hristov
34019766b6 compile out when PHP_DEBUG is not present 2011-08-17 11:15:55 +00:00
Felipe Pena
17abf879ed - Drop T_SCALAR_CAST 2011-08-16 12:13:35 +00:00
Hannes Magnusson
550980cfe5 Callable typehint following the rules of is_callable($arg, false); 2011-08-16 10:44:47 +00:00
Rui Hirokawa
bbdf05c1ed MFH: added gb18030 encoding to mbstring/libmbfl.~ 2011-08-14 14:11:29 +00:00
Rui Hirokawa
780d4996f6 MFH: 2011-08-13 13:19:18 +00:00
Christopher Jones
b53451b99e More test portability fixes mostly for gcov.php.net 2011-08-13 00:43:34 +00:00
Etienne Kneuss
b03860a935 Fix CID 593 Mark the missing break by an explicit comment, we DO intend to fall through here 2011-08-12 22:20:35 +00:00
Etienne Kneuss
bb7a93081e Fix CID 538/539, explicitely check for something that should never occur 2011-08-12 22:05:10 +00:00
Etienne Kneuss
cf2db20123 Fix CID 547, make static analyzer happy 2011-08-12 21:57:54 +00:00
Etienne Kneuss
32e67db84c Fix CID 1211, unused intern variable 2011-08-12 21:46:40 +00:00
Andrey Hristov
d803c2f827 prevent a crash if cs is NULL, which can happen with MS and lazy connections 2011-08-12 14:55:00 +00:00
Ulf Wendel
6e54341273 MySQL 5.6 fractional seconds and PS 2011-08-12 11:51:44 +00:00
Ulf Wendel
4bb63cb7a0 Andrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really needed? 2011-08-12 11:23:36 +00:00
Ulf Wendel
ae89daff6f Andrey, please have a look. This should not cause errors. 2011-08-12 11:23:16 +00:00
Xinchen Hui
ba9546b8e5 Omitted GCC warning "comparison is always false" 2011-08-12 07:47:03 +00:00
Ilia Alshanetsky
9e9d2a9ce6 Missing file relating to previous commit 2011-08-11 13:02:16 +00:00
Ilia Alshanetsky
46513c07dc Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path) 2011-08-11 13:01:52 +00:00
Pierre Joye
a6a81e29d5 - fix build (introduce by r314641) 2011-08-11 07:11:39 +00:00
Rasmus Lerdorf
14948624af Use HOST_NAME_MAX constant here instead for the gethostname() func 2011-08-10 17:40:56 +00:00
Ilia Alshanetsky
e4a64006ab Fix win32 build 2011-08-10 15:59:32 +00:00
Ilia Alshanetsky
38f05cc775 Fixed memset usage (identified by coverity) 2011-08-10 15:30:07 +00:00
Andrey Hristov
d627115800 relax constraint 2011-08-10 14:12:24 +00:00
Dmitry Stogov
5cb244aad2 Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself) 2011-08-10 13:44:48 +00:00
Xinchen Hui
5540b64a3d Eliminated compiler's warnings 2011-08-10 11:59:11 +00:00
Pierrick Charron
2603ceb0b1 Remove unused variable 2011-08-10 01:12:52 +00:00
Ilia Alshanetsky
47632aa725 Make static analyzers happy 2011-08-09 14:11:56 +00:00
Ilia Alshanetsky
8c846a6f74 Minimize stack usage and added missing dtors 2011-08-09 13:10:57 +00:00
Xinchen Hui
64fc565765 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Xinchen Hui
c109640b1a Avoiding strcpy usage, Make static analyzer happy 2011-08-09 09:35:42 +00:00
Scott MacVicar
27d50d6470 Update SQLite3 to the latest version 2011-08-09 07:31:34 +00:00
Xinchen Hui
d09d0c83cb Eliminated compiler's warnings and make static analyzer silent 2011-08-09 05:11:19 +00:00
Gustavo André dos Santos Lopes
a61534eab8 - Elided unused argument in internal linkage function. 2011-08-09 00:40:45 +00:00
Xinchen Hui
e21e854bc4 Remove unnecessary(no sense) memset and making the static analyzer silent 2011-08-08 16:57:46 +00:00
Ilia Alshanetsky
9c297247ef Another build fix relating to previous DOM commit 2011-08-08 16:49:43 +00:00
Rui Hirokawa
ee0bb4d413 MFH: reduced memory footprint for codepages. 2011-08-08 16:15:39 +00:00
Ilia Alshanetsky
0b3cb3f220 Fixed build 2011-08-08 16:06:40 +00:00
Ilia Alshanetsky
3726c5c67a Removal of deadcode identified by coverity 2011-08-08 13:45:18 +00:00
Ilia Alshanetsky
4122a1dd9a Make static analyzers happy 2011-08-08 12:10:27 +00:00
Xinchen Hui
a8a0a6c3f1 Sizeof mismatch 2011-08-08 08:49:55 +00:00
Xinchen Hui
a7852bcb00 Make codes more clearly, and make the static analyzer silent.. 2011-08-08 06:49:17 +00:00
Xinchen Hui
dbd405a001 Wrong sizeof 2011-08-08 02:33:03 +00:00
Xinchen Hui
fb617c33d4 Remove no sense statements 2011-08-08 00:47:40 +00:00
Ilia Alshanetsky
1271828ee4 Avoid strcpy() usage 2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
9db1c59325 Fixes for variety of issues identified by coverity scan 2011-08-07 23:46:00 +00:00
Gwynne Raskind
265367e816 possible use without init fixed 2011-08-07 18:12:52 +00:00
Rasmus Lerdorf
d4a716b19d Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
ee729585b3 Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat. 2011-08-07 15:45:18 +00:00
Rasmus Lerdorf
cc19cc8b18 Make static analyzers happy 2011-08-07 15:38:36 +00:00
Gwynne Raskind
e8281417fd Fixes build issues with ext/intl. This appears to be related to bug #55019, but since the functions in question are used elsewhere, the solution is to de-inline rather than to make them static inline. 2011-08-07 15:12:34 +00:00
Gwynne Raskind
a1d6eaf6d6 fix for bug #55019 2011-08-07 15:09:42 +00:00
Gwynne Raskind
1607c8901d Add missing php.h include 2011-08-07 15:07:53 +00:00
Xinchen Hui
376a04e14f revert -r314422
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
59b7b2701c Fixed bug that may dereferenced NULL pointer before checking 2011-08-07 13:19:04 +00:00
Xinchen Hui
cc42ac9d9b Initialize variable with fixed value for avoiding compile warnings 2011-08-07 11:13:27 +00:00
Pierrick Charron
e03d19a00e Remove unused variables 2011-08-07 06:37:22 +00:00
Pierrick Charron
a8ed880c64 class entry is never used 2011-08-07 06:04:11 +00:00
Pierrick Charron
4f0c7670ea Pointer returned is never used 2011-08-07 05:46:31 +00:00
Rasmus Lerdorf
b7a92c9709 I'm pretty sure you didn't mean to multiple by the size of a char* there
since that makes no sense. output is an array of char, not an array of
char*
Pierre, please review
2011-08-07 00:36:26 +00:00
Rasmus Lerdorf
5a448d23b2 These naked strcpy()s scare me 2011-08-07 00:18:38 +00:00
Rasmus Lerdorf
d03961b23b Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Rui Hirokawa
274799678f MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS. 2011-08-06 15:24:31 +00:00
Felipe Pena
707a8f70b8 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Rui Hirokawa
786d8e7bc2 MFH: fixed encoding conversion when http_input=auto. 2011-08-06 12:19:33 +00:00
Rui Hirokawa
5709c83d93 MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation. 2011-08-06 04:28:26 +00:00
Rui Hirokawa
d322b26fb4 MFH: added ill-formed utf-8 check for 0xEDXXXX. 2011-08-06 02:22:38 +00:00
Rui Hirokawa
7bc77208f3 MFH (updated libmbfl version to 1.3.1). 2011-08-06 01:49:10 +00:00
Felipe Pena
783b05326a - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Felipe Pena
7c1cb26937 - Fixed bug #55313 (Number of retries not set when params specified)
patch by: kevin at kevinlocke dot name
2011-08-06 00:59:21 +00:00
Rasmus Lerdorf
f7e07ae69b efree match_sets on an error here - found by Coverity 2011-08-05 22:39:40 +00:00
Christopher Jones
1970c23d86 Improve test portabilty 2011-08-05 22:18:50 +00:00
Andrey Hristov
534de60284 Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections 2011-08-05 13:39:30 +00:00
Rui Hirokawa
1be5479980 MFH (added check for invalid utf-8 encoding). 2011-08-05 04:34:16 +00:00
Rui Hirokawa
7819bb79c7 MFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based on Unicode 5.2. 2011-08-04 12:51:40 +00:00
Felipe Pena
20dc806810 - Added missing check (thanks neweracracker at gmail dot com) 2011-08-04 10:56:59 +00:00
Andrey Hristov
c9e7716cfd Add mysqli_error_list() that returns an array with errors. Typically only
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
2011-08-04 09:51:26 +00:00
Felipe Pena
d8f08192ef - Fixed possible efree(NULL) (bug #55296) 2011-08-04 00:59:43 +00:00
Rui Hirokawa
bf6827697b fixed error handling on SJIS_Mobile (for SB/KDDI). 2011-08-03 11:55:43 +00:00
Rui Hirokawa
1735305f34 fixed error handling on SJIS_Mobile. 2011-08-03 11:51:08 +00:00
Andrey Hristov
1a5b1da9c1 Remove a warning by explicitly compiling out a non-used variable 2011-08-02 15:30:58 +00:00
Andrey Hristov
a7fd79b948 completely compile out a currently non-needed function 2011-08-02 14:18:56 +00:00
Andrey Hristov
a884bbf1e9 compile out both parts of the code that are currently unused - fixes a compilation warning 2011-08-02 14:02:21 +00:00
Andrey Hristov
c99e0d9314 fix warnings due to change in zend_property_info (structure extended in the middle!!) 2011-08-02 13:41:20 +00:00
Rui Hirokawa
c5a650e815 MFH (updated libmbfl for 1.3.0.). 2011-08-02 03:50:10 +00:00
Stanislav Malyshev
83039b8fee fix params parsing 2011-08-01 04:29:37 +00:00
Stanislav Malyshev
1c83f5e04c fix tests 2011-08-01 03:42:02 +00:00
Stanislav Malyshev
3b7cdd0227 fix failing tests 2011-08-01 01:00:57 +00:00
Stanislav Malyshev
5b5c393f82 fix termination in sha-512 too 2011-07-31 23:14:04 +00:00
Stanislav Malyshev
0c5dd2c360 fix salt truncation bug in sha256 2011-07-31 21:47:03 +00:00
Pierre Joye
a7e1a71bad - blowfish 1.2 update, 2nd part 2011-07-31 20:50:09 +00:00
Stefan Marr
0158804a15 Added __TRAIT__ magic constant [TRAITS] [DOC]
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.
2011-07-31 17:39:30 +00:00
Stefan Marr
7e5a214251 Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
Pierre Joye
0b619f4f0b - Fix #55301 (sybase part, take #2) check if malloc succeded 2011-07-28 21:16:51 +00:00
Pierre Joye
9c88553456 - Fix #55301 (mssql part) check if malloc succeded 2011-07-28 11:01:04 +00:00
Pierre Joye
61780c3dbc - Fix #55301 (sybase part) check if malloc succeded 2011-07-28 10:57:31 +00:00
Pierre Joye
74de7dd66d - Fix #55301 (url scanner part) check if malloc succeded 2011-07-28 10:52:45 +00:00
Pierre Joye
618b480d91 - Fix #55301 (readline part) check if malloc succeded 2011-07-28 10:42:45 +00:00
Pierre Joye
bc165d3a65 - Fix #55301 (interbase part) check if malloc succeded 2011-07-28 10:39:08 +00:00
Pierre Joye
3f28c4eb11 - Fix #55301 (pdo_odbc part) check if malloc succeded 2011-07-28 10:37:04 +00:00
Pierre Joye
582c2fa868 - Fix #55301 (com_dotnet part) check if malloc succeded 2011-07-28 10:34:16 +00:00
Pierre Joye
103d475021 - Fix #55301 (curl part) check if malloc succeded 2011-07-28 10:31:34 +00:00
Pierre Joye
15383e046e - do safemode/open basedir checks 1st, and use only expand not realpath (it is done by the safemode/openbasedir check already) 2011-07-27 14:58:30 +00:00
Andrey Hristov
11e4f1e39a longer error messages, don't cut them 2011-07-27 10:26:59 +00:00
Peter Cowburn
9159e3d246 added (recursive)callbackfilteriterator to spl_classes() (bug #55287) 2011-07-27 08:48:08 +00:00
Christopher Jones
57536d31eb Add explicit casts to remove some of Pierre's snapshot build warnings 2011-07-27 00:04:47 +00:00
Pierre Joye
db25201ffb - Fixed bug 55124, recursive mkdir fails with current (dot) directory in path 2011-07-26 17:44:20 +00:00
Ulf Wendel
5d4d7837fa Double check if line is sill usable and connected to last successfully selected db. 2011-07-26 16:14:59 +00:00
Ulf Wendel
62b3c85b05 Check what happens if switching DB via API fails. Expected: no change of current DB/schema. 2011-07-26 15:37:59 +00:00
Ulf Wendel
48d47da8af Would be nice if tests get updated whenever a feature is added by the person adding the feature... 2011-07-26 09:33:01 +00:00
Ulf Wendel
41c94d26a4 Fix mysqlnd detection 2011-07-26 09:30:49 +00:00
Pierre Joye
5107df2d04 - use cwd_expand now 2011-07-26 07:30:41 +00:00
Christopher Jones
e2f5272dac Fix cast warning seen on some platforms 2011-07-25 23:40:57 +00:00
Christopher Jones
f330e9fc08 Patch r313663 and r313665 to allow PECL builds to work with earlier releases 2011-07-25 17:30:09 +00:00
Christopher Jones
a746dbb579 Remove old testname. This file now diverges from PHP_5_3 2011-07-25 17:25:47 +00:00
Christopher Jones
6effbcb140 Update skipif 2011-07-25 17:22:48 +00:00
Ulf Wendel
bd07868280 Test update. 5.4+ is more verbose. 2011-07-25 15:07:54 +00:00
Ulf Wendel
93b501ed61 Test update. 5.4+ throws a catchable fatal error, 5.3 does not. 2011-07-25 14:53:01 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Rasmus Lerdorf
c2663588e1 When you add something that changes the phpinfo output, please
update this test.
2011-07-25 05:32:08 +00:00
Stefan Marr
dca6f950a9 Added forgotten tests cases for class_uses() from commit rev. 313640 2011-07-24 10:20:08 +00:00
Stefan Marr
1fc4bc1d56 Added missing class_uses(..) function to SPL to mirror class_implements(..).
# Was pointed out as missing in bug #55266.
2011-07-23 19:08:43 +00:00
Scott MacVicar
ebbb2b1df1 When we have a blocking SSL socket, respect the timeout option.
reading from SSL sockets could block indefinitely due to the lack
of timeout
2011-07-23 01:29:44 +00:00
Felipe Pena
a6eaf353c0 - Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets 2011-07-23 01:08:24 +00:00
Pierrick Charron
824726073b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Pierre Joye
7c90a9daa8 - WS 2011-07-22 11:26:23 +00:00
Pierre Joye
9805e1674a - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Daniel Convissor
8bfb9bcd01 Fix spelling error. 2011-07-21 19:56:54 +00:00
Daniel Convissor
d108429f82 Have test for add/sub/diff one second during ST/DST transition in spring. 2011-07-21 15:35:06 +00:00
Boris Lytochkin
02bf16db03 s/noOIDIncreasingCheck/oid_increasing_check/ 2011-07-21 12:48:47 +00:00
Ryan Biesemeyer
530311f4ba removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of opensssl_random_pseudo_bytes.phpt 2011-07-20 21:25:39 +00:00
Ryan Biesemeyer
386abb9f5a update test for bug #55169, fix skipif 2011-07-20 21:13:03 +00:00
Ryan Biesemeyer
08cab10dc9 update test for bug #55169, don't require the extension in INI 2011-07-20 20:57:17 +00:00
Ryan Biesemeyer
cd6f4bcf8d tests for bug #55169 (mcrypt and openssl) 2011-07-20 18:59:05 +00:00
Daniel Convissor
f7c269b119 Rename and enhance test for bug 55253 now that bugs web is up. 2011-07-20 18:24:14 +00:00
Pierre Joye
b03817afb5 - re apply the rng change specific to windows, long term it should be a std function but as this function was badly introduced in the 1st place, we have to fix the bad things here instead, pls do not revert again, bad idea. 2011-07-19 23:01:41 +00:00
Scott MacVicar
591e0e446f Revert change to use a special Windows version of openssl_random_pseudo_bytes().
Lets discuss this on internals first. We're advertising something from the OpenSSL library 
and then subverting it with another Windows OS call.

What are the implications of this? Should we make this available in ext/standard/ instead?
2011-07-19 22:29:55 +00:00
Scott MacVicar
64a0c79a07 openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.
The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.

Also fixed an error in the zend_parse_parameters() having an invalid character being used.
2011-07-19 22:15:56 +00:00
Felipe Pena
81e8615cc3 - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-07-19 22:12:13 +00:00
Popa Adrian Marius
90737c19e2 Fix for bug http://bugs.php.net/54426
Checks for NULL are wrong as the values can be provided by the triggers
2011-07-19 20:23:26 +00:00
Pierre Joye
264e5c0567 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
Rui Hirokawa
f191ecaa9c added numeric entities encode/decode in hex format. 2011-07-18 08:21:48 +00:00
Boris Lytochkin
85edf25143 new propery noOIDIncreasingCheck allowing to skip
OID increasing check (userful for bogus SNMP agents)
2011-07-17 19:47:24 +00:00
Boris Lytochkin
06c20347ae swap non_repeaters and max_repetitions in walk query, max_repetitions whould be used more frequently 2011-07-17 18:14:38 +00:00
Boris Lytochkin
cf7724d5a3 fix FR #54502: allow user to change OID value output mode when SNMP_VALUE_OBJECT is used. 2011-07-17 17:18:31 +00:00
Boris Lytochkin
cc1ccefc0d backport r313324 2011-07-17 14:06:05 +00:00
Philip Olson
e89370d4dc Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
David Soria Parra
fa79f2f46b Fix #55212. Only declare STREAM_PF_INET6 if PHP is compiled with IPv6 support 2011-07-15 15:25:24 +00:00
Scott MacVicar
1bc1d3572f Fix prototypes for ldap_control_paged_result and fix function name in tests 2011-07-14 18:49:12 +00:00
Pierre Joye
894a746a80 - fix build 2011-07-14 11:12:33 +00:00
Daniel Convissor
12ceab222e Have test for add/sub/diff one second during DST/ST transition. 2011-07-13 16:22:58 +00:00
Daniel Convissor
8ae7586e87 Add test for constructing times during the dst/st conversion. 2011-07-13 16:21:10 +00:00
Daniel Convissor
292a7936c5 Use datetime examine diff file from 5.3 in 5.4 and trunk. 2011-07-13 16:08:03 +00:00
Etienne Kneuss
0909cafc7d Fix crash 2011-07-12 21:57:14 +00:00
Etienne Kneuss
fdce66dfd2 Fix #48860 Implement Serialization for DLL 2011-07-12 21:43:17 +00:00
Pierre Joye
dd1a0be3c0 - Fixed bug #55187, readlink returns weird characters when false result 2011-07-12 15:15:17 +00:00
Christian Stocker
6be6c2d62d Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446

(second iteration of the code for trunk, first commit for 5.4 branch)
2011-07-12 04:58:38 +00:00
Stanislav Malyshev
c4197dc35e MFH 2011-07-12 04:50:24 +00:00
Kalle Sommer Nielsen
9f782a73e8 Changed http_response_code() to be able to set a response code 2011-07-12 03:56:32 +00:00
Christian Stocker
8806c371c8 Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
(MFT - Merged from Trunk)
2011-07-11 15:18:46 +00:00
Dmitry Stogov
adb87c8d06 Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption) 2011-07-11 09:47:59 +00:00
Gustavo André dos Santos Lopes
b9b749b704 - Further fix for bug #55111 (compilation failure of ext/sockets in Mac OS X). 2011-07-11 08:29:39 +00:00
Pierre Joye
5fb2570742 - use php_win32_get_random_bytes instead of over slow and partially wrong openssl's version 2011-07-10 14:59:33 +00:00
Pierre Joye
8a18b29d23 - use warning here to match unix behavior 2011-07-10 14:19:51 +00:00
Andrey Hristov
e77b49bfd3 free data in case of failure in the callee not in the caller 2011-07-05 20:31:53 +00:00
Ilia Alshanetsky
1a4456bb76 Fixed bug relating to un-initialized memory access 2011-07-05 20:10:45 +00:00
Stanislav Malyshev
01249bb40b fix crypt() issue with overlong salt 2011-07-04 23:38:09 +00:00
Dmitry Stogov
adabdede5e Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Gustavo André dos Santos Lopes
7a402242bc - Fixed bug #55111 (sockets extension fails to compile on Mac OSX). 2011-07-02 12:03:32 +00:00
Gustavo André dos Santos Lopes
404686447b - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Ilia Alshanetsky
b9ffb87960 Fixed test 2011-06-28 23:47:05 +00:00
Knut Urdalen
c1c3fada7a working on test coverage for ext/dom, here's 17 more tests 2011-06-28 20:17:15 +00:00
Pierrick Charron
a814063804 Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on true) 2011-06-28 11:09:06 +00:00
Gustavo André dos Santos Lopes
f99938c6ee - Fixed socket_import_stream returning NULL on some errors and FALSE on others 2011-06-28 10:27:29 +00:00
Christopher Jones
eb9093160f Keep the DBA DB4 test status quo after Berkeley DB 5.2 introduced error message prefixes 2011-06-27 22:58:59 +00:00
Hannes Magnusson
2310029923 Fix 5.1 detection on ubuntu natty 2011-06-27 20:28:30 +00:00
Derick Rethans
7c1bdf2c45 - Updated to version 2011.8 (2011h) 2011-06-27 11:47:43 +00:00
Felipe Pena
4f21d3132e - Fixed data type usage in 64bit
Reported by: Leonildo Costa
2011-06-27 01:36:39 +00:00
Stanislav Malyshev
3acd5811ae Fix crypt_blowfish 8-bit chars problem (CVE-2011-2483), add tests
# See details at http://www.openwall.com/lists/announce/2011/06/21/1
2011-06-26 21:34:39 +00:00
Knut Urdalen
c5a4e11bab small fix in disk_total_space() tests (PHP_5_3 already includes this) 2011-06-25 21:22:42 +00:00
Knut Urdalen
db34dc0a8b fixed temp directory names in spl tests 2011-06-25 07:45:41 +00:00
Knut Urdalen
fe724baa4d fixed/refactored some spl tests related to owner/group retrieval 2011-06-25 04:50:42 +00:00
Felipe Pena
b632c3ac06 - Added SKIPIF 2011-06-24 19:18:06 +00:00
Felipe Pena
f9f298cc0b - Missing valid path check 2011-06-23 21:53:25 +00:00
Hannes Magnusson
ffc6da20a0 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Nuno Lopes
ddac85a947 properly regen file to fix coverage data 2011-06-23 14:58:02 +00:00
Ilia Alshanetsky
34d93f0c06 Zend Signal Handling 2011-06-22 14:23:21 +00:00
Shein Alexey
512be854e5 Fixed dom tests. 2011-06-22 09:28:14 +00:00
Stanislav Malyshev
bbf1904f3d fix error reporting on missing data - don't produce double errors 2011-06-19 18:55:48 +00:00
Stanislav Malyshev
177612ca4d re-generate credits 2011-06-19 17:56:09 +00:00
Daniel Convissor
7f04d85d31 Provide test for DateTime::add() issue (for discussion on internals, bugs.php.net is down). 2011-06-19 16:59:58 +00:00
Daniel Convissor
90789cf0a7 Split DateTime diff/add/sub tests into separate files to make things easier to see, test and (one hopes) fix. 2011-06-19 16:55:11 +00:00
Felipe Pena
f417c732a9 - Fix tests 2011-06-19 15:43:16 +00:00
Felipe Pena
868b808f4c - Opss, restore old behavior 2011-06-19 14:50:44 +00:00
Felipe Pena
d8782ddaeb - Added missing void param check in sys_get_temp_dir
- Fixed param check of umask()
2011-06-19 14:27:33 +00:00
Felipe Pena
b9746b0ba6 - Missing usage of 'p' parameter specifier 2011-06-19 13:20:12 +00:00
Felipe Pena
6765a19d23 - Fix test 2011-06-19 12:58:56 +00:00
Felipe Pena
fbb5aae32c - New tests (code coverage++) 2011-06-19 12:33:49 +00:00
Felipe Pena
8c3335b96b - Added missing void param checks, and fix arginfo 2011-06-18 22:48:31 +00:00
Felipe Pena
ebf9db550f - Added missing arginfos for void params and void param checks 2011-06-18 15:56:14 +00:00
Christopher Jones
444289e03e Fix skipif to resolve the common reason this test fails 2011-06-17 18:28:34 +00:00
Derick Rethans
9437d4cea4 - Fixed bug where the DateTime object got changed while using date_diff(). 2011-06-17 16:38:23 +00:00
Felipe Pena
0a7292087c - Fixed two "jump or move depends on uninitialised value" 2011-06-17 02:00:20 +00:00
Pierre Joye
104cd28e95 - did I not kill that already? (do not use rand_screen, pointless on server and not TS) 2011-06-16 13:06:41 +00:00
Pierre Joye
1717764476 - install extra headers 2011-06-16 01:21:01 +00:00
Christopher Jones
af482a4fc8 Improve cross version compat 2011-06-14 20:04:18 +00:00
Scott MacVicar
08e7b84b7b Upgrade SQLite to 3.7.6.3 2011-06-14 17:00:49 +00:00
Timm Friebe
fcff17524a - MFH suppression of compiler warning noted in bug #55009 2011-06-13 08:45:56 +00:00
Rasmus Lerdorf
c9e41e8901 These regexes don't fail under the new backtrack limit, so lower it
just for the test to check the failure.
2011-06-12 18:38:26 +00:00
Felipe Pena
907fd926e5 - Restore basename in filename on non Windows OS 2011-06-12 15:15:44 +00:00
Rasmus Lerdorf
fb2ce0bb00 Don't expect a path for tidy_repair_string() and fix the tests 2011-06-12 14:49:10 +00:00
Boris Lytochkin
7a0bd8b967 remove PHP_VERSION_ID ifdef's, limiting to 5.4 branch 2011-06-12 12:26:51 +00:00
Boris Lytochkin
2b8026cfff merging from trunk (r312088...r312092):
move SNMP VERSION constants into SNMP class itself
fix typo in comment
no more method open
fix method names in header
2011-06-12 12:10:01 +00:00
Felipe Pena
bc6cb0c70d - Fixed bug #54680 (missing TRACK_VARS_SERVER check) 2011-06-12 02:47:48 +00:00
Gustavo André dos Santos Lopes
8d52500d41 - Reverted r301991, which is a (partial) fix to bug #52550, addressing an
overflow in a signed subtraction. This fixes the overflow without
  changing the algorithm.
2011-06-12 00:56:18 +00:00
Felipe Pena
f277d8a22f - Fixed tests 2011-06-12 00:31:13 +00:00
Gustavo André dos Santos Lopes
bc9c089f3a - Fixed ext/sockets build on Mac OS X (hopefully).
- Improvements in the multicast tests.
- Very light refactoring in sockets.c.
2011-06-11 20:20:50 +00:00
Timm Friebe
e2a48862f7 - MFH Bugfix for bug #53540 2011-06-11 18:55:41 +00:00
Felipe Pena
d2c47040f5 - Missing fix for bug #54347 2011-06-11 15:11:49 +00:00
Felipe Pena
f641cf8b2c - Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect) 2011-06-11 01:15:14 +00:00
Christopher Jones
ea2cad7e76 Fix TSRMLS for Windows build 2011-06-11 00:24:26 +00:00
Felipe Pena
191df85605 - Drop C++ style comments 2011-06-10 23:14:15 +00:00
Felipe Pena
15f5dd5cb3 - Fixed bug #55028 (// is abad comment) 2011-06-10 22:48:36 +00:00
Christopher Jones
7bc6fbc448 Bump OCI8 version to stable in preparation for 5.3.7 RC 2011-06-10 20:01:46 +00:00
Christopher Jones
a643bda32d Add new OCI8 tests. Refactor skipifs. Sync 5.3/5.4/trunk branches 2011-06-10 19:16:35 +00:00
Christopher Jones
199510ef07 Add oci_client_version() returning the runtime Oracle client library version - predominantly useful for the test suite 2011-06-10 17:38:07 +00:00
Felipe Pena
cee9b6603c - Fixed bug #54347 (reflection_extension does not lowercase module function name)
patch by: laruence at yahoo dot com dot cn
2011-06-09 22:45:35 +00:00
Shein Alexey
4cd96965fb Removed tests checking old/removed functionality (session_register/session_unregister/session_is_registered/register_globals) 2011-06-09 08:54:47 +00:00
Shein Alexey
b99e1ba2d8 Changed session.save_path to /tmp to make test run. 2011-06-09 08:24:12 +00:00
Shein Alexey
060ceea06e Skip reason is now printed if session.save_path is not writable. 2011-06-09 08:18:49 +00:00
Shein Alexey
efb6757e16 Fixed session test breakage due to serialize precision issue. 2011-06-09 07:44:10 +00:00
Felipe Pena
0a0443f07c - Missing fixes for grammar fix 's/valid path/a valid path/' 2011-06-09 00:23:43 +00:00
Ilia Alshanetsky
6e668453ac Fixed test 2011-06-08 23:30:02 +00:00
Ilia Alshanetsky
80f46ca2c5 Fixed test to account for smaller default floating point # precision 2011-06-08 02:03:14 +00:00
Felipe Pena
ddaddf6c2a s/valid path/a valid path/ 2011-06-08 00:53:55 +00:00
Gustavo André dos Santos Lopes
c27079d9e0 - Fixed bug #54992: Stream not closed and error not returned when SSL CN_match
fails.
2011-06-08 00:23:02 +00:00
Christopher Jones
707e6dac61 Sync OCI8 branches. Allow 'pecl install' to work on both PHP 5.3 & 5.4 2011-06-07 23:53:02 +00:00
Christopher Jones
a3ddc02e8e Update tests to match Felipe's null byte arg parsing change 2011-06-07 20:58:08 +00:00
Felipe Pena
a641ccb774 - Test fixes 2011-06-07 02:29:03 +00:00
Ilia Alshanetsky
de2291689c Fixed test 008 2011-06-07 01:40:54 +00:00
Felipe Pena
d86b3633cf - Test fixes 2011-06-06 22:36:54 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Ilia Alshanetsky
a311dc2443 Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning). 2011-06-05 21:57:01 +00:00
Hannes Magnusson
6f56bf1cfc Fixed bug#51819 (Case discrepancy in timezone names cause Uncaught exception and fatal error) 2011-06-05 13:30:01 +00:00
Hannes Magnusson
eed6bdb5c7 When you write to a symlink - you access the file itself, not the symlink, so we need to compare the atime to the orignal file 2011-06-05 12:08:14 +00:00
Hannes Magnusson
513faa54bb Make sure we are writing more data then the block size 2011-06-05 12:07:11 +00:00
Hannes Magnusson
8f3e6433b2 No need to fetch external files and endless amount of DTDs for this test 2011-06-05 11:31:18 +00:00
Hannes Magnusson
86209a3919 touch() no longer attempts to create files on empty strings 2011-06-05 09:42:10 +00:00
Stanislav Malyshev
2da7edbc8d This method doesn't seem to be very useful without scalar types, so reverting it too 2011-06-05 08:59:24 +00:00
Hannes Magnusson
5fac6a938f This isn't less then 5.4.. but these still fail though. 2011-06-05 08:56:52 +00:00
Philip Olson
45f4c5dd7e Updated the note maintainers credits 2011-06-05 06:57:13 +00:00