Commit Graph

14390 Commits

Author SHA1 Message Date
Sara Golemon
f92797f4e0 Add bz2 stream filter support 2004-07-20 05:26:33 +00:00
Sara Golemon
fc7197322c Make persistency safe 2004-07-20 05:08:52 +00:00
Ilia Alshanetsky
f3f7b6242d Fixed bug #29226 (ctype_* functions missing validation of numeric string
representations).
2004-07-20 01:03:16 +00:00
Ilia Alshanetsky
0d085b253f Allow pgsql driver to accept login & password as separate parameters like
other PDO drivers can.
2004-07-20 00:33:21 +00:00
Frank M. Kromann
15b6714595 Fix compilation with older versions of libMing. Thanks Markus 2004-07-19 22:23:13 +00:00
Frank M. Kromann
d889a123db Sync. with the API of libMing 0.3b1 2004-07-19 21:10:10 +00:00
Sebastian Bergmann
fb3c30574e Fix prototypes: Reflection_* -> Reflection*. 2004-07-19 19:17:32 +00:00
Sebastian Bergmann
045d395d4a Make ReflectionClass::getMethod() and ReflectionClass::getProperty() raise an ReflectionException instead of returning NULL on failure. 2004-07-19 19:14:10 +00:00
Sebastian Bergmann
32e125e2b8 Do not use contracted forms. 2004-07-19 19:02:11 +00:00
Moriyoshi Koizumi
5ff410efdf - Fix test name 2004-07-19 18:49:20 +00:00
Moriyoshi Koizumi
fae637021d - Oops, actual PR # is 29119, not 29199... 2004-07-19 17:51:41 +00:00
Moriyoshi Koizumi
46bc2c5ae2 - Fix bug #29199 (html_entity_decode() misbehaves with UTF-8) 2004-07-19 17:46:30 +00:00
Dmitry Stogov
96fc48b606 Fixed bug #28985 (__getTypes() returning nothing on complex WSDL). 2004-07-19 14:55:35 +00:00
Wez Furlong
86b0967775 fix for empty_string changes.
Don't forget to allocate bytes for NUL terminators
2004-07-19 14:40:46 +00:00
Dmitry Stogov
71b7a54377 Fixed bugs #29109 and #29236. (WSDL cache failure) 2004-07-19 13:58:10 +00:00
Wez Furlong
8a8b20877c Possible fix for #29258 (unverified)
win32 people, please test (I have no working win32 build env right now)
2004-07-19 13:39:57 +00:00
Dmitry Stogov
e0f33c589f Fixed bug #29061 (soap extension segfaults). 2004-07-19 12:53:29 +00:00
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
Timm Friebe
d6c0fdfd2f - Initial release 2004-07-11 16:10:03 +00:00
Ilia Alshanetsky
4ebcb2ecfe Fixed bug #29008 (array_combine() does not handle non-numeric/string keys). 2004-07-11 15:23:57 +00:00
Wez Furlong
a0957e24b7 Fix #28402: no need for -ldl 2004-07-10 12:49:34 +00:00
Wez Furlong
b52f7a01af Bump PHP 5 sqlite extension number to 2.0
(put some distance between it and the 4.3 version)
2004-07-10 12:30:18 +00:00
Wez Furlong
e563b4eafa Upgrade bundled library to 2.8.14 + misc fixes
(http://www.sqlite.org/cvstrac/chngview?cn=1742)
2004-07-10 12:27:51 +00:00
Andi Gutmans
e5cfb1d05c - Better stability during premature shutdown of request startup 2004-07-10 07:46:17 +00:00
Ilia Alshanetsky
41b639fffe Fixed function proto. 2004-07-09 17:49:08 +00:00
Ilia Alshanetsky
79c28f7618 Fixed bug #29049 (array sorting via user function/method does not validate
it).
2004-07-08 17:07:22 +00:00
Sergey Kartashoff
c176a0ae20 - A bugfix in search words hilightling code (mnogosearch extension). 2004-07-08 05:22:14 +00:00
Ilia Alshanetsky
f28b063c28 Last dangerous alloca() bits. 2004-07-08 01:18:43 +00:00
Georg Richter
9db1075c0e added check in config.m4 for deprecated library
added support for new 4.1.3-beta functions
	mysqli_stmt_field_count
	mysqli_stmt_attr_set
	mysqli_stmt_attr_get
removed support for deprecated/old api functions
fixed bug in constructor_get
2004-07-07 08:02:27 +00:00
Ilia Alshanetsky
5201e62d0d Fixed bug #29034 (wordwrap() returns a boolean when passed empty string). 2004-07-06 22:16:42 +00:00
Sergey Kartashoff
c144fdf680 - Some fixes in mnogosearch extension 2004-07-06 19:08:45 +00:00
Marcus Boerger
a2592aa5fb - Revert storing handle, got lost in 1.92, noticed by Kamesh Jayachandran
<kameshj at fastmail dot fm>
2004-07-06 18:48:39 +00:00
Ard Biesheuvel
1b4e0b81e3 Don't copy ini items to module globals
(fixed unregistered bug with mangled default_db setting)
2004-07-06 13:46:19 +00:00
Sebastian Bergmann
b5aa8db6a3 Fix ZTS build. 2004-07-06 08:01:07 +00:00
Dmitry Stogov
8ad22e4279 Fixed bug #28751 (SoapServer does not call _autoload()) 2004-07-06 07:30:33 +00:00
Ilia Alshanetsky
7f7f566318 Eliminate alloca() calls where they can be affected by the users. 2004-07-05 21:31:35 +00:00
Ilia Alshanetsky
2ba792cd0b Don't use alloca() where it can reached by the users. 2004-07-05 21:16:29 +00:00
Marcus Boerger
c884ad017c - Bugfix: #29019 Database not closing 2004-07-05 19:36:10 +00:00
Moriyoshi Koizumi
8989a96789 - Add test for bug #28325. 2004-07-05 07:53:41 +00:00
Ilia Alshanetsky
d5fc8152f3 Eliminate potentially dangerous alloca(). 2004-07-04 17:13:58 +00:00
Ilia Alshanetsky
a41a54f7fa Fixed bug #28963 (Missing space for \0 in address allocation). 2004-07-04 16:52:59 +00:00
Marcus Boerger
c5b9577df8 Fix TSRM build 2004-07-04 11:14:17 +00:00
Moriyoshi Koizumi
a92af73136 - Bugfix #28325 (circular reference serialisation). 2004-07-03 16:10:28 +00:00
Sterling Hughes
e8f984d77a fix bug wrt to CURLOPT_POSTFIELDS where if you passed it code like:
$fields = array('foo' => 'bar');
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
curl_exec($ch);
as opposed to :

curl_setopt($ch, CURLOPT_POSTFIELDS, array('foo' => 'bar'));

