1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00
Commit Graph

13873 Commits

Author SHA1 Message Date
Dmitry Stogov e35bc2e2b4 Fixed memory leak (related to new implementation of empty strings) 2004-07-19 11:38:40 +00:00
Wez Furlong 0d002664fb Implement empty-string-to-null conversion option for oracle compat.
This can be enabled using:
	$dbh->setAttribute(PDO_ATTR_ORACLE_NULLS, true);
2004-07-19 09:35:36 +00:00
Moriyoshi Koizumi 967c72865f - Fix a bug in iconv stream filter that prevents pending buckets from being
processed on flush operation (same issue pollita fixed several days ago).
2004-07-19 08:34:18 +00:00
Antony Dovgal cbd5396cbb fix build 2004-07-19 07:35:41 +00:00
Andi Gutmans 56f8195fe5 - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
  STR_FREE() and zval_dtor() always have to check for it and it slows down
  the general case. In addition, it seems that empty_string has been abused
  quite a lot, and was used not only for setting zval's but generally in
  PHP code instead of "", which wasn't the intention. Last but not least,
  nuking empty_string should improve stability as I doubt every place
  correctly checked if they are not mistakenly erealloc()'ing it or
  calling efree() on it.
  NOTE: Some code is probably broken. Each extension maintainer should
  check and see that my changes are OK. Also, I haven't had time to touch
  PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Moriyoshi Koizumi 599ae4b1b5 - Fix VPATH build. (patch by Joe Orton) 2004-07-19 05:07:40 +00:00
