Commit Graph

20736 Commits

Author SHA1 Message Date
Steve Seear
5e0afe8eb9 Adding streams tests 2008-03-19 17:38:23 +00:00
Steve Seear
9071a478b5 Adding filesystem tests 2008-03-19 17:25:47 +00:00
Antony Dovgal
e3b672bb23 MFH: make use of zend_atol() 2008-03-19 12:42:16 +00:00
Antony Dovgal
8b5524e2fe fix test 2008-03-19 12:36:09 +00:00
Felipe Pena
47badbe86b Remove accidental change 2008-03-19 03:15:56 +00:00
Felipe Pena
17c7463331 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:05:35 +00:00
Ilia Alshanetsky
c4a33f1515 Fixed bug #44445 (email validator does not handle domains
starting/ending with a -)
2008-03-18 23:31:34 +00:00
Andrey Hristov
98680c0c8f Fix the build 2008-03-18 17:30:55 +00:00
Andrey Hristov
caf3e9c3f1 Fixed a bunch of bugs reported in
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.
2008-03-18 16:57:31 +00:00
Robin Fernandes
bd9e026951 Adding more tests for serialize() and unserialize(). 2008-03-18 15:11:48 +00:00
Antony Dovgal
d32270a129 one more forgotten ze1_compat leftover 2008-03-18 14:48:09 +00:00
Antony Dovgal
57f51ee9a4 remove ze1_compat leftovers 2008-03-18 14:44:35 +00:00
Felipe Pena
2b10c53ae1 MFH: Dropped zend.ze1_compatibility_mode
[DOC]
2008-03-18 14:10:45 +00:00
Felipe Pena
01dc595706 Fix build 2008-03-18 00:24:21 +00:00
Stanislav Malyshev
085af56710 fix integer overflow in length calculation 2008-03-17 23:06:32 +00:00
Ilia Alshanetsky
9227974ddb Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:01:27 +00:00
Nuno Lopes
25e6cd1a38 remove duplicated sections 2008-03-17 17:19:48 +00:00
Antony Dovgal
74bfe1c3fa fix test 2008-03-17 15:35:32 +00:00
Josie Messa
f5cd721058 - new tests for ctype functions 2008-03-17 09:52:02 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Ilia Alshanetsky
eb8f83a98e Remove unused variable 2008-03-16 15:15:21 +00:00
Derick Rethans
fb86942ce9 - Updated to version 2008.1 (2008a) 2008-03-16 07:21:00 +00:00
Felipe Pena
766f62f026 Add SKIPIF (32bit platform only) 2008-03-14 23:15:47 +00:00
Felipe Pena
57f423156e Fix build (ZTS) 2008-03-14 17:56:52 +00:00
Derick Rethans
0e9a12d8b1 - MFH: Allow datetime objects to be serialized and woken up.
- MFH: Implemented __set_state().
2008-03-14 16:19:52 +00:00
Marcus Boerger
c17997d4b6 - MFH Fix possible memory corruption 2008-03-13 19:46:44 +00:00
Elizabeth Marie Smith
77e914e6dc [DOC] adds new odbc driver specific ODBC_ATTR_ASSUME_UTF8 to deal with unicode coming out of Microsoft SQL Server and is only relevant on windows, use it if unicode output from the server is garbled and it will autoconvert text - original patch by wez 2008-03-13 16:55:09 +00:00
Derick Rethans
7aa69c21df - Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset). 2008-03-13 15:59:48 +00:00
Derick Rethans
a27d6afd83 - Added support for parsing date/time strings returned by MS SQL with strtotime(). 2008-03-13 15:54:25 +00:00
Felipe Pena
5076296d8c Sync with fix for #44394 2008-03-12 19:34:37 +00:00
Felipe Pena
eea093b47c MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:18:42 +00:00
Christopher Jones
c94d9b0c12 MFH: New test for existing behavior 2008-03-12 17:52:59 +00:00
Ilia Alshanetsky
5944170872 Fixed bug #44388 (Crash inside exif_read_data() on invalid images) 2008-03-12 17:32:01 +00:00
Etienne Kneuss
b57e7b44da Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:34:47 +00:00
Felipe Pena
e0de453954 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:40:57 +00:00
Christopher Jones
b9f72771a6 MFH
Cleaned up whitespace

Fixed bug #44372 (compilation with Oracle 10gR1 libraries)
http://bugs.php.net/bug.php?id=44372

Updated updated error number list to improve re-connection
behavior after a database restart.

Guard against potential internal list corruption after ping
removes old oci_pconnect() information.

Fix ini_set("oci8.connection_class", "abc") to get an appropriate
persistent connection.