you'll get a segv or no results, depending on the mood and cycle of the
moon.
2004-07-01 06:50:46 +00:00
Sara Golemon
76766f2d31 That hashtable should never have been an argument.... 2004-07-01 04:43:29 +00:00
Frank M. Kromann
2067ce4079 Fix for #28512. Allocate enough space to store data 2004-06-30 19:46:57 +00:00
Ilia Alshanetsky
bdfd8c60ea Another instance where alloca() is not needed. 2004-06-30 13:43:16 +00:00
Ard Biesheuvel
81dbc2fcef Fixed Ilia's alloca() issue/exploit
Removed pointless RINIT()
Use macros for consistent resource type names
2004-06-30 10:55:03 +00:00
Ilia Alshanetsky
690ca62dd3 Do not use alloca() where it can be abused through user input. 2004-06-30 01:12:06 +00:00
Ilia Alshanetsky
ed7d1e82c6 Removed pointless allocation check. 2004-06-28 22:31:28 +00:00
Derick Rethans
da2a1977b5 - Fixed bug with leap year checking. 2004-06-28 14:33:57 +00:00
Ard Biesheuvel
16e2d61435 MFB Fixed bug #28897 (-1 returned as -0.000 for 64-bit scaled int) 2004-06-28 11:27:05 +00:00
Ilia Alshanetsky
53bf5ccbea Removed unneeded if(). 2004-06-27 21:49:47 +00:00
Stefan Esser
ff716cbd3e Fixed input_filter functions need emalloc()ed values. 2004-06-26 07:57:37 +00:00
Stefan Esser
a27d5d842a IE we love you all... 2004-06-26 07:43:02 +00:00
Moriyoshi Koizumi
b33f7ab671 - Fix bug #28466 (mbstring_convert_variables() problem). 2004-06-26 05:39:00 +00:00
Ilia Alshanetsky
e4e71fd8ba MFB: Fixed bug #1713 (possible crash inside tidy_get_error_buffer()). 2004-06-24 14:20:59 +00:00
Ilia Alshanetsky
81abbc66fc Added missing safe_mode & open_basedir checks. 2004-06-24 00:48:58 +00:00
George Schlossnagle
9e187415f9 fix for inheritability 2004-06-23 18:06:00 +00:00
Georg Richter
f063bdec06 added php_mysqli_construct_get to support __construct in extended classes 2004-06-23 16:47:25 +00:00
Ard Biesheuvel
dc701bfdab Changed name to all caps 2004-06-23 13:42:06 +00:00
Ard Biesheuvel
391cbac1f2 Return all results as strings until I can convince the other guys that
it should be otherwise
2004-06-23 13:26:09 +00:00
Ard Biesheuvel
18cd69ef74 Fixed some int-long issues 2004-06-23 13:20:54 +00:00
Andrei Zmievski
279770743f MFB (better error checking in pcre_fullinfo() calls). 2004-06-22 22:21:58 +00:00
Ilia Alshanetsky
869a90f015 Fixed possible buffer overflow. 2004-06-22 20:27:46 +00:00
Dmitry Stogov
4ea8f4b9f2 BUGFIX: Segfault if server's URL has no path. ("http://192.168.8.1:180") 2004-06-22 12:42:17 +00:00
Ilia Alshanetsky
a3bd8bcd7b Added missing safe_mode check. 2004-06-21 22:53:52 +00:00
Sara Golemon
a2c24ae90e BugFix#28868 (Part Two): This fixes thread unsafety in the userspace
filters which relates to the fix just applied for userspace wrappers.
2004-06-21 21:08:05 +00:00
Marcus Boerger
dc66fb1f10 Fixed bug #28822: ArrayObject::offsetExists() works inverted 2004-06-21 19:15:27 +00:00
Sara Golemon
7fcfa8865e BugFix#28868: Wrapper hash not thread-safe.
Userdefined wrappers were being registered into a global wrapper hash
which can cross threads.  Termination of once instance then has the
potential to leave an active stream in another instance with no wrapper
leading to segfault.
2004-06-21 18:58:55 +00:00
Dmitry Stogov
d9226a1dd0 Support for HTTP redirection. 2004-06-21 12:56:33 +00:00
Ilia Alshanetsky
a99e4b5969 Removed unneeded checks around Zend allocation macros. 2004-06-20 21:40:43 +00:00
Marcus Boerger
de8b457181 Fix 2nd issue of bug #28831 2004-06-20 16:46:27 +00:00
Marcus Boerger
43b4b086db Bugfix #28851: call_user_func_array has typo in error message 2004-06-20 09:37:35 +00:00
Sebastian Bergmann
f0903895c1 Reflection_* -> Reflection*. Patch by Timm Friebe. 2004-06-19 16:52:04 +00:00
Sara Golemon
851b6d4475 String lengths should never be char pointers. 2004-06-18 00:44:37 +00:00
Ilia Alshanetsky
0c72b185fd Fixed possible memory leak. 2004-06-18 00:44:35 +00:00
Ilia Alshanetsky
23d71171cf Properly handly high ascii values in soundex(). 2004-06-17 00:17:49 +00:00
Ard Biesheuvel
5232a5afea 64-bit bugsquash party 2004-06-16 23:57:25 +00:00
Stefan Esser
585628ba67 Fixed: made 3rd parameter to strrpos 64bit safe. 2004-06-15 22:38:18 +00:00
Marcus Boerger
4fec06587b #28789: ReflectionProperty getValue() fails on public static members 2004-06-15 20:39:49 +00:00
Ard Biesheuvel
350e5aa862 Refactored statement allocation
Added emulated support for named input parameters
2004-06-15 14:16:22 +00:00
Rob Richards
7c7c353b1e Fixed bug #28771 (Segfault when using xslt and clone)
Add test case for bug #28721
2004-06-15 11:50:56 +00:00
Ard Biesheuvel
f91395898c Un-revert param index fix 2004-06-15 10:22:21 +00:00
Ard Biesheuvel
e48d127244 Revert (at Wez's request) 2004-06-15 10:06:41 +00:00
Antony Dovgal
0a896dd987 add tests 2004-06-14 20:10:27 +00:00
Antony Dovgal
73060a89ee fix config.m4
add fold markers
2004-06-14 19:58:35 +00:00
Ard Biesheuvel
2cc63714a0 Added support for fetching and binding to blob fields 2004-06-14 10:56:49 +00:00
Ard Biesheuvel
2b21476207 Release isc statement handle when dtor is called
Don't separate() bound zvals
2004-06-13 23:24:31 +00:00
Ard Biesheuvel
1d7a4ed492 Report param binding error 2004-06-13 22:09:54 +00:00
Ilia Alshanetsky
d26ddca966 Standardize error reporting. 2004-06-13 17:04:36 +00:00
Ard Biesheuvel
cb4612c735 Added double param type 2004-06-13 10:35:01 +00:00
Rob Richards
e73d498947 Fix bug #28721 (appendChild() and insertBefore() unset DOMText) 2004-06-13 10:12:47 +00:00
Ard Biesheuvel
e1519d6f17 GCC fixes 2004-06-12 22:17:16 +00:00
Ard Biesheuvel
c84c5640e7 Revert 2004-06-12 20:52:07 +00:00
Ard Biesheuvel
6b3cda310a Added client/server info attributes 2004-06-12 18:56:07 +00:00
Ard Biesheuvel
8a3975191e Hope I finally got it right this time 2004-06-12 18:42:13 +00:00
Ard Biesheuvel
a312bb5ee3 Folding markers 2004-06-12 17:09:33 +00:00
Ard Biesheuvel
ad568aab6f Improved error handling
Added some comments
2004-06-12 16:58:20 +00:00
Ard Biesheuvel
c8c0ddb73d Removed dependency on regular interbase extension
Added support for all datatypes except BLOBs
2004-06-12 16:07:52 +00:00
Ard Biesheuvel
1fb48b5091 Removed dependency on regular interbase extension 2004-06-12 16:05:49 +00:00
Ard Biesheuvel
216c8ffdcd Use snaps. LIB path 2004-06-12 14:59:45 +00:00
Ard Biesheuvel
15fa07f0f6 Changed LIB path 2004-06-12 10:23:31 +00:00
Ard Biesheuvel
c29704e066 New test 2004-06-12 03:11:16 +00:00
Ard Biesheuvel
493b89c3b1 Nearly complete implementation
No date/time fields yet ...
2004-06-12 03:09:48 +00:00
Ard Biesheuvel
39a690321a Added export macros 2004-06-12 02:49:47 +00:00
Ard Biesheuvel
50ac5db2b4 Added double param type
Added param struct initialiser
Reversed param parsing order (long <=> string)
2004-06-12 02:35:34 +00:00
Ard Biesheuvel
1e3854597c Initial revision (incomplete) 2004-06-11 01:37:06 +00:00
Ilia Alshanetsky
b9fc9a6ad1 hypot() is not experimental. 2004-06-10 19:38:24 +00:00
Ilia Alshanetsky
af5501027f Fixed bug #28723 (Fixed mbstring config.m4 to work on OSes where test
command does not support -e parameter).
2004-06-10 14:06:17 +00:00
Marcus Boerger
eb0cb6f6ed Small code layout change 2004-06-10 12:11:16 +00:00
Marcus Boerger
e8e4ff0aa1 Bugfix #28699: Reflection api bugs 2004-06-10 11:28:29 +00:00
Dmitry Stogov
0282ad792a Fixed bug #28702 (SOAP does not parse WSDL service address correctly). 2004-06-10 09:07:09 +00:00
Frank M. Kromann
36702d5f41 Allow compilation on Win32.
Need to implement a few Windows specific functions.
2004-06-09 19:27:36 +00:00
Marcus Boerger
4213153365 Fix Bug #28694 ReflectionExtension::getFunctions() crashes PHP 2004-06-09 19:25:42 +00:00
Ilia Alshanetsky
f0ffe7c85b Fixed bug #28175 (Allow bundled GD to compile against freetype 2.1.2). 2004-06-09 14:50:05 +00:00
Ilia Alshanetsky
3e638c84c0 Fixed bug #28525 (gmp_powm() does not work with hexadecimal string modulo
represented as a string).
Patch by: pickett at sumu dot org
2004-06-09 14:39:33 +00:00
Ilia Alshanetsky
49fb6260b6 Fixed bug #1580 (Tidy configuration settings leak memory). 2004-06-08 14:55:14 +00:00
Ard Biesheuvel
4ea43fe019 ... back from the dead 2004-06-08 10:04:09 +00:00
Georg Richter
202d2990a9 fixed crash (changed MYSQL TO MY_MYSQL in mysql_stmt_init) 2004-06-08 06:20:58 +00:00
Ilia Alshanetsky
ceb70dbc68 Fixed bug #28668 (glob() does not work with relative paths on Windows). 2004-06-07 18:30:16 +00:00
Frank M. Kromann
f05924db37 Fix build on win32 2004-06-07 18:03:51 +00:00
Georg Richter
1b40042b35 forgot to remove Win32 restrictions for mysql methods 2004-06-07 08:34:52 +00:00
Sara Golemon
3838fb99de MFB: Missing length limit parameter. 2004-06-07 05:00:37 +00:00
Ilia Alshanetsky
9c1e668593 Fixed bug #28649 (Proper glob() return value on Linux when there are no
matches).
2004-06-06 16:21:11 +00:00
Georg Richter
f0468116c0 removed conditional defines for load_data_infile_handlers on windows
(4.1.2 windows build is fixed now on mysql.com)
2004-06-06 08:52:19 +00:00
Sebastian Bergmann
14deb9dd04 ZTS fixes. 2004-06-06 06:40:19 +00:00
Georg Richter
93bf6517df Major changes for 4.1.2-alpha/4.1.3-beta:
- added container for mysql structure
- added load data infile callback functions (currently disabled under win)
Bug fixes:
- fixed property changes (4.1.1 -> 4.1.2)
- fixed memleak in mysqli_connect
- fixed bug #28100
- fixed bug #28205
- fixed bug #28430
2004-06-05 18:31:56 +00:00
Ard Biesheuvel
9579de34d7 Added support for date/time types
Added support for compiling/executing PHP code stored in the database
Added support for TSRM
2004-06-05 10:03:42 +00:00
Ard Biesheuvel
2c97bc2632 Fixed unregistered bug [crash in http_build_query()] 2004-06-04 16:54:14 +00:00
Ilia Alshanetsky
f9cec029c8 Fixed bug #28632 (Prevent open_basedir bypass in MySQL's LOAD DATA LOCAL). 2004-06-04 15:26:54 +00:00
Ard Biesheuvel
a37ffd814d Added support for scaled integers 2004-06-04 14:26:33 +00:00
Ilia Alshanetsky
0e443166e0 Fixed bug #28627 (When multiple MySQL links are used default link is
leaked).
Patch by: gavin at ipalsoftware dot com
2004-06-04 13:49:31 +00:00
Ard Biesheuvel
f1a4a14ccb Added support for arbitrary input types
Added support for NULL input/output values
2004-06-04 13:33:56 +00:00
Sara Golemon
ceb73ca019 MFB BugFix# 28626 You can't #ifdef check a typedef. Just give it another name since it's only used once anyway. 2004-06-04 01:03:38 +00:00
Ard Biesheuvel
f4777d14e3 Let DB handle type coercion instead of PHP 2004-06-03 23:18:36 +00:00
Ard Biesheuvel
0223de2c39 Added support for other return types besides VARCHAR 2004-06-03 15:31:17 +00:00
Ard Biesheuvel
38030dac08 Fixed blob ID format 2004-06-03 12:00:23 +00:00
Ard Biesheuvel
bf4af0f4ca Ton of fixes 2004-06-02 21:43:31 +00:00
Ard Biesheuvel
86aecbbe31 Initial revision of PHP/Interbase UDF lib
# This will allow users running the embedded engine
# to call PHP functions from inside their SQL statements
2004-06-02 21:15:27 +00:00
Ard Biesheuvel
39edbe5192 Don't be too strict if the number of binding arguments provided exceeds the expected number 2004-06-01 23:31:43 +00:00
Ilia Alshanetsky
6b35037ca2 No need to NULL terminate manually, snprintf() does it for us already. 2004-06-01 21:04:33 +00:00
Ilia Alshanetsky
98a6986d97 Fixed bug #28597 (xmlrpc_encode_request() incorrectly encodes chars in
200-210 range).
Patch by: fernando dot nemec at folha dot com dot br
2004-06-01 20:16:06 +00:00
Ilia Alshanetsky
db9f1fafa5 Fixed leak inside MINFO function.
Fixed crash inside enchant_dict_suggest() when there are no suggestions.
Added missing safe_mode/open_basedir check inside
enchant_broker_request_pwl_dict().
Fixed various function prototypes.
2004-06-01 18:59:49 +00:00
Ard Biesheuvel
b027552ca3 Removed debugging code 2004-06-01 17:14:47 +00:00
Ard Biesheuvel
ff3a363d7a Use constant IBASE_CREATE instead of just 0 2004-06-01 08:38:33 +00:00
Ard Biesheuvel
302fd9a77f Woops, missed one 2004-06-01 00:50:05 +00:00
Ard Biesheuvel
5a8a9a59e2 Fixed bug #28569 (connection id is not thread safe) 2004-06-01 00:44:20 +00:00
Marcus Boerger
9b8eee74d9 Refcount must not be set separatley again. 2004-05-31 21:49:52 +00:00
Marcus Boerger
20b60f49d9 Add missing initialization 2004-05-31 21:46:00 +00:00
Marcus Boerger
21315c08b7 Add missing initialization 2004-05-31 21:43:43 +00:00
Pierre Joye
f6354c3a1a MFB: missing ';' 2004-05-31 21:04:21 +00:00
Ilia Alshanetsky
9e970ef9a8 Added missing argument check. 2004-05-31 21:01:29 +00:00
Ilia Alshanetsky
22dfb88bf1 Fix build. 2004-05-31 20:25:37 +00:00
Ard Biesheuvel
3be22062fa Fix typo in error message 2004-05-31 13:43:06 +00:00
Ard Biesheuvel
e9125d6338 Improved handling of 'CREATE DATABASE ...' by ibase_query()
Improved param handling of ibase_query() and ibase_execute()
2004-05-31 13:40:25 +00:00
Rob Richards
5b0f34ae80 Fix bug #28584: DOMText::splitText() does not split text properly (benjcarson)
Prototype fixes
2004-05-31 12:50:28 +00:00
Zeev Suraski
7d04465b74 Fix prototypes 2004-05-31 12:27:49 +00:00
Rob Richards
1d82c42493 fix leak when using relaxng
interim fix for isolating our streams handling
- once libxml supports overriding streams this should be changed
  for security reasons
