1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00
Commit Graph

20648 Commits

Author SHA1 Message Date
Christopher Jones c401491ca0 Further improvements to error handling 2008-03-22 01:27:50 +00:00
Marcus Boerger 736df2fec1 - MFH Add new test 2008-03-21 15:21:38 +00:00
Antony Dovgal 96c2b045ff fix ZTS build 2008-03-21 08:28:24 +00:00
Ilia Alshanetsky 74b5cfdea5 Refine fix for multibyte char hanling inside command names and args 2008-03-20 23:25:31 +00:00
Derick Rethans b23442fc48 - MFH: Fix the DateTimeZone::getTransitions() algorithm. 2008-03-20 19:43:36 +00:00
Rob Richards 7c91532eac MFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test
2008-03-20 16:48:10 +00:00
Andrey Hristov 85cd8525c9 Small fix and a test case to prove it's right 2008-03-20 15:29:14 +00:00
Andrey Hristov 6867385d75 - Don't modify the variables which are passed for parameter binding.
We need to clone them, if there will be a transformation (convert_to_xxx)
  which will change the origin
  (bug#44390 bind_param / bind_result and Object member variables)
- Make mysqlnd more compatible to libmysql, in this case if the execute of
  a statement fails set the state of the statement back to PREPARED
- A test case to check the case of a failing statement.
2008-03-20 14:03:30 +00:00
Antony Dovgal b2af8cac94 MFH 2008-03-20 12:14:06 +00:00
Antony Dovgal dff9a32350 MFH: fix tests 2008-03-20 08:35:44 +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
Steve Seear 4c2b3336a2 Adding tokenizer test 2008-03-19 17:43:50 +00:00
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