]> granicus.if.org Git - php/log
php
20 years ago- Be consistent and use names as keys (found by johannes)
Marcus Boerger [Sat, 30 Oct 2004 19:53:25 +0000 (19:53 +0000)]
- Be consistent and use names as keys (found by johannes)

20 years ago- Bump API version
Marcus Boerger [Sat, 30 Oct 2004 19:27:42 +0000 (19:27 +0000)]
- Bump API version

20 years ago- Update to new API
Marcus Boerger [Sat, 30 Oct 2004 19:14:05 +0000 (19:14 +0000)]
- Update to new API

20 years ago- Fix inner iterator aggregation
Marcus Boerger [Sat, 30 Oct 2004 19:12:14 +0000 (19:12 +0000)]
- Fix inner iterator aggregation

20 years ago- Change zend_object_handlers->get_method() to allow aggregation for internal classes
Marcus Boerger [Sat, 30 Oct 2004 19:11:37 +0000 (19:11 +0000)]
- Change zend_object_handlers->get_method() to allow aggregation for internal classes

20 years agoWS (ups)
Marcus Boerger [Sat, 30 Oct 2004 14:34:43 +0000 (14:34 +0000)]
WS (ups)

20 years agostrip trailing (back)slash from path
Marcus Boerger [Sat, 30 Oct 2004 14:33:25 +0000 (14:33 +0000)]
strip trailing (back)slash from path

20 years ago- New architecture needs one more dependency
Marcus Boerger [Sat, 30 Oct 2004 13:48:29 +0000 (13:48 +0000)]
- New architecture needs one more dependency

20 years ago- Fix protos
Marcus Boerger [Sat, 30 Oct 2004 10:18:10 +0000 (10:18 +0000)]
- Fix protos

20 years ago- Fix proto
Marcus Boerger [Sat, 30 Oct 2004 10:04:37 +0000 (10:04 +0000)]
- Fix proto

20 years agoChangeLog update
<changelog@php.net> [Sat, 30 Oct 2004 00:46:12 +0000 (00:46 +0000)]
ChangeLog update

20 years ago- Update docu
Marcus Boerger [Fri, 29 Oct 2004 20:58:58 +0000 (20:58 +0000)]
- Update docu

20 years ago- Implement OuterIterator in C
Marcus Boerger [Fri, 29 Oct 2004 20:12:57 +0000 (20:12 +0000)]
- Implement OuterIterator in C

20 years ago- Abstract no longer valid here
Marcus Boerger [Fri, 29 Oct 2004 19:50:51 +0000 (19:50 +0000)]
- Abstract no longer valid here

20 years ago- For Ilia:
Andi Gutmans [Fri, 29 Oct 2004 00:55:11 +0000 (00:55 +0000)]
- For Ilia:
- MFH: Fixed bug #30572 (crash when comparing SimpleXML attribute to a boolean).
- Hope this works well. I will MFH tomorrow if no one complains.

20 years agoChangeLog update
<changelog@php.net> [Fri, 29 Oct 2004 00:48:12 +0000 (00:48 +0000)]
ChangeLog update

20 years ago- [PATCH] Bug fix for #29770, but for PHP 4.3.9 (Vladimir Zidar)
Andi Gutmans [Fri, 29 Oct 2004 00:37:22 +0000 (00:37 +0000)]
- [PATCH] Bug fix for #29770, but for PHP 4.3.9 (Vladimir Zidar)

20 years agoSimplify code.
Ilia Alshanetsky [Thu, 28 Oct 2004 22:22:22 +0000 (22:22 +0000)]
Simplify code.

20 years ago- TSRM Fix
Marcus Boerger [Thu, 28 Oct 2004 07:47:46 +0000 (07:47 +0000)]
- TSRM Fix

20 years ago--without-lines changed to --with-lines
Dmitry Stogov [Thu, 28 Oct 2004 06:48:59 +0000 (06:48 +0000)]
--without-lines changed to --with-lines

20 years agofix Win32 & Netware build
Antony Dovgal [Thu, 28 Oct 2004 05:05:20 +0000 (05:05 +0000)]
fix Win32 & Netware build