2004-05-31 11:20:46 +00:00
Zeev Suraski
846c5a252e Fix typo 2004-05-31 08:58:32 +00:00
Brad House
cae0fd23f0 Update the mcve module for libmonetra 4.0
A compatability layer has been introduced which should mean all
scripts written for v 3.2 of the module should continue working,
as well as compilation should still work against libmcve 3.2.x.
This module eventually needs to be renamed to 'monetra' to reflect
the naming change of the underlying library.
2004-05-30 22:41:24 +00:00
Ard Biesheuvel
fda04a0ed3 Restrict 'CREATE DATABASE' in sql safe mode 2004-05-30 20:40:36 +00:00
Ard Biesheuvel
17da85ba9b Fix Win32 build
Added missing 'break'
2004-05-30 20:24:46 +00:00
Ilia Alshanetsky
4a7962b31f Fixed memory leak on ifx_error(). 2004-05-30 18:58:47 +00:00
Ilia Alshanetsky
33d72ede4e Fixed bug #28564 (Problem building informix as a shared extension).
Patch by: roques at mti dot ag
2004-05-30 17:56:52 +00:00
Ard Biesheuvel
18fa78842d Fix unregistered bug (segfault on uninitialised pointer)
Return string("0 ") from ibase_query() if query succeeded but did not affect any rows
2004-05-30 17:51:19 +00:00
Zeev Suraski
e54165e406 No meaning for unsigned 2004-05-30 17:34:11 +00:00
Zeev Suraski
e11b518c95 Fix prototype 2004-05-30 17:32:32 +00:00
Ard Biesheuvel
f7ce70672c Use default character set in generated test DB 2004-05-30 16:59:43 +00:00
Ard Biesheuvel
bd2ddd9fae Fix HTML/table layout in info() entry 2004-05-30 16:41:28 +00:00
Ard Biesheuvel
56ca01da1f Removed ibase_timefmt() - use ini_set() instead
Improved phpinfo() appearance
2004-05-30 16:20:25 +00:00
Zeev Suraski
8b861ec798 Update to PHP-style prototypes
(a PHP function returning char *?  What were you smoking? :)
2004-05-30 15:12:08 +00:00
Brad House
43db887482 manually check for egrep 2004-05-30 14:33:45 +00:00
Wez Furlong
bd818c0118 Turn this off then 2004-05-29 09:27:18 +00:00
Wez Furlong
7171429f21 Don't rely on TIOCNOTTY. 2004-05-29 00:30:11 +00:00
Ard Biesheuvel
5f53ee1537 Changed default date format to ISO
Enable sync flag in connect()
2004-05-28 23:39:33 +00:00
John Coggeshall
6b02a01c20 'tidy' should not be final, but 'tidyNode' should be. 2004-05-28 20:32:52 +00:00
Ard Biesheuvel
850c6a27f6 Fix commit/rollback of multi-link transactions
Some CS
2004-05-28 20:11:34 +00:00
Ilia Alshanetsky
6544f8d47e Fixed memory leak on error. 2004-05-28 14:17:46 +00:00
Stefan Esser
23813d603c Fixed off-by-one in http_fopen_wrapper 2004-05-28 13:38:06 +00:00
Wez Furlong
54bbe548fe Hopefully resolve proc_open build issues.
If we need anything more elaborate than this, then we can move to a configure
time check as Sascha suggests.
2004-05-28 13:25:51 +00:00
Christian Stocker
c59471cd1f fix memleak in php callbacks 2004-05-28 13:04:19 +00:00
Stefan Esser
2e3b9ec278 Fixed off-by-one in php_parse_url. 2004-05-28 11:33:23 +00:00
Derick Rethans
f964cc09d2 - Fixed ip2long() behavior if an invalid IP address was passed to the
function. This makes it possible to distingiush between "255.255.255.255"
  and a wrong one.