Ping at oci8.ping_interval for oci_connect() and oci_new_connect()
when DRCP connections are used. This improves non-persistent
connection reliability if a database gets restarted.
2008-03-12 01:26:44 +00:00
Josie Messa
e897db28bf - Fix test 2008-03-11 10:17:51 +00:00
Josie Messa
f5d9a8ea42 - Added extra whitespace around error messages in expected output 2008-03-11 10:00:26 +00:00
Dmitry Stogov
1a08aadc9b Fixed memory corruption because of double free() 2008-03-11 09:36:41 +00:00
Ilia Alshanetsky
ec45e73891 More todo items 2008-03-11 00:12:53 +00:00
Felipe Pena
1db52c1c5f Fix tests (new error message for void parameters) 2008-03-10 23:14:11 +00:00
Felipe Pena
9324869ef5 Fix tests (new error message for void parameters) 2008-03-10 22:17:59 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Andrey Hristov
725b31fc6c Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
2008-03-10 20:15:38 +00:00
Antony Dovgal
23bb85388b fix gcov build 2008-03-10 17:26:33 +00:00
Josie Messa
705435eb9e - New tests for getcwd() function 2008-03-10 15:22:47 +00:00
Josie Messa
1d4f18734f - Modified expected output to allow tests to work on all platforms 2008-03-10 15:10:32 +00:00
Josie Messa
794955ce85 - New tests for scandir() function 2008-03-10 14:12:41 +00:00
Johannes Schlüter
445a24e400 Fix typo 2008-03-10 13:39:53 +00:00
Andrey Hristov
a27e0c8818 - Fix a warning in php_mysql.c
- Fixed #44371 Extension compile failed
2008-03-10 09:18:43 +00:00
Scott MacVicar
08b5500f4b Fix memory issues with statement being deleted twice 2008-03-09 21:30:28 +00:00
Ilia Alshanetsky
33e23bd355 Initialize ts only after successful argument parsing 2008-03-09 18:09:53 +00:00
Johannes Schlüter
14496417d0 - MFH: Fix typo in skipif 2008-03-09 01:07:01 +00:00
Felipe Pena
77af81b8c3 Fix test (thanks Scoates!) 2008-03-08 23:31:05 +00:00
Felipe Pena
a7dd2ad68c Fix test 2008-03-08 23:13:45 +00:00
Etienne Kneuss
e9a6f0f24a MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
Greg Beaver
2801e87a55 fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:34 +00:00
David Coallier
47f576db8f - MFH
- If libxml dotted version smaller than 2.6.20 it's a fail. Patch from scoates
2008-03-08 19:11:18 +00:00
Greg Beaver
b6d53c51e8 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:25 +00:00
Andrey Hristov
64aad3d210 Bug fixed in 5.0.46 2008-03-08 15:00:50 +00:00
Andrey Hristov
ff8a310468 Fix a problem with $mysqi->connect() not working with default values.
Fix a leak, bug#39457
2008-03-08 14:55:52 +00:00
Felipe Pena
739a4d503b MFB: Fixed bug #44373 (PDO_OCI extension compile failed) 2008-03-08 14:03:20 +00:00
Nuno Lopes
634fef42d6 fix bug #44214: crash with preg_replace_callback and global variables 2008-03-08 13:01:59 +00:00
Nuno Lopes
d204214d7f implement #44336: optimize utf8 string matching
add PREG_BAD_UTF8_OFFSET_ERROR constant
2008-03-08 11:58:12 +00:00
Nuno Lopes
0d0a7a432a add new tests 2008-03-08 11:50:20 +00:00
Scott MacVicar
32c03b5f32 MFB: Fixed bug #42203 (Clear SQLite result sets before closing database.) 2008-03-08 04:18:29 +00:00
Gwynne Raskind
8bbef4f940 Forgot one file in last commit 2008-03-07 23:20:54 +00:00
Gwynne Raskind
3e99d5cc5b MFH: fix bug #32330 (session_destroy, "Failed to initialize storage module", custom session handler) 2008-03-07 23:20:32 +00:00
Scott MacVicar
4147031eb0 Fixed bug #41135 (When binding as binary data use sqlite3_bind_blob() to stop errors with null bytes.)
Fixed bug #42443 (Bind integers and booleans as integers rather than strings.)
2008-03-07 16:58:55 +00:00
Josie Messa
8e3192aed8 - Tests awaiting fix of bug #44246 2008-03-07 16:20:16 +00:00
Josie Messa
d19f3990e3 - New tests for rewinddir() function 2008-03-07 16:12:03 +00:00
Josie Messa
37ca3ca2b5 - New tests for closedir() function 2008-03-07 16:00:24 +00:00
Scott MacVicar
5a86313123 Update bundled SQLite to 3.5.6 2008-03-07 10:47:32 +00:00
Antony Dovgal
184173fccc fix build 2008-03-07 08:56:38 +00:00
Greg Beaver
1dac2d21a8 test was failing because I had a file named 1 in the checkout directory
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:14:53 +00:00
Stanislav Malyshev
507a7840ed improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:36:58 +00:00
Ilia Alshanetsky
bbf53bbb04 Fixed a memory leak inside date_get_last_errors() when there are no errors 2008-03-07 02:04:40 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00
Ilia Alshanetsky
34c89a2601 Revert patch for bug #44325 2008-03-05 23:52:45 +00:00
Jani Taskinen
33af2eb4dc - Fix tests (allow_call_time_pass_reference might be off for properly configured sites.. :) 2008-03-05 15:37:48 +00:00
Jani Taskinen
f6406ae6e9 - Fix test when register_globals=On in php.ini 2008-03-05 12:12:09 +00:00
Antony Dovgal
d4fd7c1059 MFH: apply better fix 2008-03-05 12:10:02 +00:00
Antony Dovgal
391da778fb MFH: fix memory corruption due to double destruction of default dir handle 2008-03-05 09:29:25 +00:00
Felipe Pena
c3b6ca3b8f MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags) 2008-03-04 22:29:29 +00:00
Christopher Jones
af6734c1ff MFH Fix bug #41069 (db link crash). Also allow SQLT_AFC (aka CHAR datatype) in oci_bind_by_name 2008-03-04 21:46:24 +00:00
Christopher Jones
96f8501ccd Attempt greater test portability 2008-03-04 21:05:47 +00:00
Ilia Alshanetsky
0e17aa0630 Fixed bug #44325 (mssql_bind not correctly bind empty strings as parameter
value)
2008-03-04 19:38:38 +00:00
Josie Messa
08d2ac2ea6 - new tests for readdir() function 2008-03-04 17:09:24 +00:00
Dmitry Stogov
29eac881b0 Fixed SIGSEGV because of access to uninitialized data 2008-03-04 12:47:18 +00:00
Antony Dovgal
14ec6f623b MFH 2008-03-04 11:16:31 +00:00
Josie Messa
99defe9f52 - new tests for opendir() function 2008-03-04 10:40:36 +00:00
Ilia Alshanetsky
1a3f7f6450 Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers()) 2008-03-03 21:12:16 +00:00
Johannes Schlüter
1aa32afa8a MFH: Fix get_parent_class() of PDORow instances 2008-03-03 19:00:45 +00:00
Robin Fernandes
0455ccb805 Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 15:07:04 +00:00
Dmitry Stogov
bcade81501 Removed unnecassary strlen() 2008-03-03 11:11:43 +00:00
Ilia Alshanetsky
a9146c60cb Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:35:05 +00:00
Etienne Kneuss
05ba20f9b6 MFH: Fix #44144 (object methods as spl autoload functions returned correctly) 2008-02-29 13:55:23 +00:00
Etienne Kneuss
7c2052957c MFH: Fix #44288 (Move declarations) 2008-02-29 09:26:01 +00:00
Rasmus Lerdorf
3be17e4f66 count() before and after a simplexml array cast should be the same 2008-02-28 17:38:04 +00:00
Dmitry Stogov
4cdbb5b060 We don't nave to change request shutdown sequence if dl() was failed 2008-02-28 16:59:10 +00:00
Derick Rethans
825c3f5ac2 - MFH: Fixed bug #44260 (African timezones missing). 2008-02-27 09:47:35 +00:00
Felipe Pena
57f73fa8fc MFB: Improved fix for #44242 2008-02-27 01:19:05 +00:00
Felipe Pena
3f40f96c50 Fixed tests 2008-02-26 13:38:43 +00:00
Josie Messa
40a4cf4fea - committed chdir() tests in wrong directory 2008-02-26 09:34:29 +00:00
Josie Messa
f13562aa66 - New tests for chdir() function 2008-02-26 09:34:28 +00:00
Christopher Jones
3207b7b228 MFH: Use STD_PHP_INI_BOOLEAN. Fix whitespace. 2008-02-26 02:21:04 +00:00
Christopher Jones
53a5bf2e65 Fix test noise 2008-02-26 01:05:59 +00:00
Ilia Alshanetsky
43bcf759d3 Better fix for bug #44189 2008-02-26 00:13:57 +00:00
Christopher Jones
b4b099ae19 MFH: OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak) 2008-02-25 23:50:51 +00:00
Etienne Kneuss
6e46f25b12 MFH: Fix folding 2008-02-25 23:41:04 +00:00
Etienne Kneuss
c54045a1f9 MFH: SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:39:08 +00:00
Rob Richards
de52173257 MFH: fix win32 build 2008-02-25 22:57:09 +00:00
Felipe Pena
a9f5ad7e87 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:54:57 +00:00
Derick Rethans
f81134a9f2 - MFH: Fixed tests on 64bit platform. 2008-02-25 22:32:59 +00:00
Derick Rethans
b8883b65b8 - MFH: Added a few new separation specifiers.
- MFH: Added specifiers that can reset or default the y/m/d/h/i/s/tz values.
- MFH: Fixed a problem with parsing timezones as part of a format.
2008-02-25 18:26:33 +00:00
Steve Seear
ad3af52712 Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:31:17 +00:00
Felipe Pena
3be93e5141 New test 2008-02-24 18:49:55 +00:00
Felipe Pena
6a128d5614 MFB: Fixed segfault in filter extension when using callbacks. 2008-02-24 18:41:08 +00:00
Ilia Alshanetsky
e0388c5549 Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
bound parameters are present)
2008-02-24 16:08:32 +00:00
Felipe Pena
e947263bda Removed internal warning 2008-02-24 11:45:55 +00:00
Felipe Pena
afd2623ee7 Fixed test 2008-02-24 11:27:26 +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
Derick Rethans
6c5041979c - MFH: Fixed bug #44216 (strftime segfaults on large negative value). 2008-02-22 17:48:46 +00:00
Felipe Pena
f7078d469c Fixed Bug #44212 (array_diff_assoc not reporting missing arguments) 2008-02-22 13:28:40 +00:00
Robert Nicholson
6ca51e664d - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:14:58 +00:00
Derick Rethans
7c46f35da3 - MFH: Fixed bug #44209: strtotime doesn't support 64 bit timestamps. 2008-02-22 09:47:19 +00:00
Josie Messa
116ae80376 - New tests for reset() function 2008-02-22 09:19:56 +00:00
Rasmus Lerdorf
92cd32246b No point in echoeing the raw value back here in the error message 2008-02-22 05:13:20 +00:00
Rasmus Lerdorf
28e4a3d4dd Missing footer 2008-02-22 05:04:34 +00:00
Felipe Pena
31ba224d90 Fix test 2008-02-22 02:15:42 +00:00
Felipe Pena
9139e74a60 New parameter parsing [DOC] 2008-02-21 17:50:03 +00:00
Felipe Pena
d44f4cb17b Fix test (new parameter parsing) 2008-02-21 17:47:33 +00:00
Josie Messa
2151ce6ba9 - New tests for end() and next() function 2008-02-21 16:39:02 +00:00
Josie Messa
e864044411 - New tests for key() function 2008-02-21 14:34:41 +00:00
Felipe Pena
3fd8ccb092 Fix test 2008-02-21 14:22:41 +00:00
Josie Messa
1fa1bd7ac8 - Fixed failing mbstring tests after bug fixes 2008-02-21 14:07:13 +00:00
Antony Dovgal
9609e195e9 fix test 2008-02-21 13:39:04 +00:00
Ilia Alshanetsky
2fc9f5928e Fixed bug #44189 (PDO setAttribute() does not properly validate values for
native numeric options)
2008-02-21 13:37:21 +00:00
Antony Dovgal
fe4e73238a ws->tab fixes 2008-02-21 11:53:34 +00:00
Felipe Pena
079bfadbe7 MFB: Fixed Bug #44197 (socket array keys lost on socket_select) 2008-02-21 02:56:57 +00:00
Felipe Pena
bc8a62f4b1 MFB: Fixed Bug #44191 (preg_grep messes up array index) 2008-02-20 22:12:17 +00:00
Felipe Pena
d427b55b1a New test 2008-02-20 21:57:05 +00:00
Andrey Hristov
702bc3b345 Fix test. Now passes. 2008-02-20 18:27:53 +00:00
Ilia Alshanetsky
d3158cdc15 Fixed a possible crash with syslog logging on ZTS builds 2008-02-20 15:27:30 +00:00
Andrey Hristov
7d0cee8c80 Fix memory leak 2008-02-20 15:18:17 +00:00
Josie Messa
21324e9a69 - New tests for current() function 2008-02-20 14:20:31 +00:00
Ilia Alshanetsky
3101edfd18 Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error) 2008-02-20 03:11:43 +00:00
Christopher Jones
23a43bb260 Update for PECL release 2008-02-19 19:04:03 +00:00
Andrey Hristov
4ade01852c Fix a failing test 2008-02-19 17:21:50 +00:00
Josie Messa
f4dc0f293d - New tests for each() function 2008-02-19 17:02:27 +00:00