20 years ago- Fix typo
Andi Gutmans [Thu, 28 Oct 2004 01:19:33 +0000 (01:19 +0000)]
- Fix typo

20 years agoChangeLog update
<changelog@php.net> [Thu, 28 Oct 2004 00:35:35 +0000 (00:35 +0000)]
ChangeLog update

20 years agoSimplify and cleanup code.
Ilia Alshanetsky [Wed, 27 Oct 2004 23:12:05 +0000 (23:12 +0000)]
Simplify and cleanup code.

20 years ago- Oops missed this one
Andi Gutmans [Wed, 27 Oct 2004 20:13:59 +0000 (20:13 +0000)]
- Oops missed this one

20 years ago- Revert Fixed bug #30228 (crash when comparing SimpleXML attribute to a boolean).
Andi Gutmans [Wed, 27 Oct 2004 18:15:03 +0000 (18:15 +0000)]
- Revert   Fixed bug #30228 (crash when comparing SimpleXML attribute to a boolean).
- Need to discuss where the real problem is.

20 years ago- Tiny fixes
Andi Gutmans [Wed, 27 Oct 2004 18:08:56 +0000 (18:08 +0000)]
- Tiny fixes

20 years ago- Improve comments, docs, code...
Andi Gutmans [Wed, 27 Oct 2004 17:58:46 +0000 (17:58 +0000)]
- Improve comments, docs, code...

20 years agofix bug #30388 (rename across filesystems loses ownership and permission info)
Antony Dovgal [Wed, 27 Oct 2004 11:58:49 +0000 (11:58 +0000)]
fix bug #30388 (rename across filesystems loses ownership and permission info)

20 years agoFix possible crash; patch by Kamesh Jayachandran
Wez Furlong [Wed, 27 Oct 2004 11:07:26 +0000 (11:07 +0000)]
Fix possible crash; patch by Kamesh Jayachandran

20 years agoSynopsis:
Wez Furlong [Wed, 27 Oct 2004 10:26:27 +0000 (10:26 +0000)]
Synopsis:

PDOStatement::setFetchMode()
reset default fetch() mode for a statement to PDO_FETCH_BOTH

PDOStatement::setFetchMode(PDO_FETCH_NUM)
PDOStatement::setFetchMode(PDO_FETCH_ASSOC)
PDOStatement::setFetchMode(PDO_FETCH_BOTH)
PDOStatement::setFetchMode(PDO_FETCH_OBJ)
set default fetch() mode for a statement.

PDOStatement::setFetchMode(PDO_FETCH_COLUMN, int colno)
set default fetch() mode to retrieve colno-th column on each fetch() call.

PDOStatement::setFetchMode(PDO_FETCH_CLASS, string classname [, array ctor args])
set default fetch() mode to create an instance of classname,
calling it's ctor, passing the optional ctor args.
The names of the columns in the result set will be used as property names on
the object instance.  PPP rules apply.

[NOTE: calling ctor is not yet implemented]
[TODO: this might crash PHP for persistent PDO handles]

PDOStatement::setFetchMode(PDO_FETCH_INTO, object obj)
Similar to PDO_FETCH_CLASS, except that each iteration will update the
supplied object properties.

[TODO: this might crash PHP for persistent PDO handles]

The default fetch() mode is used when no parameters are passed to
PDOStatement::fetch().  When using a statement in an iterator context,
PDOStatement::fetch() is called implicitly on each iteration.

object PDO::queryAndIterate(string sql, <PDOStatement::setFetchMode args>)
This is semantically equivalent to:

$stmt = $pdo->prepare($sql);
$stmt->execute();
$stmt->setFetchMode($args);
return $stmt;

Example/Intended usage:

/* fetch an array with numeric and string keys */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test") as $row) {
debug_zval_dump($row);
}