2004-05-28 10:45:18 +00:00
Ilia Alshanetsky
df71910d0e Better skip condition check for session tests. 2004-05-27 20:53:26 +00:00
Rob Richards
edae935c26 namespace/tagname validation fixes (Adam Trachtenberg)
added new test
2004-05-27 11:15:45 +00:00
Dmitry Stogov
99a0504a6b Memory leaks were fixed 2004-05-27 08:19:29 +00:00
Dmitry Stogov
2b3e184245 BUGFIX: Prevent crash on error in send_http_soap_request() 2004-05-27 07:58:22 +00:00
Ilia Alshanetsky
b59d5af951 Prepare for 0.2 release. 2004-05-26 20:25:58 +00:00
Ilia Alshanetsky
de58df089f Prevent test failure when fi_FI locale is not available. 2004-05-26 18:18:14 +00:00
Pierre Joye
07e4ab6946 - Remove this test, it still segfaults anyway (less noise in tests :) )
Already removed in PHP_4_3 branch
2004-05-26 18:12:43 +00:00
Andi Gutmans
b5daf7078e - Use FREE_HASHTABLE instead of efree() 2004-05-26 18:00:27 +00:00
Edin Kadribasic
9cc4fb18b6 PQfreemem() is only available in 7.4 2004-05-26 17:45:03 +00:00
Wez Furlong
429bce6519 Apparently it is better to specify 500 here for unix98 bits and pieces. 2004-05-26 14:55:32 +00:00
Wez Furlong
6ef90672d8 Fix build... 2004-05-26 10:11:20 +00:00
Derick Rethans
17df3ec21b - Fixed bug #28523 (Typo in ext/sockets/sockets.c) 2004-05-26 06:53:04 +00:00
Wez Furlong
2e73bbfdc1 Allow use of scrollable cursor for ODBC 2004-05-25 18:57:50 +00:00
Wez Furlong
70bd032076 Use the correct label for the error message 2004-05-25 18:34:46 +00:00
Wez Furlong
d13d9c6047 Allow setting the cursor name for ODBC statements, so that:
UPDATE foo set .... WHERE CURRENT OF <NAME>

statements will work.
2004-05-25 18:33:51 +00:00
Wez Furlong
d2a8d5a80f get/set attributes for statements 2004-05-25 18:32:48 +00:00
Wez Furlong
4d232fb17c Add flag to control the use of the ODBC cursor emulation library.
The default (which should be safe) is to use the cursor library if it is needed.
If for some reason either the driver or the emulation is broken, you may
override this from your script.
2004-05-25 17:44:36 +00:00
Wez Furlong
7a87af3321 Some definitions for cursors.
Define a mechanism for driver-specific attributes.
Use a refcount for the stmt structure.
2004-05-25 17:43:24 +00:00
Edin Kadribasic
c7a2cf7385 Whitespace: editor in the wrong mode ;) 2004-05-25 17:38:58 +00:00
Edin Kadribasic
16a53a00ea Add transaction support 2004-05-25 17:36:22 +00:00
Brad House
7f44f8ee94 PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD
requires AC_PROG_EGREP when you phpize
2004-05-25 17:08:42 +00:00
Ilia Alshanetsky
cf75eb8a6f Cleanup. 2004-05-25 16:49:32 +00:00
Ilia Alshanetsky
402de24fc4 One more leak down. 2004-05-25 16:40:54 +00:00
Ilia Alshanetsky
b7ecaca17f More leak fixes. 2004-05-25 16:38:28 +00:00
Edin Kadribasic
ff1cbb8460 Use binary safe function for quoting 2004-05-25 16:24:29 +00:00
Antony Dovgal
737bc357cb fix couple of memory leaks 2004-05-25 14:57:56 +00:00
Ilia Alshanetsky
0c762dff03 More possible leak fixes (Thanks Tony). 2004-05-25 14:47:22 +00:00
Ilia Alshanetsky
2685fad6b7 Fixed memory leak. 2004-05-25 14:39:26 +00:00
Ilia Alshanetsky
9280b88a8c One more memory leak. 2004-05-25 14:35:49 +00:00
Ilia Alshanetsky
d782abf416 More leak fixes. 2004-05-25 14:30:07 +00:00
Ilia Alshanetsky
ce3891347f Fixed memory leak. 2004-05-25 14:12:15 +00:00
Ilia Alshanetsky
6304e5d7cb Kill unused var. 2004-05-25 13:51:00 +00:00
Wez Furlong
1360e3478c Merge that nicer error message here too 2004-05-25 13:25:22 +00:00
Wez Furlong
7916ef2ee1 Allow sqlite to build as a shared ext under win32 2004-05-25 13:01:05 +00:00
Wez Furlong
a4f03b8086 Tidy this up a little bit for win32. 2004-05-25 12:44:35 +00:00
Wez Furlong
e6551f081d Throw exception during ctor 2004-05-25 12:03:41 +00:00
Pierre Joye
5b71225f1b - Fix #28506, negative angle returns "random arcs"
while (angle < 0) angle += 2*M_PI is used now
2004-05-24 19:52:28 +00:00
Ilia Alshanetsky
396bf39311 Fixed bug #28508 (Do not make hypot() available if not supported by libc). 2004-05-24 17:02:12 +00:00
Wez Furlong
81b3231b5d Moved pdflib extension to PECL 2004-05-24 16:41:41 +00:00
Ilia Alshanetsky
e4c5e85697 Fixed leaks on fatal errors in tidy. 2004-05-23 17:22:21 +00:00
Wez Furlong
ad99c124c4 Finally a fix for #23220: IIS does not cleanly close SSL connections.
Also enable the safe and recommended bug work around options in the SSL
context.
2004-05-23 10:36:08 +00:00
Wez Furlong
055848d83a prep for release 2004-05-22 20:58:36 +00:00
Ard Biesheuvel
8b1fca9e3a Use dummy status vector in ibase_connect()
Added fbird_ aliases for all ibase_ functions
# See comment in code for more info
# Please let me know if there are any namespace issues involved
2004-05-22 18:50:58 +00:00
Wez Furlong
d39117c234 Fix buglet in dbh closing. 2004-05-22 15:04:26 +00:00
Wez Furlong
35494bb569 Enable ODBC Connection Pooling.
Theoretically better than PHP persistent connections, since ODBC itself takes
care of resetting the connections back to a "ground" state.

Connection pooling defaults to ON, since this is generally useful.
You can turn it off by using:

pdo_odbc.connection_pooling=off

in your php.ini file.

You may configure how ODBC matches connection details to existing connections
by setting this value to "strict" (the default) or "relaxed".  You are
encouraged to read the ODBC specs before changing this value.
2004-05-22 14:51:26 +00:00
Wez Furlong
ce5e317cc5 ok MSVC, why didn't you spot *that* one?? 2004-05-22 00:38:11 +00:00
Wez Furlong
8d9c384f7f Fix doer()
Implement error handling for ODBC
2004-05-22 00:30:00 +00:00
Ilia Alshanetsky
b4ef3d186a Add self to credits. 2004-05-21 22:45:27 +00:00
George Schlossnagle
84cfbe5efe pierre's thingy 2004-05-21 22:36:52 +00:00
George Schlossnagle
e872491f80 /me learns to read 2004-05-21 22:30:58 +00:00
George Schlossnagle
88942c9834 both places 2004-05-21 22:27:30 +00:00
George Schlossnagle
553698f35d drop the dev 2004-05-21 22:27:02 +00:00
Wez Furlong
758b7f1ad4 Bump the version number 2004-05-21 22:26:45 +00:00
George Schlossnagle
4d01a5c2d1 ok, apprently we _don't_ want to count the nulls. 2004-05-21 22:24:20 +00:00
George Schlossnagle
1ee89e1bea remove debugging 2004-05-21 22:20:25 +00:00
George Schlossnagle
518cf77f32 fix fubar'd emulated bindings 2004-05-21 22:19:33 +00:00
Wez Furlong
dc57cff2a6 Prep for release 2004-05-21 21:20:00 +00:00
Timm Friebe
3a168b52e7 - Fixed expected return value from test #2
Invalid resources yield bool(false) in PHP5, NULL in PHP4
2004-05-21 21:01:21 +00:00
Timm Friebe
342d7b6968 - Removed currently leaking auto-cancel test
- Fixed expected return value from sybase_num_rows() when an
  invalid resource is passed (returns false instead of NULL)
