Re: [PHP-DEV] [PATCH] New PDO methods for PostgreSQL driver

2010-06-05 Thread Oskar Eisemuth
the discussion was already started, but as usually the pdo list doesn't have enough people to get things done and will be silent for the next "decade" as soon as the first ideas show up. I don't see a benefit in collecting the ideas at the wiki either as no one really ca

Re: [PHP-DEV] array position isfirst / islast / valid ?

2010-01-03 Thread Oskar Eisemuth
ld only be for interface completeness and needs to move less data around then a key() call. Best regards Oskar Eisemuth -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] array position isfirst / islast / valid ?

2010-01-02 Thread Oskar Eisemuth
st, as the internals already know this. To get an array_valid_position or array_pos_isvalid wouldn't be bad either. So would it possible to introduce: array_pos_isfirst(& $array) array_pos_islast(& $array) array_pos_isvalid(& $array) Best regards Oskar Eisemuth -- PHP Internal

Re: [PHP-DEV] Re: SQLite Bug 42589 still not fixed in php 5.3 windows (attached fix with ATTR_FETCH_TABLE_NAMES support)

2009-08-10 Thread Oskar Eisemuth
there), so I added 49206 as feature request now. Best regards Oskar Eisemuth -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: SQLite Bug 42589 still not fixed in php 5.3 windows (attached fix with ATTR_FETCH_TABLE_NAMES support)

2009-08-10 Thread Oskar Eisemuth
Hello Attached is a patch that adds the necessary changes at config.w32 and additional support for PDO::ATTR_FETCH_TABLE_NAMES in PDO SQLite. --- Oskar Index: ext/pdo_sqlite/config.w32 === --- ext/pdo_sqlite/config.w32 (revisio

[PHP-DEV] SQLite Bug 42589 still not fixed in php 5.3 windows

2009-08-09 Thread Oskar Eisemuth
s be shown in phpinfo? So SQLITE_ENABLE_COLUMN_METADATA would be shown as activated/enabled/disabled? Best regards Oskar Eisemuth -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Weak references - object destruction callback?

2009-08-02 Thread Oskar Eisemuth
Hi I try to write a a weak reference extension for php5.3 to break circular object structures, so far I have a test implementation that seems to work fine with my first tests. My current system uses a new base class that returns a new resource via a getWeakRef method. This resource can be

Re: [PHP-DEV] New function proposal: spl_object_id

2009-01-24 Thread Oskar Eisemuth
yevent", "Autoloader", "onmyevent"); // Register Autoloader::onmyevent() as event listener. A reason I wrote SplObjectStorage won't solve my usage of spl_object_hash. So don't mark spl_object_hash deprecated in 5.4 ;-) Best regards Oskar Eisemuth -- PHP Internals - PHP

Re: [PHP-DEV] New function proposal: spl_object_id

2009-01-23 Thread Oskar Eisemuth
nts[$event] as $callable) { call_user_func_array($callable, array(&$eventData)); } } } } So spl_object_id would be a nice... Best regards Oskar Eisemuth -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PDO: table name of field in SQLite #42589 and a new fetch style FETCH_ASSOC_TREE

2009-01-06 Thread Oskar Eisemuth
functionality exposed to userland, only build-in or maybe both? If applymap would be some kind of generic functionality, the impact on PDO would be limited to getColumnMeta and the PDO change could be done later. The script may decide to cache the map for later use too. Anyway applymap($obj

[PHP-DEV] PDO: table name of field in SQLite #42589 and a new fetch style FETCH_ASSOC_TREE

2009-01-03 Thread Oskar Eisemuth
O fetch without any need to change the PDO drivers. (But could be optimized later to skip parts of ATTR_FETCH_TABLE_NAMES in the driver) So what do you think? -- Oskar Eisemuth -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php