Moriyoshi Koizumi 83d2cbd36e - Rename php_compat.h to php_onig_compat.h to avoid name conflict.
(reported by Joe Orton, thanks.)
2004-07-19 05:04:33 +00:00
Ilia Alshanetsky 8840191d91 Fixed bug #28633 (sprintf incorrectly adding padding to floats). 2004-07-18 17:27:49 +00:00
Marcus Boerger 1ea073fb7a Update 2004-07-18 14:04:36 +00:00
Rob Richards 5c17925a7c add appendXML() to DOMFragment (chregu) 2004-07-18 13:47:44 +00:00
Wez Furlong a5b697826b not safe for persistent streams 2004-07-18 13:23:40 +00:00
Rob Richards 42ade33fa6 MFB: enable exslt support for win32 builds
WS fixes for exslt tests
2004-07-18 13:23:33 +00:00
Rob Richards 8925d6573e MFB: add missing optional value param to createElementNS (chregu) 2004-07-18 13:16:15 +00:00
Wez Furlong ed682e570a Implement extension load-order deps. 2004-07-18 12:03:51 +00:00
Rob Richards 22b70fcb31 MFB: Fixed bug #29221 (Segfault using DOM ownerDocument in a PHP object) 2004-07-18 11:45:12 +00:00
Andrey Hristov 96f5c697dd Add support for negative values of limit of explode(). If limit is negative
then all components are returned except the last abs(limit) ones.
2004-07-18 11:34:28 +00:00
Sergey Kartashoff 29ba20eea0 - A Bug #29147 was fixed. Thanks to Antony Dovgal <tony2001 at phpclub.net>
for his patch.
2004-07-18 11:18:04 +00:00
Wez Furlong 07a17df386 touch to avoid weird implicit makefile rule 2004-07-18 10:34:12 +00:00
Wez Furlong a0191f0505 don't allocate 0 bytes here either 2004-07-18 09:55:46 +00:00
Georg Richter 15ef63b39a fixed paraenthesis warning in mysql_stmt_attr_set/get 2004-07-17 10:48:28 +00:00
Sara Golemon b63393dea0 Update windows build files for filter support 2004-07-17 00:21:04 +00:00
Sara Golemon 5289adbe99 Add zlib stream filter support 2004-07-17 00:05:31 +00:00
Sara Golemon d40e78ad6f convert.* filters not consuming buckets_in on PSFS_FLUSH_* 2004-07-16 23:40:21 +00:00
Anantha Kesari H Y d725f3af91 NetWare specific openssl build file 2004-07-16 08:59:24 +00:00
Zeev Suraski ce6717965e Fix sqlite build 2004-07-15 22:34:45 +00:00
Dan Kalowsky f20849d12e Bug 29058 (patch submitted by bug reporter) 2004-07-15 15:09:12 +00:00
Antony Dovgal f6eb507b2c fix #29012 (Potential race during first connection) thanks to cjbj at hotmail dot com 2004-07-15 11:00:14 +00:00
Ilia Alshanetsky a75608c1de Fixed Bug #29075 (strnatcmp() incorrectly handles whitespace).
# Original Patch by: curt@php.net
2004-07-15 01:26:03 +00:00
Derick Rethans edce707f3b - Fixed text. 2004-07-14 09:54:02 +00:00
John Coggeshall 51ae1cc7bd Changing the Tidy version to 2.0 2004-07-14 02:41:53 +00:00
Sara Golemon c4bf45e39a Bugfix# 28829 bcmath values for 0, 1, and 2 initialized/freed at wrong time for threaded sapis. 2004-07-14 00:14:43 +00:00
Zeev Suraski 2ec89aa8e1 Add {{{ proto's 2004-07-13 20:41:55 +00:00
Wez Furlong cfb84391d0 add missing break 2004-07-13 17:14:49 +00:00
Georg Richter bfd3c9ecfb prototype fixes 2004-07-13 17:04:16 +00:00
Rob Richards d64a00da04 initial xmlwriter code 2004-07-13 17:01:30 +00:00
Georg Richter f61dbf06a1 changed mysqli_stmt_reset (returns now bool instead of void) 2004-07-13 16:12:28 +00:00
Timm Friebe e532feb29c - Initial release 2004-07-12 20:26:53 +00:00
Ilia Alshanetsky 905fbfd85e Added missing constant and correct bound column retrieval. When bound
columns are specified only return status (TRUE/FALSE) indicator.
2004-07-12 20:12:39 +00:00
Ilia Alshanetsky ddb32b11b2 Fixed a bug that could result in false failed query reporting on
INSERT/UPDATE/DELETE queries.
2004-07-12 20:09:19 +00:00
Ilia Alshanetsky 11371cd0a8 Missing patch. 2004-07-12 18:49:47 +00:00
Ilia Alshanetsky 0ad4c5037c Touch the file so that build system does not try to rebuild it. 2004-07-12 17:44:40 +00:00
Christian Stocker 14a61929b9 implement the clone code for the XSLTProcessor object and fix #29108
"xslt segfaults when ze1_compatibility_mode is on" (By Rob Richards)
2004-07-12 13:04:01 +00:00
Antony Dovgal 08486a0ea3 fix #28978 (multiple OCIBindByName on the same placeholder eats memory) 2004-07-12 07:40:05 +00:00
Andrey Hristov 0eef82a733 fixing bug #28974 : overflow in array_slice()
The same kind of overflow appeared in array_splice(), substr() and
substr_replace()
2004-07-11 21:15:04 +00:00
Andrey Hristov 268d3d7ba3 fixing bug #28739
array_*diff() and array_*intersect() not clearing the fci cache before work.
FCI call cache was introduced in HEAD. All functions that perform sorting
of arrays clear the fci cache before work. array_*diff() and\ array_*intersect()
were somehow missed to be updated.
2004-07-11 19:20:05 +00:00
Andrey Hristov bc69bdb01a fixing the name of the test 2004-07-11 18:19:43 +00:00
Andrey Hristov 7af08c0c34 fixing bug 29038:
EXTR_PREFIX_SAME is prevented from creating a new variable when the key
is a empty string. EXTR_PREFIX_ALL is also prevented from doing that,
but works for numbers.
2004-07-11 18:18:05 +00:00
Timm Friebe cd75bd4f65 - Initial release 2004-07-11 16:57:38 +00:00
Timm Friebe a14c66445a - Added simple test for float exceeding the float precision
# See bug #29064
2004-07-11 16:57:12 +00:00
Timm Friebe 1e6ccabd5f - Initial release 2004-07-11 16:31:32 +00:00