2004-05-21 20:54:39 +00:00
Timm Friebe
df5396677d - Fixed expected return value from var_dump()
- Cleaned up SQL statement
# This bug has been fixed, but this test should be kept anyways,
# just to make sure it does not reappear
2004-05-21 20:53:01 +00:00
Timm Friebe
8eac91345b - Fixed bug #28354 2004-05-21 20:29:38 +00:00
Timm Friebe
b20be6a27b - Initial release 2004-05-21 19:45:55 +00:00
Edin Kadribasic
640bed4cf5 Prepare release 2004-05-21 19:09:43 +00:00
Wez Furlong
40ab777dc8 Update package/module 2004-05-21 17:33:58 +00:00
Wez Furlong
25049d6cf8 Add some blurb 2004-05-21 17:31:49 +00:00
Wez Furlong
9462eb6db5 Ok, so we do need to rinit here after all. 2004-05-21 17:17:55 +00:00
Wez Furlong
fbccd1438c Update to reflect recent changes in dl() 2004-05-21 17:08:36 +00:00
Wez Furlong
597124e128 Update package/module 2004-05-21 16:53:32 +00:00
Wez Furlong
500922f9a2 Update package file 2004-05-21 16:38:41 +00:00
Ilia Alshanetsky
3a5e5ca4d4 Implement ODBC doer. 2004-05-21 16:17:22 +00:00
Wez Furlong
798d437b05 Fix return type here too 2004-05-21 15:33:18 +00:00
Wez Furlong
a53edd047e Fix return type 2004-05-21 15:29:09 +00:00
Wez Furlong
5e408e4ee9 Fix setAttribute for oci.
Fix some compiler warnings
2004-05-21 15:25:22 +00:00
Dmitry Stogov
b9bb0d77a0 Fixed bug #28239 (No results returned on SOAP call, no error given) 2004-05-21 14:50:19 +00:00
Wez Furlong
d8d7dd7e14 Allow lazy fetch to work with numeric offsets.
Fix named parameters...
2004-05-21 14:31:51 +00:00
Ilia Alshanetsky
37d8a82b4d Fixed compiler warning. 2004-05-21 14:27:48 +00:00
Ard Biesheuvel
c6773a06cd Removed strcpy() call from most common case
Added test for hash index generation
2004-05-21 14:24:34 +00:00
Wez Furlong
64f0ec7bde Update for placeholder flags 2004-05-21 14:15:03 +00:00
Wez Furlong
8f5b212612 store the name length in the same manner as it is stored in zvals 2004-05-21 14:14:32 +00:00
Wez Furlong
ed83c5bee5 Tidy up placeholder flags 2004-05-21 14:09:51 +00:00
Ard Biesheuvel
27c3c301bd Added test for duplicate field names when returning rows as hashes or objects
# This change should be in 5.0.0, as it might break BC
2004-05-21 13:46:04 +00:00
Wez Furlong
bf48daa8d5 Version 1 of PDO_FETCH_LAZY 2004-05-21 13:26:58 +00:00
Ard Biesheuvel
126531a44b Make sure METADATALENGTH is defined (used by IB 7) 2004-05-21 13:14:56 +00:00
Ilia Alshanetsky
9cccfa57b6 Fixed stream leak on error. 2004-05-20 23:37:59 +00:00
Wez Furlong
221710e820 Specify that OCI returns column names in upper case by default 2004-05-20 22:29:26 +00:00
Wez Furlong
f0a001a953 Implement case folding of column names as a portability option. 2004-05-20 22:28:53 +00:00
Ilia Alshanetsky
41784bfcff Kill unused var. 2004-05-20 22:24:30 +00:00
Wez Furlong
e0ac3f66ae Implement PDO_FETCH_OBJ
# todo (after initial release) - specify a particular class, reuse existing
# objects etc.
2004-05-20 22:06:42 +00:00
Wez Furlong
4cdf143184 Fix build on win32 2004-05-20 21:50:25 +00:00
Andrey Hristov
19d0283ce8 for now removing ":public". Waiting for a decision? ":public" will require
quite a lot of phpt files changes.
2004-05-20 21:15:42 +00:00
Andrey Hristov
44de5a0e8e fixing the tests so to work with the new var_dump() (dumping private and
protected member variables)
2004-05-20 21:13:14 +00:00
Ilia Alshanetsky
43a04beb46 Make username & password parameters optional. 2004-05-20 20:25:22 +00:00
Ilia Alshanetsky
afb3979882 Fixed parameter order. 2004-05-20 20:22:07 +00:00
Ilia Alshanetsky
ebd608ba18 Added getAttribute() handler.
Fixed leak inside exec().
2004-05-20 20:04:11 +00:00
Edin Kadribasic
7f6343e60d Use native PostgreSQL connect string e.g.
$db = new PDO("pgsql:dbname=template1 user=postgres password=secret");
2004-05-20 19:58:51 +00:00
George Schlossnagle
e155ad208a sigh... need to include the null byte in hash keys 2004-05-20 19:19:04 +00:00
Ilia Alshanetsky
15fb957c61 Added MySQL getAttribute() support. 2004-05-20 19:17:32 +00:00
Wez Furlong
5023a7c61c Enable setting the different error modes via PDO::setAttribute() 2004-05-20 19:16:49 +00:00
Ilia Alshanetsky
726e188cce Fixed typo. 2004-05-20 19:14:44 +00:00
Ilia Alshanetsky
42a2b22a4a Added missing user-land constants. 2004-05-20 19:12:24 +00:00
Edin Kadribasic
9cfeb25667 We quote with ' in real databases 2004-05-20 19:09:36 +00:00
Ilia Alshanetsky
e596466a1f Added getAttribute() method. 2004-05-20 19:09:35 +00:00
George Schlossnagle
b7b7bedabd remove debug 2004-05-20 18:50:21 +00:00
George Schlossnagle
c22cb0477c off by one error 2004-05-20 18:44:12 +00:00
George Schlossnagle
3366916203 set active_query_string to null in case of failure 2004-05-20 18:29:59 +00:00
Ilia Alshanetsky
1c2b47c408 Make sure that the error string is freed. 2004-05-20 18:19:03 +00:00
Ilia Alshanetsky
b7784d96b0 Fixed possible crash. 2004-05-20 18:10:16 +00:00
Ilia Alshanetsky
cf33729c20 Better error message. 2004-05-20 18:05:44 +00:00
Ilia Alshanetsky
f8d045619a Last insert id (oids) support. 2004-05-20 18:00:24 +00:00
George Schlossnagle
d16625b803 Support ? as a bind in emulated prepares
Throw informative error when pdo_parse_param fails
2004-05-20 17:56:09 +00:00
Andrey Hristov
aafb2b1581 var_dump() now shows private and protected member variables.
Not BC is that since now the public variables are explicitly shown as public
Example :

class a{ protected $a=1; private $b=2;var $c=3;} $a=new a(); var_dump($a);