/* fetch the value of column 1 into $row on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_COLUMN, 1) as $row) {
debug_zval_dump($row); // string(3) "foo"
}

/* create a new instance of class Foo on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_CLASS, 'Foo') as $row) {
debug_zval_dump($row);
/*
Object(Foo)#4 (2) refcount(2){
["NAME"]=>
   string(12) "foo220051429" refcount(2)
["VALUE"]=>
string(12) "bar789825748" refcount(2)
}
*/
}

etc.

20 years agoChangeLog update
<changelog@php.net> [Wed, 27 Oct 2004 00:36:13 +0000 (00:36 +0000)]
ChangeLog update

20 years ago- Patch from Andrey Hristov:
Andi Gutmans [Tue, 26 Oct 2004 23:25:05 +0000 (23:25 +0000)]
- Patch from Andrey Hristov:
I have cooked a small patch which allows is_subclass_of() the accept
not only an object as first parameter but a string as well. When string
is passed the function checks whether the class specified is subclass of
the second parameter
class a{}
class b{} extends a{}
is_subclass_of("a", "a") //false
is_subclass_of("b", "a") //true
currently only objects are allowed as first parameter

20 years agoFixed bug #30228 (crash when comparing SimpleXML attribute to a boolean).
Ilia Alshanetsky [Tue, 26 Oct 2004 22:38:34 +0000 (22:38 +0000)]
Fixed bug #30228 (crash when comparing SimpleXML attribute to a boolean).

20 years ago*cough* de-bogusify driver registration.
Wez Furlong [Tue, 26 Oct 2004 22:00:15 +0000 (22:00 +0000)]
*cough* de-bogusify driver registration.
(what was I smoking??)

20 years agoFix for Bug #29418 (double free when openssl_csr_new fails).
Wez Furlong [Tue, 26 Oct 2004 09:24:07 +0000 (09:24 +0000)]
Fix for Bug #29418 (double free when openssl_csr_new fails).
Also hook up MSHUTDOWN function which appears to have never been enabled.

Patch by Kamesh Jayachandran

20 years agoChangeLog update
<changelog@php.net> [Tue, 26 Oct 2004 00:48:48 +0000 (00:48 +0000)]
ChangeLog update

20 years agoMerge gettimeofday() based code to prevent duplication.
Ilia Alshanetsky [Mon, 25 Oct 2004 13:28:56 +0000 (13:28 +0000)]
Merge gettimeofday() based code to prevent duplication.

20 years agoChangeLog update
<changelog@php.net> [Mon, 25 Oct 2004 00:36:45 +0000 (00:36 +0000)]
ChangeLog update

20 years agoMake request start time be available via $_SERVER['REQUEST_TIME'].
Ilia Alshanetsky [Sun, 24 Oct 2004 17:41:13 +0000 (17:41 +0000)]
Make request start time be available via $_SERVER['REQUEST_TIME'].

# As discussed on internals.

20 years agoChangeLog update
<changelog@php.net> [Sun, 24 Oct 2004 00:36:26 +0000 (00:36 +0000)]
ChangeLog update

