Re: [PHP-DEV] RFC: Selecting Namespaces and Tag styles at include time. ( was Re: PHP Dev RFC Selecting Namespaces and Tag styles at include time.)

2010-12-20 Thread Stanley Sufficool
On Mon, Dec 20, 2010 at 7:02 AM, Michael Morris wrote: > I'm not opposed to using a bitfield, but it's going to be tricky to do > because there are two settings that want to be 0.  Backwards compatibility > needs to have the 0 setting both for the function calls and the ini setting. > However, the

Re: [PHP-DEV] RFC: Selecting Namespaces and Tag styles at include time. ( was Re: PHP Dev RFC Selecting Namespaces and Tag styles at include time.)

2010-12-17 Thread Stanley Sufficool
I would go with a maskable enumeration for multiple options support: Val Constant 0PHP_TAGS_NONE 1PHP_TAGS_LEGACY 2PHP_TAGS_STANDARD 4PHP_TAGS_SHORT 8PHP_TAGS_SCRIPT 16PHP_TAGS_ASP So that if I want to use mixed tags ( wrote: > I've been giving some thought to the implica

Re: [PHP-DEV] RFC: Making T_FUNCTION optional in method declarations

2010-11-28 Thread Stanley Sufficool
Add my name to the list of people who prefer more strict than syntactic sugar. -1 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Magic quotes in trunk

2010-11-20 Thread Stanley Sufficool
On Fri, Nov 19, 2010 at 10:36 PM, Philip Olson wrote: > > On Nov 19, 2010, at 6:45 PM, Stanley Sufficool wrote: >> On Fri, Nov 19, 2010 at 8:14 AM, Daniel Convissor >> wrote: >>> On Fri, Nov 19, 2010 at 04:41:48PM +0100, Ferenc Kovacs wrote: >>>> you c

Re: [PHP-DEV] Magic quotes in trunk

2010-11-19 Thread Stanley Sufficool
On Fri, Nov 19, 2010 at 8:14 AM, Daniel Convissor wrote: > On Fri, Nov 19, 2010 at 04:41:48PM +0100, Ferenc Kovacs wrote: >> you can get pwn3d with magic_quotes_gpc = On > > That goes without saying.  None the less, it will be problematic for PHP > to disable/remove a "security" feature that some

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Stanley Sufficool
+1 for removal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-16 Thread Stanley Sufficool
-1 I won't be using it. I won't argue on this thread since it is a +/- vote on the idea of Annotations, not the proposed implementation of it. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-13 Thread Stanley Sufficool
2010/11/13 Jérôme Loyet : > Le 12 novembre 2010 23:57, Jani Taskinen a écrit : >> I updated the patch: >> >>  http://pecl.php.net/~jani/patches/multi-sapi.patch >> >> Now it will fail if no sapi/binary is selected. And "make install" will now >> also install them all. :) > > it seems to work well.

Re: [PHP-DEV] PDO_DBLIB Native PHP Type binding

2010-11-07 Thread Stanley Sufficool
On Sun, Nov 7, 2010 at 2:33 AM, Lester Caine wrote: > Stanley Sufficool wrote: >> >> On Fri, Nov 5, 2010 at 1:28 AM, Lester Caine  wrote: >>> >>> Stanley Sufficool wrote: >>>>> >>>>> Rule Of Thumb: >>>>>&

Re: [PHP-DEV] PDO_DBLIB Native PHP Type binding

2010-11-05 Thread Stanley Sufficool
On Fri, Nov 5, 2010 at 1:28 AM, Lester Caine wrote: > Stanley Sufficool wrote: >>> >>> Rule Of Thumb: >>> >  If it's a BLOB, and you aren't using it in WHERE or ORDER BY, then it >>> >  doesn't belong in the DB. >>>

Re: [PHP-DEV] PDO_DBLIB Native PHP Type binding

2010-11-04 Thread Stanley Sufficool
On Thu, Nov 4, 2010 at 7:44 PM, Richard Lynch wrote: > On Thu, November 4, 2010 9:09 pm, Stanley Sufficool wrote: >> On Thu, Nov 4, 2010 at 5:37 PM, Richard Lynch wrote: >>> On Wed, November 3, 2010 8:52 pm, Stanley Sufficool wrote: > > I realize as the guy who has to d

Re: [PHP-DEV] PDO_DBLIB Native PHP Type binding

2010-11-04 Thread Stanley Sufficool
On Thu, Nov 4, 2010 at 5:37 PM, Richard Lynch wrote: > On Wed, November 3, 2010 8:52 pm, Stanley Sufficool wrote: >> Before I gut PDO_DBLIB one more time to implement native parameter >> binding for stored procedures, what are the thoughts on returning the >> column values

[PHP-DEV] Re: [PDO] PDO_DBLIB Native PHP Type binding

2010-11-03 Thread Stanley Sufficool
On Wed, Nov 3, 2010 at 8:25 PM, Wez Furlong wrote: > > On Nov 3, 2010, at 9:52 PM, Stanley Sufficool wrote: > >> Before I gut PDO_DBLIB one more time to implement native parameter >> binding for stored procedures, what are the thoughts on returning the >> column valu

[PHP-DEV] PDO_DBLIB Native PHP Type binding

2010-11-03 Thread Stanley Sufficool
Before I gut PDO_DBLIB one more time to implement native parameter binding for stored procedures, what are the thoughts on returning the column values from the database as the native PHP type when possible? Currently everything is returned as a string, incurring overhead for conversion and creating

[PHP-DEV] Annotations Alternative?

2010-09-16 Thread Stanley Sufficool
After reading a little of this back and forth of annotations, validation and documentation (oh my). I thought, why not just abstract the standard types (string, int, bool, etc...) to SPL classes. This would allow for validation, documentation, casting, and related functions ( length, substr, etc..

Re: [PHP-DEV] PDO DBLIB Release Candidate?

2010-07-03 Thread Stanley Sufficool
On Sat, Jul 3, 2010 at 1:07 PM, Pierre Joye wrote: > hi, > > On Sat, Jul 3, 2010 at 8:40 PM, Stanley Sufficool > wrote: > >> I would argue that the additional fixes in trunk fix bugs rather than >> introducing new functionality since they were already in the PDO >&

Re: [PHP-DEV] PDO DBLIB Release Candidate?

2010-07-03 Thread Stanley Sufficool
On Fri, Jul 2, 2010 at 8:45 AM, Christopher Jones wrote: > > > On 07/02/2010 07:11 AM, Stanley Sufficool wrote: >> >> Can I get an affirmation if the pdo dblib code will be accepted in 5.2 >> and 5.3 branches? >> > > It shouldn't go into 5.2 if i

[PHP-DEV] PDO DBLIB Release Candidate?

2010-07-02 Thread Stanley Sufficool
Can I get an affirmation if the pdo dblib code will be accepted in 5.2 and 5.3 branches? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PDO_DBLIB Tests

2010-06-27 Thread Stanley Sufficool
I have several tests to submit for ext/pdo_dblib. I have karma to submit patches for ext/pdo_dblib, do I need a blessing to submit ext/pdo_dblib/tests tests to trunk? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-06-14 Thread Stanley Sufficool
On Mon, Jun 14, 2010 at 2:21 AM, Ferenc Kovacs wrote: >> > I don't know sqlite or IBM, but the MySQL SELECT INTO OUTFILE is a plain >> > SQL >> > statement, you don't need any special pdo function to use it, on the >> > other >> > hand, you can't use the postgresql's COPY TO/FROM with PDO without

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

2010-06-13 Thread Stanley Sufficool
On Sun, Jun 13, 2010 at 8:38 PM, Stanley Sufficool wrote: > On Sun, Jun 13, 2010 at 3:52 PM, Jared Williams > wrote: >> >> >>> -Original Message- >>> From: Stanley Sufficool [mailto:ssuffic...@gmail.com] >>> Sent: 13 June 2010 20:10 >&g

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

2010-06-13 Thread Stanley Sufficool
On Sun, Jun 13, 2010 at 3:52 PM, Jared Williams wrote: > > >> -Original Message----- >> From: Stanley Sufficool [mailto:ssuffic...@gmail.com] >> Sent: 13 June 2010 20:10 >> To: Ilia Alshanetsky >> Cc: Pierre Joye; Denis Gasparin; Matteo Beccati; >> i

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

2010-06-13 Thread Stanley Sufficool
On Sat, Jun 12, 2010 at 4:54 AM, Ilia Alshanetsky wrote: > The concerns you raised about custom methods specific to database drivers > were not reflective of the PDO's intent as was clarified by Wez and myself. > > The code that was introduced was specific to PostgreSQL, the common > functionality

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

2010-05-25 Thread Stanley Sufficool
On Tue, May 25, 2010 at 6:37 PM, Wez Furlong wrote: > On Mon, May 24, 2010 at 3:07 PM, Pierre Joye wrote: >> On Mon, May 24, 2010 at 8:56 PM, Ilia Alshanetsky wrote: >>> Pierre, >>> As one of the original authors of PDO that is news to me. PDO was designed >>> to allow common functionality to be

[PHP-DEV] SVN Account Request: ssufficool

2010-05-15 Thread Stanley Sufficool
Maintaining the PDO DBLIB driver and creating new PDO drivers. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Obscure token name

2010-05-14 Thread Stanley Sufficool
On Tue, May 11, 2010 at 7:56 PM, Stanislav Malyshev wrote: > Hi! > >> The rest of PHP5 is in English, why do I have to strain my brain or >> fire up my browser to decipher "Unexpected token >> T_PAAMAYIM_NEKUDOTAYIM on line ## in". How many native >> Hebrew speaking programmers will be put off by

Re: [PHP-DEV] svn account request ssufficool

2010-05-14 Thread Stanley Sufficool
for DBLIB, maybe other drivers later. http://bugs.php.net/bug.php?id=50755 2010/5/14 Johannes Schlüter : > On Thu, 2010-05-13 at 19:33 -0700, Stanley Sufficool wrote: >> I would like to contribute to the PDO abstraction layer. > > Work on PDO is appreciated. But we don't hand

[PHP-DEV] svn account request ssufficool

2010-05-13 Thread Stanley Sufficool
I would like to contribute to the PDO abstraction layer. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Bug # 50755

2010-03-23 Thread Stanley Sufficool
PDO DBLIB fetch on demand patch revised and posted at: http://bugs.php.net/bug.php?id=50755&edit=2 Comments are eagerly awaited. I'm excited about this one... I can feel the warm patch acceptance. ;) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.n

Re: [PHP-DEV] Bug # 50755

2010-03-19 Thread Stanley Sufficool
On Fri, Mar 19, 2010 at 9:07 AM, Matteo Beccati wrote: > > So, I tried to make some time and looked at the patch for 5.3. I have to say > that I haven't tested it nor I'm an expert by any means of the > sybase/mysql/freetds api. > > Here are my findings: > > 1. dblib_driver.c and the README were c

Re: [PHP-DEV] Bug # 50755

2010-03-17 Thread Stanley Sufficool
On Mon, Mar 15, 2010 at 8:45 AM, Christopher Jones wrote: > > > Stanley Sufficool wrote: >> I have attached patches for bug # 50755 on bugs.php.net. These also >> cleanup to PDO DBLIB code to have less of a memory footprint and to >> prepare for other feature additi

[PHP-DEV] Bug # 50755

2010-03-14 Thread Stanley Sufficool
I have attached patches for bug # 50755 on bugs.php.net. These also cleanup to PDO DBLIB code to have less of a memory footprint and to prepare for other feature additions such as multiple rowset support. I have compiled and tested on x86. Can someone review and provide feedback. Thank you. --

[PHP-DEV] PHP Bug # 50755

2010-03-11 Thread Stanley Sufficool
I have attached patches for bug # 50755 on bugs.php.net. These also cleanup to PDO DBLIB code to have less of a memory footprint and to prepare for other feature additions such as multiple rowset support. I have compiled and tested on x86. Can someone review and provide feedback. PDO devs seem to

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

2010-01-21 Thread Stanley Sufficool
On Thu, Jan 21, 2010 at 8:32 PM, Niel Archer wrote: >> > Stanley Sufficool wrote: >> > > I have tried to contact the maintainers of PDO with this, but have yet >> > > to get a response. Can I get this reviewed and if possible commited? >> > > >>

[PHP-DEV] [PATCH] PDO DBLIB

2010-01-20 Thread Stanley Sufficool
I have tried to contact the maintainers of PDO with this, but have yet to get a response. Can I get this reviewed and if possible commited? Fixes BUG # 50755: http://bugs.php.net/bug.php?id=50755&edit=1 Compiled and tested with PHP SVN 5.2 Index: ext/pdo_dblib/dblib_stmt.c ===