object(a)#1 (3) {
  ["a:protected"]=>
  int(1)
  ["b:private"]=>
  int(2)
  ["c:public"]=>
  int(3)
}
2004-05-20 17:46:20 +00:00
Ilia Alshanetsky
38eb52b8a7 Make doer() work.
Make error reporting system work.
2004-05-20 17:43:56 +00:00
George Schlossnagle
e3e2370490 keys need to be null-terminated (how did this not get committed before???)
bind-by-name includes the leading : in the name
2004-05-20 17:34:52 +00:00
Wez Furlong
04ccc0134d Add methods for error handling 2004-05-20 17:22:13 +00:00
George Schlossnagle
76b7b5d1e2 iactually support :\w+ as binds 2004-05-20 17:04:57 +00:00
Derick Rethans
ee9cc68848 - Removed unused INI sections. 2004-05-20 17:03:24 +00:00
Dmitry Stogov
38ef28e41b Allowing user defined SOAP transports with SoapClient::__doRequest() 2004-05-20 16:55:03 +00:00
Wez Furlong
af2aa721df zts fix ;) 2004-05-20 16:17:37 +00:00
Ilia Alshanetsky
40b04cd54b Correctly report errors for statment problems. 2004-05-20 16:13:13 +00:00
Ilia Alshanetsky
0d6aa20880 Error handling support.
Fixed possible crash when trying to fetch data from a failed query.
2004-05-20 15:51:25 +00:00
Ilia Alshanetsky
fbbb41a53b Fixed typo. 2004-05-20 15:45:16 +00:00
Ilia Alshanetsky
e770b2b411 Fixed compiler warnings. 2004-05-20 13:57:09 +00:00
Wez Furlong
d55e20660b Don't dup here either 2004-05-20 10:30:29 +00:00
Wez Furlong
0699938bc4 Don't dup here, PDO will do it as needed 2004-05-20 10:28:26 +00:00
Wez Furlong
d9decf0dfc Fix prototype.
Use user-supplied path before the default when looking for headers
2004-05-20 10:24:17 +00:00
Edin Kadribasic
fa1b0a51d3 Make it compile on windows 2004-05-20 03:02:58 +00:00
Edin Kadribasic
9d6c259988 PostgreSQL PDO driver. 2004-05-20 02:27:49 +00:00
Ilia Alshanetsky
28aca30c13 Free vars before calling E_ERROR. 2004-05-20 00:11:23 +00:00
Wez Furlong
04c35e3d91 re-jig error handling, and make it co-operate with the PDO error handling system.
Implement $dbh->exec() for OCI.
2004-05-20 00:06:30 +00:00
Wez Furlong
e7c72f8455 First cut at a "unified" error handling API. The main thing that is missing
currently is a switch in the dbh to indicate what to do with the errors.
2004-05-20 00:05:22 +00:00
Wez Furlong
08ce920c9e Fix win32 build 2004-05-19 21:36:22 +00:00
Marcus Boerger
0a242a52b3 - Allow to build with ext/mysqli 2004-05-19 20:57:02 +00:00
Marcus Boerger
fd90645613 - Allow to compile as builtin module 2004-05-19 20:56:06 +00:00
Ilia Alshanetsky
862247693f Row count cannot be calculated in MySQL without buffering the query. 2004-05-19 20:44:28 +00:00
Ilia Alshanetsky
c98a99c263 Added fetchAll and fetchSingle methods for data retrieval. 2004-05-19 20:38:53 +00:00
Ilia Alshanetsky
676dfcf581 Timeout stuff. 2004-05-19 20:38:25 +00:00
Ilia Alshanetsky
f4b5abc948 Added support for setting timeout value. 2004-05-19 20:34:57 +00:00
Ilia Alshanetsky
56abe4de4a Prevent possible crash when working with column containing NULL. 2004-05-19 20:34:01 +00:00
George Schlossnagle
38a409c02f exec() now returns affected row count 2004-05-19 19:31:33 +00:00
George Schlossnagle
129997216b exec() now returns row count 2004-05-19 19:27:53 +00:00
George Schlossnagle
ee1241ab1a builds on stock rh9 now 2004-05-19 18:51:01 +00:00
Frank M. Kromann
7c5c0fbbea Set correct Win32 line endings and fix ZTS compilation 2004-05-19 18:04:47 +00:00
Ilia Alshanetsky
074ba3fbc0 Added lastInsertId() method for retrieving last insert id.
Made affectedRows() work for MySQL.
Populate error value in MySQL on error.
2004-05-19 17:35:39 +00:00
Ilia Alshanetsky
5a4c3234b9 Skip spaces between connection params. 2004-05-19 17:09:48 +00:00
Ard Biesheuvel
fd7a92f046 Fixed unregistered bug (memory leak in printf() & friends) 2004-05-19 16:46:29 +00:00
Ilia Alshanetsky
a5a908c4bf Better include path detection. 2004-05-19 16:26:06 +00:00
Wez Furlong
1a91f75193 Add simple error code values and a place to store them 2004-05-19 16:21:43 +00:00
Wez Furlong
641f2c0c40 Let it install correctly when built via phpize 2004-05-19 15:27:27 +00:00
Ilia Alshanetsky
c328a15469 More errno stuff. 2004-05-19 15:17:52 +00:00
Ilia Alshanetsky
3dddc0bade Fixed possible crash on connection error. 2004-05-19 15:14:55 +00:00
Ilia Alshanetsky
b5f8bd8e9e Simplify config via the use of mysql_config.
Fixed errno naming conflict.
2004-05-19 15:12:05 +00:00
Ilia Alshanetsky
c11d6ca38b Copy the headers 2004-05-19 14:27:32 +00:00
Edin Kadribasic
bbcf09a833 Typo 2004-05-19 14:23:59 +00:00
Edin Kadribasic
e8abbca3a6 Fix configure 2004-05-19 14:02:36 +00:00
Wez Furlong
fd6b885a19 Revise $dbh->exec().
The driver doer() method should populate dbh->affected_rows if it can determine its value.
2004-05-19 13:55:41 +00:00
Wez Furlong
6cd27ff8be Add $dbh->exec() method.
Rename $dbh->beginWork() to $dbh->beginTransaction().
2004-05-19 13:43:07 +00:00
Ilia Alshanetsky
a0b3e87003 Abort if driver cannot be registered. 2004-05-19 13:34:40 +00:00
Edin Kadribasic
7a214b66ae Cosmetics 2004-05-19 13:28:05 +00:00
Ilia Alshanetsky
741e31bdf3 Removed unused vars. 2004-05-19 13:27:54 +00:00
Wez Furlong
777484b561 update prototype 2004-05-19 12:40:50 +00:00
Wez Furlong
f7de5001e2 Update prototype 2004-05-19 12:40:31 +00:00
Wez Furlong
8759648192 Update prepare() prototype.
Attempt to hunt down the cause of a build warning under win32 by adjust the
name of the error function.
2004-05-19 12:40:11 +00:00
Wez Furlong
4116d9fb0e Expand the prepare() prototype to accept additional options. 2004-05-19 12:37:31 +00:00
Sebastian Bergmann
681ded13bc ZTS fix. 2004-05-19 09:23:15 +00:00
Marcus Boerger
29cfd6d24f - Remove unused blocks 2004-05-19 08:56:50 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Ilia Alshanetsky
65e1741d2d Fixed possible memory leak. 2004-05-18 23:26:53 +00:00
Ilia Alshanetsky
46eb5401e7 Better header detection. 2004-05-18 23:07:22 +00:00
Ilia Alshanetsky
aecad9e37b Fixed build. 2004-05-18 22:45:53 +00:00
Ilia Alshanetsky
cb1239a338 Allow static builds. 2004-05-18 22:31:13 +00:00
George Schlossnagle
f02fb4ada4 should be a strcmp, not a strncmp, thanks, wez 2004-05-18 20:57:19 +00:00
Marcus Boerger
6882000c53 - Make start and length parameter to Limititerator::__construct optional 2004-05-18 20:39:35 +00:00
George Schlossnagle
8233053d24 was leaking query_string's 2004-05-18 20:33:30 +00:00
George Schlossnagle
5f4cfcb009 support the read-only property 'queryString' 2004-05-18 20:26:24 +00:00
George Schlossnagle
2e4c3ea35f forgotten off the last commit 2004-05-18 19:30:43 +00:00
Wez Furlong
c4ca0f3378 Give user a nice message when PDO isn't initialized prior to a driver. 2004-05-18 19:30:22 +00:00
Wez Furlong
b54a4dfeeb Minor tweaks 2004-05-18 19:25:45 +00:00
Wez Furlong
bdd4b84c29 typo.. 2004-05-18 19:25:23 +00:00
Wez Furlong
df69bf6c06 mySQL, not Oracle ;) 2004-05-18 19:06:47 +00:00
Wez Furlong
9ec5c3526e Add to win32 build 2004-05-18 19:03:27 +00:00
Ilia Alshanetsky
caed65f547 Fixed search path for MySQL. 2004-05-18 18:42:36 +00:00
George Schlossnagle
71728cc2b2 initial import of mysql 3.x pdo driver 2004-05-18 18:01:52 +00:00
Stanislav Malyshev
da26db3054 Z_TYPE_P is for zvals 2004-05-18 16:13:57 +00:00
Wez Furlong
17d009c3b4 Update generated parser 2004-05-18 15:58:17 +00:00
Wez Furlong
e37b622d3f Add parser to win32 build 2004-05-18 15:58:00 +00:00
Wez Furlong
2a9fa24458 Tweaks for win32 2004-05-18 15:57:46 +00:00
George Schlossnagle
85e3a1bc3b for those without re2c 2004-05-18 15:38:25 +00:00
Wez Furlong
f76725902b Fix dl() and extension= 2004-05-18 15:26:32 +00:00
George Schlossnagle
70f06be16a license/copyright block 2004-05-18 15:22:58 +00:00
George Schlossnagle
a97e1a6646 handle binding/quoting of queries for drivers with emulated prepares 2004-05-18 15:19:31 +00:00
Ilia Alshanetsky
3e0cbfb077 Fixed command line escaping routines for win32. 2004-05-18 13:43:24 +00:00
Edin Kadribasic
b1efed9dde Move declarations to the begining of function.
This allows it to actually compile on windows.
2004-05-18 12:32:05 +00:00
Edin Kadribasic
e489d93abc TSRM fix 2004-05-18 10:53:53 +00:00
Edin Kadribasic
3b64493a3d No length parameter -> estrdup() 2004-05-18 10:49:06 +00:00
Wez Furlong
3455498219 Probe for some functions; allows pdo_oci to build on the snap machine again. 2004-05-18 10:00:01 +00:00
Wez Furlong
c9f736ab6e Skeleton for emulated prepare() 2004-05-18 08:59:27 +00:00
Wez Furlong
5a9864ed2b Update to match new prototype 2004-05-18 08:47:10 +00:00
Wez Furlong
940c896e15 Quoting here leads to problems with databases that really support bound parameters.
We should do this conditionally based on the emulate_prepare flag.
2004-05-18 08:45:28 +00:00
George Schlossnagle
2e36e9d06d only rewrite tmp if quoter returns true 2004-05-18 05:34:52 +00:00
George Schlossnagle
636cc3e1dc auto-quote values before binding them in at execute time 2004-05-18 05:31:01 +00:00
George Schlossnagle
7d40971563 use new prototype 2004-05-18 05:01:16 +00:00
George Schlossnagle
2e281baab9 we need the source string length for binary safe string handling 2004-05-18 05:00:52 +00:00
Wez Furlong
12acb64696 package.xml 2004-05-18 00:45:58 +00:00
Wez Furlong
2653f34210 Skeleton package file 2004-05-18 00:40:01 +00:00
Wez Furlong
d4c5556b8b Let is build under unix.
Tested against IBM DB2 and unixODBC.
Could work with others.
2004-05-17 22:20:11 +00:00
George Schlossnagle
fd73439882 include guard 2004-05-17 21:12:30 +00:00
Ilia Alshanetsky
0a38683b14 Correct output. 2004-05-17 20:58:57 +00:00
Sara Golemon
cceecdbcdb BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite context option. 2004-05-17 20:31:59 +00:00
Wez Furlong
cf4127b6b9 Allow PDO OCI to build under unix.
Don't build by default under win32.
2004-05-17 18:17:39 +00:00
Wez Furlong
dd84731577 Allow PDO to build as a self-contained extension.
Install headers so that other self-contained extensions may them.
2004-05-17 18:13:03 +00:00
Wez Furlong
79c513db96 Some pedantic fixes for gcc. 2004-05-17 17:00:35 +00:00
Wez Furlong
d6c4dee168 ODBC (v3 ish) driver for PDO.
Will not build under unix yet.
2004-05-17 15:43:01 +00:00
Wez Furlong
1b1ced539b OCI driver for PDO, supporting bound input and output parameters.
Will not build under unix yet.
2004-05-17 15:42:33 +00:00
Wez Furlong
684be9cf36 Hello PDO.
Still more to come.  Give it a couple of days before starting to write drivers
for the other databases; a few things might change, so I'd like to coordinate
that, but in a couple of days.
2004-05-17 15:41:51 +00:00
Timm Friebe
77c75e786b - Fixed test for LONG_MIN / LONG_MAX for 64-bit platforms 2004-05-16 20:33:44 +00:00
Timm Friebe
425ae98916 - Fixed auto-conversion from long to double when LONG_MAX /
LONG_MIN where overflown
2004-05-16 20:30:35 +00:00
Timm Friebe
7bbe13ac4d - Initial release 2004-05-16 20:28:31 +00:00
Ilia Alshanetsky
bb88a86240 Do not allocate error buffer at the start of every request. 2004-05-16 15:34:53 +00:00
Marcus Boerger
ed5ce047db - Add new test 2004-05-16 14:48:45 +00:00
Ilia Alshanetsky
fbd3e0da40 Added missing safe_mode & open_basedir checks. 2004-05-16 14:38:19 +00:00
Marcus Boerger
251b627684 - Fix printf with floats 2004-05-16 14:01:45 +00:00
Wez Furlong
6d7346f4b9 ; 2004-05-16 12:10:35 +00:00
Wez Furlong
57cf4805a9 Add config.w32 template to ext_skel 2004-05-16 11:49:35 +00:00
Rob Richards
9e3956b313 constructors throw DOMException
add DOM_PHP_ERR DomException code
validate tagnames in constructors
use C style comments
update TODO
2004-05-16 10:30:16 +00:00
Brad House
92c72cb8d8 update config.m4 for libmonetra 4.0 compatability.
Library no longer has MCVE_ symbols, the header file has #define\'s to
convert MCVE_ -> M_ to reflect the Monetra name change from MCVE.
More updates to follow.
2004-05-16 02:59:34 +00:00
Ilia Alshanetsky
5b4dc50c01 Fixed possible memory leak inside popen(). 2004-05-14 16:12:03 +00:00
Ilia Alshanetsky
d24465ba8a Fixed bug #28386 (wordwrap() wraps lines 1 character too soon). 2004-05-13 17:44:23 +00:00
Stanislav Malyshev
0821f8f7d9 add sqlite_exec() 2004-05-13 14:19:10 +00:00
Ilia Alshanetsky
f7f966f96f Skip session tests if session.save_path is not writable. 2004-05-13 12:53:47 +00:00
Ilia Alshanetsky
d6ba95c618 Fixed various possible memory leaks. 2004-05-12 20:17:19 +00:00
Ilia Alshanetsky
ca5c6a1e91 Fixed bug #28374 (Possible unterminated loop inside
_php_pgsql_trim_message()).
2004-05-12 16:49:47 +00:00
Ard Biesheuvel
8428d0088c Fixed a couple of inconsistencies in param binding
# Previously, empty strings were either rejected (for scaled integers)
# or silently converted to 0 (unscaled integers & floats). Also, in some
# cases, null zvals were converted to empty strings, which were
# consequently rejected as unconvertible values.
# In the new situation, empty strings will be handled as NULLs for
# fields that cannot distinguish between the two (numeric/date/time).
# Additionally, all range and value checking is now carried out by the
# database, so there is a consistent interface for error handling.
2004-05-12 15:16:51 +00:00
Ard Biesheuvel
afc9cb151b Dropped support for ancient Interbase versions (< 6)
# This has no consequences for Firebird, as its initial release was based on IB 6
2004-05-12 14:29:42 +00:00
Ard Biesheuvel
b4939dfa9a Made ibase_timefmt() check its args more thoroughly and nuked a pointless malloc() 2004-05-12 13:14:55 +00:00
Ard Biesheuvel
ecfd014357 Made ibase_gen_id() bail out on incorrect args 2004-05-12 13:07:35 +00:00
Marcus Boerger
40a9fd5f76 - Touch 2004-05-12 10:19:06 +00:00
Marcus Boerger
05a9f544a7 - Move hash table destruction to proper location 2004-05-12 10:17:12 +00:00
Marcus Boerger
2d6770f0e6 - Added missing UNREGISTER_INI_ENTRIES 2004-05-12 10:15:48 +00:00
Ilia Alshanetsky
bd92164eff Make vprintf() and printf() return the length of the string printed.
Make fprintf() and vfprints() return the correct length of the string
printed.
2004-05-11 19:51:46 +00:00
Ilia Alshanetsky
69b712410b Reset opt_name to NULL to ensure it's not re-used if numeric keys can be
found inside the options array.
2004-05-11 15:59:07 +00:00
Ilia Alshanetsky
1842676706 Fixed bug #28355 (glob() does not return error on Linux when it does not
have permission to open the directory).
2004-05-11 13:34:19 +00:00
Ilia Alshanetsky
97d91c7656 Fixed crash inside cpdf_place_inline_image() when working with truecolor
images.
2004-05-10 22:13:08 +00:00
Rob Richards
d3b364fdc7 add chregu as maintainer
prep for next release
2004-05-10 20:46:32 +00:00
Christian Stocker
7f9a606b62 Adding next() method 2004-05-10 20:39:04 +00:00
Marcus Boerger
68c22fba72 - Documentation update
- Checkin doxygen config file
# A patched version of doxygen is needed, hopefully 1.3.8 will contain it
2004-05-10 17:26:03 +00:00
Rob Richards
dbe02eff78 check for dom support
remove comment
2004-05-10 14:38:32 +00:00
Christian Stocker
33cd5e9b43 - added expand support (see http://www.xmlsoft.org/xmlreader.html#Mixing for the details behind
that)
 CVS: ----------------------------------------------------------------------
