Dmitry Stogov
00c81b0e49
Fixed register_argc_argv behavior. Now it behave in the same way as before in combinations with variables_order and auto_globals_jit.
...
$argc and $argv global variables are registered only in CLI mode and under $_SERVER[] in other case. (This is done because register_globals was removed and assumed - off).
2006-03-20 10:18:50 +00:00
f920c1068e
ChangeLog update
2006-03-20 06:31:42 +00:00
Pierre Joye
9e3b87056f
- fix compilation warning
2006-03-20 00:07:08 +00:00
Antony Dovgal
6fd8aaae87
this check should be present in HEAD as well, no only in 5_1
2006-03-19 22:57:47 +00:00
Antony Dovgal
a4f9c8efc2
MFB: first check stream for NULL, then dereference
2006-03-19 22:34:26 +00:00
Antony Dovgal
2c750d7f84
make the code a bit cleaner - no need for two different checks that are doing effectively the same
2006-03-19 22:12:39 +00:00
Marcus Boerger
1aeff811c0
- Make all compile without errors/warnings
2006-03-19 20:57:53 +00:00
Marcus Boerger
3273a5eab9
- Little reordering now and disable a bit of tony's code to make it compile again
2006-03-19 20:53:58 +00:00
Marcus Boerger
6154b639ed
- Handle attributes in dbh ctor (jean pütz aka tony)
2006-03-19 20:33:51 +00:00
Marcus Boerger
98ddfbba1a
- CS
2006-03-19 20:26:20 +00:00
Marcus Boerger
ef6d420aad
- Explicitly make the default default FETCH_BOTH
2006-03-19 20:08:29 +00:00
Marcus Boerger
786d78f683
- Prevent default fetch mode (0) from passing down to actual fetching and
...
make it behave like FETCH_BOTH which is the intended overall default
2006-03-19 19:46:18 +00:00
Marcus Boerger
31409d3bed
- Must use > 0 here (decrement after check)
2006-03-19 19:05:28 +00:00
Marcus Boerger
74dd417dfe
- Simplify, default mode transfer also in prepare
2006-03-19 19:04:32 +00:00
Ilia Alshanetsky
d6118f1b6e
MFB51: Properly calculate the size of the result array.
2006-03-19 17:35:56 +00:00
Michael Wallner
1251f42585
MFB: fix php_apache_sapi_header_handler() modifying sapi_header
2006-03-19 14:58:06 +00:00
Pierre Joye
65d97d0a65
- typos
2006-03-19 11:26:25 +00:00
ad2563f420
ChangeLog update
2006-03-19 06:31:43 +00:00
Antony Dovgal
41e5bcd8c5
MFB: fix several leaks in date_sun*() functions
2006-03-18 23:44:30 +00:00
Marcus Boerger
e20ff8009b
- Need to change Pierre's patch abit
2006-03-18 23:35:34 +00:00
Marcus Boerger
88c4284df7
- Add test
2006-03-18 23:13:43 +00:00
Marcus Boerger
d82abbf8d4
- Add PDO::setDEfaultFetchMode() (Pierre)
2006-03-18 23:10:40 +00:00
Marcus Boerger
637443e794
- Simplify
2006-03-18 23:09:47 +00:00
Antony Dovgal
8ff44542ff
check stream for NULL before writing to it
...
remove unnecessary semicolons
2006-03-18 22:25:29 +00:00
Antony Dovgal
612fbc1b6b
MFB: Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764 )
2006-03-18 22:06:45 +00:00
Marcus Boerger
46bc026fb0
- Fix seek/eof issue in temp streams
2006-03-18 19:56:35 +00:00
Marcus Boerger
d7a4909ed2
- Fix issue in _php_stream_get_line(): Allow maxchars == 0 as macro
...
php_stream_get_line() does
2006-03-18 19:44:51 +00:00
Rob Richards
7fc0756e55
MFB51: Fixed bug #36756 (DOMDocument::removeChild corrupts node)
...
add test
2006-03-18 11:46:13 +00:00
49f7b6605c
ChangeLog update
2006-03-18 06:31:51 +00:00
Omar Kilani
aa8ab527f2
Fix PECL bug #7147 - rework comma insertion whilst encoding.
...
Add tests to package.xml.
2006-03-18 04:15:16 +00:00
Marcus Boerger
792e4d9f4d
- Fix TSRM
2006-03-17 23:14:55 +00:00
Andrei Zmievski
25b95e4250
Make is_string() return TRUE for both Unicode and binary strings.
2006-03-17 23:00:20 +00:00
Andrei Zmievski
a75b8f5f35
Fix compiler errors by using NULL_ZSTR where zstr is expected.
...
# I guess we need to use NULL_ZSTR instead of NULL when passing NULL to
# functions that expect zstr parameter.
2006-03-17 22:52:55 +00:00
Andrei Zmievski
6b165251db
Calculate the size of the tmp[] buffer directly at compile time.
2006-03-17 22:51:20 +00:00
Antony Dovgal
f5aecbf18c
MFB: fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)
2006-03-17 22:17:15 +00:00
Dmitry Stogov
fb7324bb71
Fixed register_argc_argv
2006-03-17 15:04:23 +00:00
Derick Rethans
c6b425432a
- Actually make this is_binary() too.
2006-03-17 14:53:57 +00:00
Derick Rethans
2ffc93140d
- Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not
...
write the uppercased character to the buffer, but only returns the length of
the uppercased letter as per
http://icu.sourceforge.net/apiref/icu4c/ustring_8h.html#a50 .
- Updated is_string():
If Unicode semantics is turned on, return "true" for Unicode strings only.
If Unicode semantics is turned off, return "true" for native strings only.
- Added is_binary() function that returns "true" for native strings only.
- Added first implementation of upgraded strtr function. It works except if
combining sequences or surrogates are used in the non-array method of calling
this function.
2006-03-17 14:29:05 +00:00
Dmitry Stogov
34c493ea07
Unicode support for dl() patch.
2006-03-17 13:45:43 +00:00
Dmitry Stogov
c09bbfa2b8
Eliminated unnecessary getcwd() syscall
2006-03-17 10:46:02 +00:00
Antony Dovgal
8c5059c3ad
MFB: fix #36743 (In a class extending XMLReader array properties are not writable)
2006-03-17 10:17:36 +00:00
Dmitry Stogov
f584e957ac
Optimized FastCGI SAPI check. Check for ini options only once.
2006-03-17 09:32:47 +00:00
Dmitry Stogov
22a7b0c06e
Allowed 'auto_globals_jit' work together with 'register_argc_argv'
2006-03-17 08:59:02 +00:00
Dmitry Stogov
51f7ee02c8
FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS
...
EGV related code is commented.
2006-03-17 08:47:54 +00:00
Dmitry Stogov
53e1f2adfb
Optimization of module unloading (temporary modules can be only in the end)
2006-03-17 08:34:34 +00:00
8ec6d16867
ChangeLog update
2006-03-17 06:31:49 +00:00
Ilia Alshanetsky
16ff5e5592
MFB51:
...
Allow PDO_MYSQL_ATTR_DIRECT_QUERY to be set via constructor
Allow getAttribute() to fetch MySQL specific attributes.
Eliminate unnecessary auto-commit call on connect.
2006-03-17 00:15:28 +00:00
Dmitry Stogov
86780519d4
Disabled dl(). Now it is enabled only when a SAPI layer registers it explicitly. Only CLI, CGI and EMBED do this.
2006-03-16 16:53:10 +00:00
Dmitry Stogov
ea9b9502e9
typo
2006-03-16 15:42:54 +00:00
Dmitry Stogov
3510eda470
ws
2006-03-16 15:38:29 +00:00