Re: [PHP-DEV] [PATCH] PDO::FETCH_2D

2007-11-20 Thread Hans-Peter Oeri
Hi! Thanks for your response! Lukas Kahwe Smith wrote: Not sure how real world useful this is. What I have seen more is a I often run into a situation like the following: We need a framework like class to change *joined* tables. The framework itself has no inherent knowledge about table

Re: [PHP-DEV] [PATCH] PDO::FETCH_2D

2007-11-20 Thread Lukas Kahwe Smith
On 20.11.2007, at 10:02, Hans-Peter Oeri wrote: Not sure how real world useful this is. What I have seen more is a I often run into a situation like the following: We need a framework like class to change *joined* tables. The framework itself has no inherent knowledge about table fields, but

Re: [PHP-DEV] $_SERVER['REQUEST_TIME']

2007-11-20 Thread Rasmus Lerdorf
Sam Barrow wrote: This was a good idea, however it could be even more useful if used to calculate the execution time of your scripts. But since it only counts whole seconds, for this microtime() would be better. Would it be possible to add $_SERVER['REQUEST_MICROTIME']? This has nothing to do

Re: [PHP-DEV] $_SERVER['REQUEST_TIME']

2007-11-20 Thread Sebastian Bergmann
Sam Barrow schrieb: [...] Seriously, how hard can it be to start a new thread by not replying to a message of an existing thread? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP

Re: [PHP-DEV] [PATCH] PDO::FETCH_2D

2007-11-20 Thread Hans-Peter Oeri
Hi! Lukas Kahwe Smith wrote: defaults. In this case I would suggest making the empty string the default. I attach a cleaned patch - with empty string as a default 'null base'. (patch against todays cvs) HPO diff -u -r1.82.2.31.2.17.2.2 pdo_dbh.c --- ext/pdo/pdo_dbh.c 7 Oct 2007 05:22:05

Re: [PHP-DEV] Tainted Mode Decision

2007-11-20 Thread Christian Schneider
David Zülke wrote: An untaint() approach - all for it (yes, the noobs that don't give a damn are going to use it because it just works, but no, that shouldn't Most people here seem to agree that it would be valuable tool for themselves to be able to taint/untaint data. Wietse's approach is very

[PHP-DEV] CVS Account Request: danbrown

2007-11-20 Thread Daniel P. Brown
Assisting with maintenance of the php.net site, documentation, and bug fixes, as well as further developing the runtime and including bundled packages (perhaps such as the TTS bindings we created during the spring). Most of you know me from the lists as it is. -- PHP Internals - PHP Runtime

[PHP-DEV] CVS Account Request: bastianonken

2007-11-20 Thread Bastian Onken
I'd like to overtake the PEAR package 'HTML_TagCloud'. To be able to maintain the sources the PEAR QA team told me to apply for a CVS account here. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Question about superglobals

2007-11-20 Thread Larry Garfield
Off the cuff, may have a bug or two, but you get the idea: function get_config() { static $config; if (empty($config)) { // Something to load the configuration here. } $params = func_get_args(); $return = $config; foreach ($params as $param) { if (isset($return[$param]) {

Re: [PHP-DEV] My musings on... a Solaris test platform

2007-11-20 Thread Sriram Natarajan
Hi I am not sure as to why do you want to look at Solaris 8 and 9 on x86 platforms. As part of the WebStack project within OpenSolaris (http://www.opensolaris.org/os/project/webstack/), we are working towards integrating and improving the PHP experience on OpenSolaris (post Solaris 10). So,

Re: [PHP-DEV] late static binding php6

2007-11-20 Thread Gergely Hodicska
Hi! What do you want parent::test() to mean? Because it wasn't. parent::test() means A::test(). 'parent::' means 'parent class of the class where this statement is' in PHP. For B, it's A. When you use parent in your code you generally want to add some plus functionality to the parent class.