2004-05-10 13:31:14 +00:00
Marcus Boerger
b0d27f9e85 - Decouple NAN and INF 2004-05-10 07:23:38 +00:00
Ilia Alshanetsky
9a50bd2de1 Missing part of the upgrade patch. 2004-05-10 02:18:49 +00:00
Marcus Boerger
3988ee2df9 - Fix problems with c mode 2004-05-10 01:42:43 +00:00
Ilia Alshanetsky
468e834ef1 Fixed bug #28289 (incorrect resolving of relative paths by glob() in
windows).
2004-05-09 19:01:13 +00:00
Ilia Alshanetsky
f11d064b6a Fixed bug #28304 (Missing bounds check inside imagefilter()). 2004-05-09 18:25:33 +00:00
Ilia Alshanetsky
9557b4013a Fixed bug #28311 (Transparency detection code is off by 1). 2004-05-09 17:47:31 +00:00
Ilia Alshanetsky
d3fda74acf Fixed bug #28267 (php_image_filter_contrast calls gdImageBrightness). 2004-05-09 17:39:20 +00:00
Ilia Alshanetsky
6e9c4b3125 Upgrade bundled GD library to 2.0.23.
Fixed bug #28175 (build problem for people using FreeType 2.1.0-2.1.2).
2004-05-09 17:33:50 +00:00
Wez Furlong
f8518cc83a Implement com_get_active_object() and a helper object for working with
persistent COM objects.
(That's the last of the stuff I want to sneak in before 5.0 is released).
2004-05-09 15:21:29 +00:00
Wez Furlong
6f8233897e Urgh!
Use the correct function to free messages from php_win_err(), otherwise
we say hello to Mr. S. Fault.
2004-05-09 14:28:19 +00:00
John Coggeshall
399022f3c5 Renamed tidy_node to tidyNode, removed the tidy_exception class and updated
the tests.
2004-05-09 14:00:14 +00:00
Stanislav Malyshev
255d87b1b8 Add __EXTENSIONS__ define - otherwise it won't compile on Solaris 2004-05-09 11:08:04 +00:00
Ilia Alshanetsky
28eaa612c1 Fixed typo. 2004-05-08 17:37:28 +00:00
Derick Rethans
f7afbb9370 - Fixed type which prevented this extension from being loaded as shared
extension.
2004-05-08 17:34:07 +00:00
Marcus Boerger
c7b2568269 - Docu updates
- Add missing example file
- Fix aggregation of inner iterators in examples
2004-05-08 12:35:21 +00:00
Marcus Boerger
629a25643c - Update docu 2004-05-08 12:26:28 +00:00
Marcus Boerger
a6feb3f405 - Update examples
- Update documentation
- Move classes/interfaces already implemented in c to new subdir internal
2004-05-08 12:24:15 +00:00
Sergey Kartashoff
26fea0bd80 - mnoGoSearch extension was updated to support CachedCopies of
mnogosearch-3.2.16 or later. Udm_Get_Agent_Param and
  Udm_Store_Doc_Cgi functions were added. MnoGoSearch-3.2.3 stored API
  was removed.
2004-05-08 11:50:40 +00:00
Sara Golemon
96132bf4fe if statement logic would never eval to false. 2004-05-08 05:58:18 +00:00
Rob Richards
0953c573ad allow ->open() and ->XML() to be called statically 2004-05-07 18:38:21 +00:00
Wez Furlong
6686b3f722 spot the vim user 2004-05-07 17:47:27 +00:00
Wez Furlong
ce05cea7ee Fix Bug #28317: Avoid recursion in libpcre on windows platform. 2004-05-07 17:47:02 +00:00
Ard Biesheuvel
bfcc12ef78 Fix unregistered bug in zval pointer/array juggling
# Thinko: element of a **zval[] is usually not a *zval[]
# I can't believe this has gone undetected for 4+ years!
2004-05-07 15:11:07 +00:00
Marcus Boerger
bfc3e689de - Fix bug #28309 2004-05-07 06:13:21 +00:00
Marcus Boerger
7388b6b9ac - Update examples 2004-05-06 22:55:25 +00:00
Marcus Boerger
af7d85db25 - interfaces 'extends' not 'implements' other interfaces 2004-05-06 21:46:40 +00:00
Marcus Boerger
592ee79fc1 - Update documentation 2004-05-06 21:20:50 +00:00
Jay Smith
8f306fd749 Fixed a segfault. (It's possible for large offsets to make strrpos()
read past the end of the haystack string...)
2004-05-06 16:11:50 +00:00
Sara Golemon
0dae58bb2a Bugfix #28300 Userspace stream/filter names don't need to be lowercased. 2004-05-06 14:29:33 +00:00
Marc Boeren
35bdc36c5b Call functions by their new, proper names instead of what are now aliases.
Change OCIFetchInto (deprecated) to oci_fetch_array.
2004-05-06 12:22:14 +00:00
Marcus Boerger
a9070ba130 Add protos 2004-05-06 09:01:31 +00:00
Marcus Boerger
635052875e Count support for ArrayIterator & ArrayObject 2004-05-06 08:57:20 +00:00
Ard Biesheuvel
18d9462a22 Fixed unregistered bug: array count is incorrect when binding array ids
Fixed unregistered bug: empty numeric/datetime param argument is coerced to
	a string that cannot be handled by the IB API layer
2004-05-05 22:18:35 +00:00
Sara Golemon
0180c36951 BugFix#28287 stream_*_register() not calling __autoload(). 2004-05-05 18:18:57 +00:00
Dmitry Stogov
962ab19c99 Support for classes with __call() method on server side. 2004-05-05 10:52:33 +00:00
Dmitry Stogov
7bddbd7bd0 php_error() -> php_error_docref() (Marcus, Dmitry) 2004-05-05 10:31:26 +00:00
Wez Furlong
263723ec9b Update for count_elements handler for overloaded objects. 2004-05-04 15:03:48 +00:00
Ard Biesheuvel
d6838a86f3 ibase_query(): Be careful not to return true on error conditions 2004-05-04 12:42:54 +00:00
Rob Richards
adeb21cd8e add package.xml 2004-05-04 08:23:10 +00:00
Wez Furlong
173cf83629 Enable writing to SafeArray dimensions. 2004-05-03 20:10:58 +00:00
Wez Furlong
92d87a6a8d Fix problem when assigning to a variable that holds an instance of
a COM/VARIANT/DOTNET object.
2004-05-03 18:19:07 +00:00
Wez Furlong
8ca144bba5 Fixup some constants and error handling.
Remove unfinished and un-needed function.
2004-05-03 15:51:41 +00:00
Marcus Boerger
c122763bc0 - Look for missing classes in include_path 2004-05-02 22:55:22 +00:00
Marcus Boerger
e72a305091 Update examples 2004-05-02 22:07:32 +00:00
Marcus Boerger
6a4e1fff78 Use caseinsensitive sort 2004-05-02 13:23:30 +00:00
Wez Furlong
4d5ce8cd08 Fix Bug #28251 2004-05-02 11:13:08 +00:00
Marcus Boerger
f571b188f9 Don't load modules twice 2004-05-01 20:34:15 +00:00
Marcus Boerger
ecf8650a36 Autoload class as long as needed 2004-04-30 19:01:06 +00:00
Derick Rethans
5c9d3842bd - HTML entity to ISO char. 2004-04-30 18:00:24 +00:00
Ilia Alshanetsky
91e9545f4f Fixed bug #28228 (number_format() does not allow empty decimal separator). 2004-04-30 13:26:01 +00:00
Marcus Boerger
7f01ec57bf SPL is meant to be in uppercase letters, do it now it works 2004-04-29 23:02:11 +00:00
Marcus Boerger
9aab7d7cdf An oumlaut doesn't work here, need ASCII only 2004-04-29 22:57:23 +00:00
Marcus Boerger
a9bdb2ed88 - Fix protos and add notes to the docs
- Reorder func prototypes to show what is common and what is specific
2004-04-29 22:52:49 +00:00
Marcus Boerger
74f21310e3 - ArrayObject::append() must not be called when it refers to an object 2004-04-29 22:25:45 +00:00
Ilia Alshanetsky
6fd3a52665 Fixed bug #28196 (missing error constants in cURL extension). 2004-04-29 16:25:42 +00:00
Ilia Alshanetsky
e81addb5ca C++ comments. 2004-04-29 12:59:26 +00:00
Marcus Boerger
bf5f758c93 - Remove unused variable
- Respect visibility in count() and add a test for that
2004-04-29 07:22:02 +00:00
Wez Furlong
1ee2b46d2f Should have tested this change before committing. 2004-04-28 23:24:33 +00:00
Marcus Boerger
1721e5d44e - More examples 2004-04-28 21:52:51 +00:00
Marcus Boerger
69e792ee7b Count() was missing 2004-04-28 21:45:41 +00:00
Marcus Boerger
1e264fc509 - Add tests for the examples 2004-04-28 20:10:21 +00:00
Marcus Boerger
4cdc3117c7 - DOS 2 UNIX 2004-04-28 19:58:47 +00:00
Ilia Alshanetsky
738aa1099f Added missing skip condition. 2004-04-28 15:14:47 +00:00
Wez Furlong
027d450166 Fix for Bug #28161 (and probably others that I can't find in the bug db;
the search interface sucks).

Expand the proxy object so it can handle psuedo array style properties.

ASP/VB code like this:

	headObj.Attribute("RID") = rid

can be expressed like this in PHP:

	$headObj->Attribute['RID'] = $rid;

In theory, this feature can be used for "multi dimensional" properties:

	headObj.Attribute("RID", "Foo") = rid;

like this:

	$headObj->Attribute['RID']['Foo'] = $rid;
2004-04-28 08:23:22 +00:00
Sara Golemon
1335bc8fb8 Don't strip off those []s, it'll only create problems in wrappers and elsewhere. 2004-04-27 19:28:11 +00:00
Sara Golemon
99b6724a4c BugFix 28187 parse_url does not handle scheme://[0123:4567::89]:12345/etc style IPv6 embedded address URLs 2004-04-27 19:13:13 +00:00
Marcus Boerger
e44c06c14e - More examples 2004-04-27 18:15:00 +00:00
Ilia Alshanetsky
32321488ab Removed C++ style comments. 2004-04-27 17:33:59 +00:00
Marcus Boerger
11690da164 - Some pretection against out-of-memory situations 2004-04-27 17:12:11 +00:00
Marcus Boerger
c56ca79733 Fix test 2004-04-27 15:48:20 +00:00