20 years agoMake ldap_parse_reference() available on Windows (Bug #29492)
Hartmut Holzgraefe [Sat, 23 Oct 2004 23:03:52 +0000 (23:03 +0000)]
Make ldap_parse_reference() available on Windows (Bug #29492)

20 years ago- always convert apr_time_t to time_t using apr_time_sec() to be future-proof.
Joe Orton [Sat, 23 Oct 2004 13:48:05 +0000 (13:48 +0000)]
- always convert apr_time_t to time_t using apr_time_sec() to be future-proof.
- print apr_time_t values using APR_TIME_T and apr_snprintf.
- remove redundant add_property_long calls.

20 years agoFix the get_request_time implementation for the 2.0 SAPIs to return
Joe Orton [Sat, 23 Oct 2004 12:56:20 +0000 (12:56 +0000)]
Fix the get_request_time implementation for the 2.0 SAPIs to return
seconds not microseconds and to use TSRM stuff correctly.

20 years agocommit fixes by <mikael dot suvi at trigger dot ee>
Antony Dovgal [Sat, 23 Oct 2004 09:32:44 +0000 (09:32 +0000)]
commit fixes by <mikael dot suvi at trigger dot ee>
(segfaults under heavy load)

20 years ago- Add missing file
Andi Gutmans [Sat, 23 Oct 2004 07:30:18 +0000 (07:30 +0000)]
- Add missing file

20 years agoChangeLog update
<changelog@php.net> [Sat, 23 Oct 2004 00:35:20 +0000 (00:35 +0000)]
ChangeLog update

20 years ago- Nuke another two files
Andi Gutmans [Fri, 22 Oct 2004 22:01:34 +0000 (22:01 +0000)]
- Nuke another two files

20 years ago- Commit new VM
Andi Gutmans [Fri, 22 Oct 2004 21:42:14 +0000 (21:42 +0000)]
- Commit new VM
- Old one is tagged as PRE_NEW_VM_GEN_PATCH
- Still doing work so more commits to come. Don't complain (yet) :)

20 years agofix windows build
Rob Richards [Fri, 22 Oct 2004 13:11:33 +0000 (13:11 +0000)]
fix windows build

20 years agoRevert Linux LFS patch
Edin Kadribasic [Fri, 22 Oct 2004 10:46:42 +0000 (10:46 +0000)]
Revert Linux LFS patch

20 years ago- Fix crash (MFB PHP5_0)
Andi Gutmans [Fri, 22 Oct 2004 01:55:39 +0000 (01:55 +0000)]
- Fix crash (MFB PHP5_0)

20 years agoChangeLog update
<changelog@php.net> [Fri, 22 Oct 2004 00:35:53 +0000 (00:35 +0000)]
ChangeLog update

20 years agoMFB: Linux LFS support, fixes 27792
Edin Kadribasic [Thu, 21 Oct 2004 23:50:28 +0000 (23:50 +0000)]
MFB: Linux LFS support, fixes 27792

20 years agoAllow gettimeofday() return a float if optional argument is specified.
Ilia Alshanetsky [Thu, 21 Oct 2004 21:20:52 +0000 (21:20 +0000)]
Allow gettimeofday() return a float if optional argument is specified.

20 years agoChangeLog update
<changelog@php.net> [Thu, 21 Oct 2004 00:37:45 +0000 (00:37 +0000)]
ChangeLog update

20 years ago- Fix test
Andi Gutmans [Wed, 20 Oct 2004 22:55:57 +0000 (22:55 +0000)]
- Fix test

20 years agoSlight optimization in str_split() when split length is the same or greater
Ilia Alshanetsky [Wed, 20 Oct 2004 22:44:43 +0000 (22:44 +0000)]
Slight optimization in str_split() when split length is the same or greater
then the string length.

20 years ago- One more test fix
Andi Gutmans [Wed, 20 Oct 2004 22:36:32 +0000 (22:36 +0000)]
- One more test fix

20 years ago- Fix interface tests. Interfaces should not use access modifiers
Andi Gutmans [Wed, 20 Oct 2004 22:13:44 +0000 (22:13 +0000)]
- Fix interface tests. Interfaces should not use access modifiers

20 years ago- If object handles are equal then save the comparison of properties in
Andi Gutmans [Wed, 20 Oct 2004 17:57:28 +0000 (17:57 +0000)]
- If object handles are equal then save the comparison of properties in
- the == operator.

20 years agoMF4: fix double bailout in HEAD when output is attempted from shutdown
Stanislav Malyshev [Wed, 20 Oct 2004 15:31:06 +0000 (15:31 +0000)]
MF4: fix double bailout in HEAD when output is attempted from shutdown

20 years agoFix case where php_handle_aborted_connection was called outside a
Joe Orton [Wed, 20 Oct 2004 09:28:47 +0000 (09:28 +0000)]
Fix case where php_handle_aborted_connection was called outside a
try/end_try block (#25570).

20 years agoChangeLog update
<changelog@php.net> [Wed, 20 Oct 2004 00:37:11 +0000 (00:37 +0000)]
ChangeLog update

20 years agoSimplify code.
Ilia Alshanetsky [Tue, 19 Oct 2004 22:25:15 +0000 (22:25 +0000)]
Simplify code.

20 years agoAs NetWare LibC don't have the implementation of chown and chgrp there is no point...
Anantha Kesari H Y [Tue, 19 Oct 2004 08:21:24 +0000 (08:21 +0000)]
As NetWare LibC don't have the implementation of chown and chgrp there is no point in exposing this function to PHP

20 years agoMinor fix for mysqli_connect: checking socket_len for NULL Values
Georg Richter [Tue, 19 Oct 2004 05:14:09 +0000 (05:14 +0000)]
Minor fix for mysqli_connect: checking socket_len for NULL Values
(Thx to Paul DuBois)

20 years agoChangeLog update
<changelog@php.net> [Tue, 19 Oct 2004 00:36:32 +0000 (00:36 +0000)]
ChangeLog update

20 years agoFixed bug #30475 (curl_getinfo() may crash in some situations).
Ilia Alshanetsky [Mon, 18 Oct 2004 22:41:24 +0000 (22:41 +0000)]
Fixed bug #30475 (curl_getinfo() may crash in some situations).

20 years agofix bug #30442 ( segmentation fault when parsing ?getvariable[][ )
Antony Dovgal [Mon, 18 Oct 2004 15:05:06 +0000 (15:05 +0000)]
fix bug #30442 ( segmentation fault when parsing ?getvariable[][ )

20 years agoincluding zend_compile.h for NetWare as NetWare uses MetroWerks Code warrior compiler...
Anantha Kesari H Y [Mon, 18 Oct 2004 12:06:57 +0000 (12:06 +0000)]
including zend_compile.h for NetWare as NetWare uses MetroWerks Code warrior compiler which does not allow declarations of following kind before defining the types.
extern struct _zend_arg_info first_arg_force_ref[2];

20 years agoremoving inclusion of platform specific config files as they are already included...
Anantha Kesari H Y [Mon, 18 Oct 2004 10:42:16 +0000 (10:42 +0000)]
removing inclusion of platform specific config files as they are already included from php_scandir.h

20 years agoremoving php_output_activate Fix for bug#30397
Anantha Kesari H Y [Mon, 18 Oct 2004 10:26:45 +0000 (10:26 +0000)]
removing php_output_activate Fix for bug#30397

20 years ago- Revert patch until it is discussed
Derick Rethans [Mon, 18 Oct 2004 06:04:02 +0000 (06:04 +0000)]
- Revert patch until it is discussed

20 years agoChangeLog update
<changelog@php.net> [Mon, 18 Oct 2004 00:36:09 +0000 (00:36 +0000)]
ChangeLog update

20 years agoChangeLog update
<changelog@php.net> [Sun, 17 Oct 2004 00:35:52 +0000 (00:35 +0000)]
ChangeLog update

20 years ago- One more test (WS)
Andi Gutmans [Sat, 16 Oct 2004 23:17:58 +0000 (23:17 +0000)]
- One more test (WS)

20 years ago- WS fix to test commit
Andi Gutmans [Sat, 16 Oct 2004 23:16:50 +0000 (23:16 +0000)]
- WS fix to test commit

20 years agoFix for Bug #30397
Anantha Kesari H Y [Sat, 16 Oct 2004 10:32:42 +0000 (10:32 +0000)]
Fix for Bug #30397

20 years agoFix for 30457
Anantha Kesari H Y [Sat, 16 Oct 2004 09:28:45 +0000 (09:28 +0000)]
Fix for 30457

20 years agoChangeLog update
<changelog@php.net> [Fri, 15 Oct 2004 00:36:38 +0000 (00:36 +0000)]
ChangeLog update

20 years agoAdded sqlite_fetch_column_types() 3rd argument for arrays.
Ilia Alshanetsky [Thu, 14 Oct 2004 23:19:38 +0000 (23:19 +0000)]
Added sqlite_fetch_column_types() 3rd argument for arrays.

20 years ago- Allow to omit object/classname in get_parent_class() which makes it
Marcus Boerger [Thu, 14 Oct 2004 07:26:04 +0000 (07:26 +0000)]
- Allow to omit object/classname in get_parent_class() which makes it
  compatible with the signature and behavior of get_class()

20 years agoChangeLog update
<changelog@php.net> [Thu, 14 Oct 2004 00:49:13 +0000 (00:49 +0000)]
ChangeLog update

20 years agoAdded optional offset parameter to file_get_contents().
Ilia Alshanetsky [Wed, 13 Oct 2004 23:26:29 +0000 (23:26 +0000)]
Added optional offset parameter to file_get_contents().

20 years ago- Don't allow access modifiers in interfaces. Explicitly stating public
Andi Gutmans [Wed, 13 Oct 2004 01:04:08 +0000 (01:04 +0000)]
- Don't allow access modifiers in interfaces. Explicitly stating public
- should also be disallowed but we don't have a way to detect it today.

20 years agoChangeLog update
<changelog@php.net> [Wed, 13 Oct 2004 00:37:00 +0000 (00:37 +0000)]
ChangeLog update

20 years agoMFH: Added optional offset parameter to stream_get_contents().
Ilia Alshanetsky [Tue, 12 Oct 2004 23:25:24 +0000 (23:25 +0000)]
MFH: Added optional offset parameter to stream_get_contents().

20 years agoBug #30381 Strange results with get_class_vars()
Marcus Boerger [Tue, 12 Oct 2004 22:19:43 +0000 (22:19 +0000)]
Bug #30381 Strange results with get_class_vars()

20 years ago- Fix visibility in get_class_vars() and get_class_methods()
Marcus Boerger [Tue, 12 Oct 2004 11:01:08 +0000 (11:01 +0000)]
- Fix visibility in get_class_vars() and get_class_methods()
# Still there is a problem/error in the executor, i'll have a look

20 years ago- Fix set_exception_handler
Marcus Boerger [Tue, 12 Oct 2004 09:13:20 +0000 (09:13 +0000)]
- Fix set_exception_handler
# unsettign with '' never worked so we use NULL now which is much better
# because it matches the the return NULL in case no handler was defined
# and can't lead to problems with wrong string operations.

20 years agoChangeLog update
<changelog@php.net> [Tue, 12 Oct 2004 00:35:59 +0000 (00:35 +0000)]
ChangeLog update

20 years agoFixed bug #30362 (stream_get_line() not handling end string correctly).
Ilia Alshanetsky [Mon, 11 Oct 2004 18:31:49 +0000 (18:31 +0000)]
Fixed bug #30362 (stream_get_line() not handling end string correctly).

20 years agoFixed bug #30375 (cal_info() does not work without a parameter).
Ilia Alshanetsky [Mon, 11 Oct 2004 06:39:41 +0000 (06:39 +0000)]
Fixed bug #30375 (cal_info() does not work without a parameter).

20 years agoFix the return value check too
Wez Furlong [Mon, 11 Oct 2004 01:40:41 +0000 (01:40 +0000)]
Fix the return value check too

20 years agocheck the correct flag for async connect
Wez Furlong [Mon, 11 Oct 2004 01:30:19 +0000 (01:30 +0000)]
check the correct flag for async connect

20 years agoChangeLog update
<changelog@php.net> [Mon, 11 Oct 2004 00:36:26 +0000 (00:36 +0000)]
ChangeLog update

20 years agoAdd *.gcda and *.gcno (from gcc -fprofile-{use|generate}) to .cvsignore.
Sebastian Bergmann [Sun, 10 Oct 2004 16:10:38 +0000 (16:10 +0000)]
Add *.gcda and *.gcno (from gcc -fprofile-{use|generate}) to .cvsignore.

20 years agofix possible segfault
Antony Dovgal [Sun, 10 Oct 2004 15:04:21 +0000 (15:04 +0000)]
fix possible segfault

20 years agoprevent deadlocks when re-using previously established persistent connection
Antony Dovgal [Sun, 10 Oct 2004 10:54:26 +0000 (10:54 +0000)]
prevent deadlocks when re-using previously established persistent connection