Re: [PHP-DEV] [RFC][DISCUSSION] Argon2 Password Hash

2016-08-07 Thread Jared Williams
On Fri, 2016-08-05 at 07:47 -0500, Charles R. Portwood II wrote: > Hello Internals, > > Due to a couple issue with the original RFC's scope, the RFC for > introducing Argon2 as an alternative hashing algorithm for the > password_* > functions was closed shortly after starting on Monday. > > The

Re: [PHP-DEV] New HashTable implementation?

2016-04-29 Thread Jared Williams
On Thu, 2016-04-28 at 19:04 -0500, Matt Wilmas wrote: > Hi all, > > Last June, it was briefly mentioned about changing PHP's string hash > function [1] (DJB33 *seems* pretty horrible, after all, as far as > collisions...).  So 8 months ago I tried almost, if not, a half-dozen > of > them

Re: [PHP-DEV] [RFC][Discussion] Parser extension API

2015-02-18 Thread Jared Williams
On Wed, 2015-02-18 at 16:17 +0100, Nikita Popov wrote: On Wed, Feb 18, 2015 at 4:06 PM, Cesar Rodas ce...@rodas.me wrote: On 18/02/15 15:59, Nikita Popov wrote: On Wed, Feb 18, 2015 at 7:22 AM, Dmitry Stogov dmi...@zend.com wrote: Hi, On Tue, Feb 17, 2015 at 2:46 PM,

RE: [PHP-DEV] __init magic method

2013-01-23 Thread Jared Williams
-Original Message- From: Pete Boere [mailto:p...@the-echoplex.net] Sent: 22 January 2013 12:30 To: internals@lists.php.net Subject: [PHP-DEV] __init magic method Has there ever been any discussion on an __init magic method for bootstraping static properties on class load?

RE: [PHP-DEV] Re: Arrays which have properties of sets

2012-10-07 Thread Jared Williams
-Original Message- From: Rasmus Schultz [mailto:ras...@mindplay.dk] Sent: 07 October 2012 02:10 To: internals@lists.php.net Subject: [PHP-DEV] Re: Arrays which have properties of sets First off, let me say - as you pointed out, when the values are unique, they are best

[PHP-DEV] Foreach list behaviour

2012-09-02 Thread Jared Williams
Hi, Just looking at the foreach list behaviour and it does this... $i = [1, 2, 3]; foreach($i as list($a, $b)) var_dump($a, $b); Outputs NULL NULL NULL NULL NULL NULL There is no test I can see covering this, so cannot tell if its expected. To me, $i does not meet the

RE: [PHP-DEV] [VOTE] Generators

2012-08-29 Thread Jared Williams
-Original Message- From: Nikita Popov [mailto:nikita@gmail.com] Sent: 25 August 2012 17:11 To: PHP internals Subject: [PHP-DEV] [VOTE] Generators Hi internals! I think the generators RFC has been discussed thoroughly enough by now, so I opened the vote:

RE: [PHP-DEV] [VOTE] Generators

2012-08-29 Thread Jared Williams
-Original Message- From: Hannes Magnusson [mailto:hannes.magnus...@gmail.com] Sent: 29 August 2012 22:50 To: Derick Rethans Cc: Nikita Popov; Jared Williams; PHP internals Subject: Re: [PHP-DEV] [VOTE] Generators On Wed, Aug 29, 2012 at 10:19 PM, Derick Rethans der

RE: [PHP-DEV] [RFC] Generators

2012-08-20 Thread Jared Williams
-Original Message- From: Nikita Popov [mailto:nikita@gmail.com] Sent: 20 August 2012 14:12 To: Ángel González Cc: Rasmus Lerdorf; Stas Malyshev; Derick Rethans; PHP internals Subject: Re: [PHP-DEV] [RFC] Generators On Mon, Aug 20, 2012 at 1:56 PM, Ángel González

RE: [PHP-DEV] [RFC] Generators

2012-08-19 Thread Jared Williams
-Original Message- From: Stas Malyshev [mailto:smalys...@sugarcrm.com] Sent: 20 August 2012 00:08 To: Derick Rethans Cc: Nikita Popov; PHP internals Subject: Re: [PHP-DEV] [RFC] Generators Hi! I am against this. This is even more magic in PHP. Is it really that

RE: [PHP-DEV] [RFC] Generators

2012-08-13 Thread Jared Williams
-Original Message- From: Anthony Ferrara [mailto:ircmax...@gmail.com] Sent: 13 August 2012 03:49 To: Brian Moon Cc: Nikita Popov; PHP internals Subject: Re: [PHP-DEV] [RFC] Generators Brian, On Sun, Aug 12, 2012 at 4:08 PM, Brian Moon br...@moonspot.net wrote: Hi

RE: [PHP-DEV] Re: Generators in PHP

2012-07-25 Thread Jared Williams
-Original Message- From: Nikita Popov [mailto:nikita@gmail.com] Sent: 22 July 2012 16:53 To: Jared Williams Cc: Nikita Popov; PHP internals Subject: Re: [PHP-DEV] Re: Generators in PHP On Sat, Jul 21, 2012 at 6:31 PM, Jared Williams jared.willia...@ntlworld.com wrote

RE: [PHP-DEV] Re: Generators in PHP

2012-07-21 Thread Jared Williams
-Original Message- From: Nikita Popov [mailto:nikita@gmail.com] Sent: 20 July 2012 21:46 To: Nikita Popov Cc: PHP internals Subject: [PHP-DEV] Re: Generators in PHP On Tue, Jun 5, 2012 at 7:35 PM, Nikita Popov nikita@googlemail.com wrote: Hi internals! In the

RE: [PHP-DEV] Internal iteration API

2012-07-13 Thread Jared Williams
-Original Message- From: Nikita Popov [mailto:nikita@gmail.com] Sent: 11 July 2012 23:17 To: PHP internals Subject: [PHP-DEV] Internal iteration API Hi internals! Currently PHP does not have an internal iteration API that supports both arrays and Traversable objects.

RE: [PHP-DEV] List comprehensions and generator expressions for PHP

2012-06-28 Thread Jared Williams
-Original Message- From: Nikita Popov [mailto:nikita@gmail.com] Sent: 28 June 2012 11:49 To: PHP internals Subject: [PHP-DEV] List comprehensions and generator expressions for PHP Hi internals! Python and several other languages include support for list comprehensions

RE: [PHP-DEV] fclose(), file_put_contents(), copy() all fail to return false on error

2011-10-23 Thread Jared Williams
Raised this 5 years ago.. http://marc.info/?l=php-internalsm=113998880315574w=2 Jared -Original Message- From: Tom Boutell [mailto:t...@punkave.com] Sent: 21 October 2011 20:40 To: PHP Internals Subject: [PHP-DEV] fclose(), file_put_contents(), copy() all fail to return false

RE: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Jared Williams
-Original Message- From: Paul Dragoonis [mailto:dragoo...@gmail.com] Sent: 18 August 2011 12:12 To: PHP Internals List Subject: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default Hey guys, After a brief discussion with Pierre I'm taking this

RE: [PHP-DEV] Make set_time_limit() timeout a catchable fatal error

2011-03-08 Thread Jared Williams
Hi, Would pcntl_alarm() work? Jared -Original Message- From: Sebastian Bergmann [mailto:sebast...@php.net] Sent: 08 March 2011 13:06 To: internals@lists.php.net Subject: [PHP-DEV] Make set_time_limit() timeout a catchable fatal error Could set_time_limit() be changed in

RE: [PHP-DEV] rfc2616 datetime format?

2010-10-04 Thread Jared Williams
-Original Message- From: Derick Rethans [mailto:der...@php.net] Sent: 04 October 2010 09:55 To: Stas Malyshev Cc: PHP Internals Subject: Re: [PHP-DEV] rfc2616 datetime format? On Sun, 3 Oct 2010, Stas Malyshev wrote: The reason is that in order to format a DateTime object

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

2010-06-13 Thread Jared Williams
-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; internals@lists.php.net; pdo Subject: Re: [PHP-DEV] Re: [PDO] Re: [PHP-DEV] [PATCH] New PDO methods for

RE: [PHP-DEV] Type hinting

2010-06-09 Thread Jared Williams
-Original Message- From: Zeev Suraski [mailto:z...@zend.com] Sent: 09 June 2010 15:17 To: Daniel Convissor Cc: PHP Internals List Subject: Re: [PHP-DEV] Type hinting At 02:59 09/06/2010, Daniel Convissor wrote: Hi Lukas: On Fri, Jun 04, 2010 at 08:28:12AM +0200, Lukas

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-15 Thread Jared Williams
-Original Message- From: Hannes Magnusson [mailto:hannes.magnus...@gmail.com] Sent: 15 May 2010 13:25 To: Jared Williams Cc: Johannes Schlüter; Pierre Joye; Stanislav Malyshev; Sara Golemon; PHP Internals Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-13 Thread Jared Williams
-Original Message- From: Pierre Joye [mailto:pierre@gmail.com] Sent: 12 May 2010 11:33 To: Stanislav Malyshev Cc: Sara Golemon; PHP Internals Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-13 Thread Jared Williams
-Original Message- From: Johannes Schlüter [mailto:johan...@schlueters.de] Sent: 13 May 2010 20:47 To: Jared Williams Cc: 'Pierre Joye'; 'Stanislav Malyshev'; 'Sara Golemon'; 'PHP Internals' Subject: RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c

RE: [PHP-DEV] What is the use of the $replacement property in the RegexIterator class.

2010-05-05 Thread Jared Williams
-Original Message- From: Richard Quadling [mailto:rquadl...@googlemail.com] Sent: 05 May 2010 17:26 To: PHP internals; PHP Documentation List Subject: [PHP-DEV] What is the use of the $replacement property in the RegexIterator class. Hi. I'm in the process of getting the

RE: [PHP-DEV] [RFC] Performance improvements

2010-04-13 Thread Jared Williams
Hi Wondering if there is any plans to for new serialization method? One of the things that igbinary does is store strings only once, and now that the engine supports string interning natively, seems that serialization and deserialization could benefit. Though I guess

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/filter/logical_filters.c trunk/ext/filter/

2010-04-04 Thread Jared Williams
-Original Message- From: Rasmus Lerdorf [mailto:ras...@lerdorf.com] Sent: 03 April 2010 02:44 To: Jared Williams Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches

RE: [PHP-DEV] php and multithreading (additional arguments)

2010-04-02 Thread Jared Williams
-Original Message- From: Ferenc Kovacs [mailto:tyr...@gmail.com] Sent: 02 April 2010 08:40 To: Lester Caine Cc: PHP internals Subject: Re: [PHP-DEV] php and multithreading (additional arguments) On Fri, Apr 2, 2010 at 9:30 AM, Lester Caine les...@lsces.co.uk wrote: Jille

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/filter/logical_filters.c trunk/ext/filter/

2010-04-02 Thread Jared Williams
-Original Message- From: Ferenc Kovacs [mailto:tyr...@gmail.com] Sent: 02 April 2010 23:09 To: Rasmus Lerdorf Cc: Sean Coates; internals@lists.php.net Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/filter/logical_filters.c trunk/ext/filter/

2010-04-02 Thread Jared Williams
-Original Message- From: Rasmus Lerdorf [mailto:ras...@lerdorf.com] Sent: 03 April 2010 01:20 To: Jared Williams Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches

RE: [PHP-DEV] array_seek function

2010-03-16 Thread Jared Williams
-Original Message- From: Felix De Vliegher [mailto:felix.devlieg...@gmail.com] Sent: 16 March 2010 13:31 To: PHP internals Subject: [PHP-DEV] array_seek function Hi all I recently needed seek functionality in arrays, and couldn't find it in the regular set of array

RE: [PHP-DEV] Intl extension class MessageFormatter instantiation returns NULL

2009-12-09 Thread Jared Williams
-Original Message- From: Chris Stockton [mailto:chrisstockto...@gmail.com] Sent: 09 December 2009 20:39 To: PHP Developers Mailing List Subject: [PHP-DEV] Intl extension class MessageFormatter instantiation returns NULL Hello, I am trying to use ChoiceFormat in the Intl

RE: [PHP-DEV] RFC: Custom Factories (SPL)

2009-11-18 Thread Jared Williams
-Original Message- From: Robert Lemke [mailto:rob...@typo3.org] Sent: 18 November 2009 16:07 To: internals@lists.php.net Subject: [PHP-DEV] RFC: Custom Factories (SPL) Hi folks, after discussing the idea with various PHP developers I now felt safe enough that it's not a

RE: [PHP-DEV] reference caller object

2009-09-19 Thread Jared Williams
-Original Message- From: Stan Vassilev [mailto:sv_for...@fmethod.com] Sent: 19 September 2009 11:33 To: troels knak-nielsen; Ford, Mike Cc: internals@lists.php.net Subject: Re: [PHP-DEV] reference caller object I, for one, am quite happy that it's fairly complicated and

RE: [PHP-DEV] The constant use of isset()

2009-05-12 Thread Jared Williams
-Original Message- From: Ólafur Waage [mailto:olaf...@gmail.com] Sent: 12 May 2009 17:35 To: internals@lists.php.net Subject: [PHP-DEV] The constant use of isset() While researching for this suggestion I found this rfc proposal regarding ifsetor() (

RE: [PHP-DEV] Re: Win32 PECL pre-built binaries.

2009-04-29 Thread Jared Williams
-Original Message- From: Richard Quadling [mailto:rquadl...@googlemail.com] Sent: 29 April 2009 11:33 To: PHP internals; php-windows Subject: [PHP-DEV] Re: Win32 PECL pre-built binaries. 2009/4/29 Richard Quadling rquadl...@googlemail.com: Hi. What are the plans for

RE: [PHP-DEV] json_encode()

2008-12-15 Thread Jared Williams
-Original Message- From: mike [mailto:mike...@gmail.com] Sent: 15 December 2008 18:10 To: Rasmus Lerdorf Cc: PHP Developers Mailing List Subject: Re: [PHP-DEV] json_encode() On Mon, Dec 15, 2008 at 9:50 AM, Rasmus Lerdorf ras...@lerdorf.com wrote: 1. Document the fact

RE: [PHP-DEV] Upgrading to internal DateTime

2008-12-05 Thread Jared Williams
-Original Message- From: Lester Caine [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 06:24 To: internals@lists.php.net Subject: [PHP-DEV] Upgrading to internal DateTime OK I spent yesterday working trough some of the idiosyncrasies of DateTime and having had a sleep I've

RE: [PHP-DEV] alpha3 or forever hold your peace

2008-11-10 Thread Jared Williams
-Original Message- From: Lester Caine [mailto:[EMAIL PROTECTED] Sent: 10 November 2008 08:23 To: PHP internals Subject: Re: [PHP-DEV] alpha3 or forever hold your peace Lukas Kahwe Smith wrote: I just wanted to ask everybody to skim over the changes for PHP 5.3 we have in

RE: [PHP-DEV] alpha3 or forever hold your peace

2008-11-10 Thread Jared Williams
internals Subject: Re: [PHP-DEV] alpha3 or forever hold your peace Jared Williams wrote: APC is another missing extension. apc is in pecl - so would be provided with the PECL binary. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/lsces/wiki/?page

RE: [PHP-DEV] alpha3 or forever hold your peace

2008-11-10 Thread Jared Williams
-Original Message- From: Pierre Joye [mailto:[EMAIL PROTECTED] Sent: 10 November 2008 15:46 To: Jared Williams Cc: Lester Caine; PHP internals Subject: Re: [PHP-DEV] alpha3 or forever hold your peace On Mon, Nov 10, 2008 at 4:43 PM, Jared Williams [EMAIL PROTECTED] wrote

Re: [PHP-DEV] [RFC] Iteration tools

2008-11-04 Thread Jared Williams
Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Ionut, some remarks about your proposal: 1) You can turn any array into a Traversable using (Recursive)ArrayIterator. Though this solution is still slow. The issue is that the c-level code needs to verify the

RE: [PHP-DEV] New string functions: str_startswith() and str_endswith()

2008-07-21 Thread Jared Williams
Surely substr_compare() does both begin end easily enough. Though the fact that it throws warnings is annoying. Jared -Original Message- From: Stan Vassilev | FM [mailto:[EMAIL PROTECTED] Sent: 21 July 2008 13:18 To: internals Subject: Re: [PHP-DEV] New string functions:

RE: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-28 Thread Jared Williams
-Original Message- From: Brian Moon [mailto:[EMAIL PROTECTED] Sent: 28 May 2008 16:21 To: Antony Dovgal Cc: Sebastian Deutsch; internals@lists.php.net Subject: Re: [PHP-DEV] Re: Short syntax for array literals [...] Antony Dovgal wrote: On 28.05.2008 02:58, Sebastian Deutsch

RE: [PHP-DEV] APC doesn't work on Windows?

2008-05-23 Thread Jared Williams
-Original Message- From: Edward Z. Yang [mailto:[EMAIL PROTECTED] Sent: 23 May 2008 20:23 To: internals@lists.php.net Subject: [PHP-DEV] APC doesn't work on Windows? I don't really care either way, but if it's a well known fact, might as well stop trying. Does APC work on

RE: [PHP-DEV] Unable to unit test code containing *_uploaded_file()

2008-04-23 Thread Jared Williams
-Original Message- From: Piotr Czachur [mailto:[EMAIL PROTECTED] Sent: 23 April 2008 12:36 To: internals@lists.php.net Subject: [PHP-DEV] Unable to unit test code containing *_uploaded_file() Hello! I use PHPUnit for unit testing of my application (but this issue is

RE: [PHP-DEV] short_open_tag

2008-03-26 Thread Jared Williams
-Original Message- From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] Sent: 26 March 2008 20:28 To: Lukas Kahwe Smith Cc: Derick Rethans; Marcus Boerger; Hannes Magnusson; PHP Internals Subject: Re: [PHP-DEV] short_open_tag Hi! do note that we have increasingly large

RE: [PHP-DEV] short_open_tag

2008-03-23 Thread Jared Williams
-Original Message- From: Stefan Walk [mailto:[EMAIL PROTECTED] Sent: 23 March 2008 11:08 To: Jared Williams Cc: 'PHP Internals' Subject: Re: [PHP-DEV] short_open_tag Jared Williams schrieb: ul ? foreach ($items as $item): ? li?=htmlspecialchars($item)?/li ? endforeach

RE: [PHP-DEV] short_open_tag

2008-03-22 Thread Jared Williams
-Original Message- From: Stefan Walk [mailto:[EMAIL PROTECTED] Sent: 22 March 2008 22:52 To: 'PHP Internals' Subject: Re: [PHP-DEV] short_open_tag Johannes Schlüter schrieb: Now we have the big issue: Do we want to have short open tags forever? Well, without tooo much

RE: [PHP-DEV] [Patch] http_fopen_wrapper.c and allowing any response code w/o warning

2007-11-02 Thread Jared Williams
Yes, had fun with trying to use http php streams ... Imo, 2xx status codes should always be considered succesful. http://bugs.php.net/bug.php?id=36947 http://marc.info/?l=php-internalsm=111384113712112w=2 J -Original Message- From: David Zülke [mailto:[EMAIL PROTECTED] Sent: 01

RE: [PHP-DEV] Class Posing

2007-10-02 Thread Jared Williams
Ideally think I'd prefer it finer grained... interface A { } class AImpl implements A { } register('A', function() { return new AImpl(); }); register('Foo', function() { return new Bar(); }); $foo = new Foo(); $a = new A(); Would also require

RE: [PHP-DEV] RFC: mark functions as const for possible optimizations

2007-09-25 Thread Jared Williams
Hi, Just a thought, now dl() has been deprecated and disabled in SAPIs (except CLI,CGI,embed), would that mean extension_loaded() would become a optimizable function? So something like include extension_loaded('gmp') ? 'GMPFoo.php' : 'PHPFoo.php'; Would be optimized to be more APC

RE: [PHP-DEV] bitwise operations and Unicode strings

2007-05-30 Thread Jared Williams
-Original Message- From: Antony Dovgal [mailto:[EMAIL PROTECTED] Sent: 30 May 2007 09:21 To: [EMAIL PROTECTED] Cc: php-dev Subject: Re: [PHP-DEV] bitwise operations and Unicode strings On 30.05.2007 04:15, Richard Lynch wrote: This code outputs 3 in native mode and Fatal

RE: [PHP-DEV] gd development as part of php.net

2006-08-31 Thread Jared Williams
-Original Message- From: Thomas Boutell [mailto:[EMAIL PROTECTED] Sent: 31 August 2006 00:17 To: internals@lists.php.net Subject: [PHP-DEV] gd development as part of php.net Unfortunately there hasn't been any movement on this since I handed it over to Pierre in April.

RE: [PHP-DEV] Problems with APC

2006-08-28 Thread Jared Williams
-Original Message- From: Sara Golemon [mailto:[EMAIL PROTECTED] Sent: 27 August 2006 20:17 To: internals@lists.php.net; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-DEV] Problems with APC I get a segfault with PHP 5.2.0RC2 in CLI mode (Apache module seems to work)

RE: [PHP-DEV] Problems with APC

2006-08-28 Thread Jared Williams
I get a segfault with PHP 5.2.0RC2 in CLI mode (Apache module seems to work) and APC 3.0.11 (without APC it works fine). Is this a known problem (maybe even fixed in CVS) or is it worth investigating? Yes, it's a known problem.

RE: [PHP-DEV] RfC: rethink OO inheritance strictness

2006-08-02 Thread Jared Williams
PS: An real-life example from those wo prefer the old behavior would be nice ;-) -soenke Yes, I having a hard time imaging one, other than some quick fix. I'd much rather have some decent refactoring tools. Jared -- PHP Internals - PHP Runtime Development Mailing List To

RE: [PHP-DEV] testing filter ext in RC1

2006-07-29 Thread Jared Williams
Hi, Also it does seem NUL char safe? php -r $var='3'.chr(0).'foo'; var_dump(filter_data($var, FILTER_VALIDATE_INT)); int(3) Jared -Original Message- From: Pierre [mailto:[EMAIL PROTECTED] Sent: 28 July 2006 17:44 To: Kevin Waterson Cc: internals@lists.php.net

RE: [PHP-DEV] testing filter ext in RC1

2006-07-28 Thread Jared Williams
Hi, An empty string returns 0. php -r $var=''; var_dump(filter_data($var, FILTER_VALIDATE_INT)); int(0) Which maybe is what was intended, but imho still should return false. Jared -Original Message- From: Pierre [mailto:[EMAIL PROTECTED] Sent: 28 July 2006 17:44 To: Kevin

RE: [PHP-DEV] testing filter ext in RC1

2006-07-28 Thread Jared Williams
-Original Message- From: Pierre [mailto:[EMAIL PROTECTED] Sent: 28 July 2006 18:34 To: [EMAIL PROTECTED] Cc: Kevin Waterson; internals@lists.php.net Subject: Re: [PHP-DEV] testing filter ext in RC1 On 7/28/06, Jared Williams [EMAIL PROTECTED] wrote: Hi, Also

RE: [PHP-DEV] RfC: rethink OO inheritance strictness

2006-07-21 Thread Jared Williams
Hi (Marcus), unfortunately I'm not very happy with the direction OO strictness takes in PHP. I'm sure I'm not alone and many people second this feeling. Precisely, let's have a look at the following: [EMAIL PROTECTED]:~/build/php-5.2-debug$ cli -derror_reporting=8191 -r 'class

RE: [PHP-DEV] Adding pecl/zip to 5.2

2006-07-21 Thread Jared Williams
Many people (incl. php devs) asked me if I can include zip in 5.2.0. Ilia thought it was too late in the game and planed to do it in 5.2.1. I like to have it in, as experimental. Please note that it intoduces a new class called Zip, but I never saw a php zip implementation named Zip.

RE: [PHP-DEV] Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h)

2006-07-19 Thread Jared Williams
-Original Message- From: Lester Caine [mailto:[EMAIL PROTECTED] Sent: 19 July 2006 09:53 To: Derick Rethans Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h) Derick Rethans wrote:

RE: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in HTTP input decoding

2006-07-10 Thread Jared Williams
P.S. - Has anyone considered offering up an RFC to IETF or W3C about adding a header to the spec? Or just asking the nice Firefox folks to blaze the trail with an X-header? PHP can't be the only web-language dealing with this issue. W3 standard is to have the charset parameter on

RE: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in HTTP input decoding

2006-07-10 Thread Jared Williams
P.S. - Has anyone considered offering up an RFC to IETF or W3C about adding a header to the spec? Or just asking the nice Firefox folks to blaze the trail with an X-header? PHP can't be the only web-language dealing with this issue. W3 standard is to have the charset

RE: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in HTTP input decoding

2006-07-10 Thread Jared Williams
-Original Message- From: Andrei Zmievski [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 23:50 To: [EMAIL PROTECTED] Cc: 'Sara Golemon'; internals@lists.php.net Subject: Re: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in HTTP input decoding W3 standard is to have the charset

RE: [PHP-DEV] RFC: Error handling in HTTP input decoding

2006-06-22 Thread Jared Williams
-Original Message- From: Andrei Zmievski [mailto:[EMAIL PROTECTED] Sent: 22 June 2006 22:46 To: PHP Internals Cc: PHP I18N Subject: [PHP-DEV] RFC: Error handling in HTTP input decoding I'd like to solicit opinions on how we should treat conversion failures during HTTP

RE: [PHP-DEV] Re: strlen() under unicode.semantics

2006-06-21 Thread Jared Williams
Enjoyed Andrei's talk at the NYPHP Conference last week about unicode in PHP 6. He mentioned that when unicode.semantics is on, strlen() will return the number of characters rather than the number of bytes, like mb_string() does or strlen() if mbstring.func_overload is on. The

RE: [PHP-DEV] RFC array functions

2006-05-27 Thread Jared Williams
-Original Message- From: Marcus Boerger [mailto:[EMAIL PROTECTED] Sent: 27 May 2006 22:28 To: internals@lists.php.net Subject: [PHP-DEV] RFC array functions Hello internals, i'd like to add two array functions: - bool array_has_more(array $array) checks whether

RE: [PHP-DEV] Flamewar Summary

2006-05-17 Thread Jared Williams
There are 2 PHP 5.2 changes there has been a lot of back and forth flaming going around and we need to finally come to a decision about. The two topics are: Inclusion of E_STRICT and E_RECOVERABLE_ERROR into E_ALL Addition of support for dynamic statics ala: class foo {} foo::$bar

RE: [PHP-DEV] Re: private, protected, readonly, public

2006-05-16 Thread Jared Williams
On May 13, 2006, at 7:18 PM, Marcus Boerger wrote: hehe, maybe confused with delphi or borlands c++ additons? Speaking of which before we add 'readonly' we should go for full property support but on the other hand that might be a little bit too much until php is used with code

RE: [PHP-DEV] xmlwriter_write_raw() not in 5.1.4 yet?

2006-05-15 Thread Jared Williams
I'm on the latest and greatest PHP 5.1.4. I can see the function I think I want in the manual: http://us3.php.net/manual/en/function.xmlwriter-write-raw.php But the manual says it's only in CVS. I confirmed that I don't have it: * Fatal error: Call to undefined function

RE: [PHP-DEV] Re: Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jared Williams
Pierre wrote: I forgot to mention how vicious such changes can be. Most of times the related tests are updated in the same commit (or right after) to follow the new behavior. Making nearly impossible to know about the breakages without duplicating core tests in our apps. Also commit

RE: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jared Williams
-Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED] Sent: 11 May 2006 15:07 To: PHP Developers Mailing List Subject: Re: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO On Thu, 11 May 2006, Derick Rethans wrote: While I welcome new developments in either

RE: [PHP-DEV] #line C macro equivalent in php ?

2006-05-11 Thread Jared Williams
Hello William, as long as php has no goto no such generator is capable of generating php code. When that changes we want to have something alike of course. But actuall it is already in HEAD ... So thenWhy not cimply go with this: #line file line to simple becuase the tools in

RE: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jared Williams
Jared Williams wrote: Interesting logic break too... $foo = new stdClass(); if ($foo == null || $foo != null) { echo 'Never gets echoed'; } From a pure computer science point of view, the above makes complete sense. Null means unknown value, so nothing is equal

RE: [PHP-DEV] array type hint and SPL array interfaces

2006-05-09 Thread Jared Williams
Hi Marcus! I wondered, why PHP complains, if you have an array type hint in a method prototype and provide an object to this method, that implements the SPL interfaces to use objects as arrays. I would expect that, if an object can be handled exactly like an array, PHP should not

[PHP-DEV] PHP 5.1.3, IIS FastCGI

2006-05-03 Thread Jared Williams
Hi, It seems I can not get PHP 5.1.3 FastCGI to work. Had 5.1.3RC2 working with FastCGI. Was this a planned break, and requires some different means of getting it working? Or should I go file a bug report? Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

RE: [PHP-DEV] PHP 5.1.3, IIS FastCGI

2006-05-03 Thread Jared Williams
-Original Message- From: Dmitry Stogov [mailto:[EMAIL PROTECTED] Sent: 03 May 2006 12:33 To: [EMAIL PROTECTED]; internals@lists.php.net Subject: RE: [PHP-DEV] PHP 5.1.3, IIS FastCGI It wasn't planned. What exactly doesn't work? Appears no requests get to the worker

RE: [PHP-DEV] PHP 5.1.3, IIS FastCGI

2006-05-03 Thread Jared Williams
-Original Message- From: Dmitry Stogov [mailto:[EMAIL PROTECTED] Sent: 03 May 2006 12:33 To: [EMAIL PROTECTED]; internals@lists.php.net Subject: RE: [PHP-DEV] PHP 5.1.3, IIS FastCGI It wasn't planned. What exactly doesn't work? Appears no requests get to the

RE: [PHP-DEV] PHP 5.1.3, IIS FastCGI

2006-05-03 Thread Jared Williams
It should be already fixed in CVS. Please check. Ah. K :) Will check once the next snap is built. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] PHP 5.1.3, IIS FastCGI

2006-05-03 Thread Jared Williams
It should be already fixed in CVS. Please check. Ah. K :) Will check once the next snap is built. Jared Just installed todays' 18:30 snap, and its working. Cheers. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

RE: [PHP-DEV] ext/filter, add input_get_args, support of scalar orarray result

2006-05-02 Thread Jared Williams
-Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: 02 May 2006 07:42 To: [EMAIL PROTECTED] Cc: internals@lists.php.net Subject: Re: [PHP-DEV] ext/filter, add input_get_args, support of scalar orarray result Pierre wrote: I put a small example here:

RE: [PHP-DEV] open_basedir_for_include

2006-03-25 Thread Jared Williams
Sara Golemon wrote: The PDM recommendation covering the removal of safe_mode included a note on expanding the role of open_basedir. To that end, I'd like to propose introducing a new ini option: open_basedir_for_include which would allow using include/require(_once) on an

RE: [PHP-DEV] phps line numbering

2006-03-16 Thread Jared Williams
Jared Williams wrote: Replacing the list, with divs and using css generated content to display the line numbers, cleans up the paste output but won't get ... and doesn't work in IE. So no real win here. The semantic solution would be to use ol/li . Can't use ol/li thou

RE: [PHP-DEV] phps line numbering

2006-03-15 Thread Jared Williams
Patches have been written and languish simply awaiting inclusion in HEAD Johannes' method (olli.../li.../ol) doesn't copy paste well in FireFox 1.5 -- you might consider this a FF problem, but in any case, line numbers are pasted, so this is really a pain for sharing code.

RE: [PHP-DEV] Revisiting output control code

2006-02-27 Thread Jared Williams
I'd like to suggest that we revisit the output control (output buffering) code base. The current implementation uses way too less commands to do too many different operations, which almost always causes problems with output handlers that need to maintain a state or context. Short

RE: [PHP-DEV] recover from a segfault

2006-02-24 Thread Jared Williams
The problem is that setrlimit() need privilege to expand the process stack. I don't think it's a good idea to use this system call to fix the too-high-function-stack bug. There is no really way to fix correctly this bug. However I think we should re-examined the execution flow of PECL

RE: [PHP-DEV] [PATCH] Custom Streams, fclose stream_close

2006-02-15 Thread Jared Williams
Hi, stream_close can return any value it likes... however, it is ignored and php_userstreamop_close always returns success to the streams layer. This is a bug, but should be simple to fix. (volunteers welcome; I don't have a current cvs checkout). --Wez. This should fix it, I think.

RE: [PHP-DEV] [PATCH] Custom Streams, fclose stream_close

2006-02-15 Thread Jared Williams
stream_close can return any value it likes... however, it is ignored and php_userstreamop_close always returns success to the streams layer. This is a bug, but should be simple to fix. (volunteers welcome; I don't have a current cvs checkout). This should fix it, I

[PHP-DEV] Custom Streams, fclose stream_close

2006-02-13 Thread Jared Williams
Hi, Is the PHP manual correct in that fclose() returns a bool, but a custom wrapper stream_close() is void? Would like to signal a problem if I have a problem closing a custom stream. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

RE: [PHP-DEV] Re: zend_hash.c fishy code

2006-01-30 Thread Jared Williams
you are missing my point. My point is that when a hashtable contains these two elements example: BUCKET_ENTRY for h=15 --- Bucket1 : key == numeric - h= numeric hash value == 15 \ Bucket2: key == some string key, with a hash value equal to 15 Lets assume we want to

RE: [PHP-DEV] JSON inclusion in core

2006-01-21 Thread Jared Williams
At 06:01 PM 1/20/2006, Rasmus Lerdorf wrote: Andi Gutmans wrote: Yeah, but the main problem with this kind of stuff is when you start mapping classes and even references. I think it requires some additional pluming to be really useful for writing robust JavaScript--PHP connectivity so

RE: [PHP-DEV] JSON inclusion in core

2006-01-21 Thread Jared Williams
AFAIK an object in JSON is just an associative array in PHP, so I don't see the point here in implementing that in anything else than an associative array on the PHP side. The json extension currently creates stdClass objects. $config = '{windowA: { left: 10,

RE: [PHP-DEV] JSON inclusion in core

2006-01-21 Thread Jared Williams
At 04:25 AM 1/21/2006, Jared Williams wrote: What are the security implications of doing this? Creating objects based on a string from a untrusted source seems not good idea, unless can prevent tampering (with an HMAC or something). Well I think the right thing to do is pass an array

RE: [PHP-DEV] Naming Arguments

2006-01-18 Thread Jared Williams
From the perspective of providing reflection in general and giving something for editors with code completion to use in specific, would there be an interrest in backfilling the arg_info structs for internal functions (both core and otherwise) with argument naming and type hinting even

RE: [PHP-DEV] Re: Named arguments revisited

2006-01-15 Thread Jared Williams
I guess adding named arguments of internal functions would enable Reflection to properly reflect on function and method parameters of internal functions. Which would be nicer than the inconsistent state that exists now. Jared -- PHP Internals - PHP Runtime Development Mailing List To

RE: [PHP-DEV] Re: Named arguments revisited

2006-01-12 Thread Jared Williams
Andrei Zmievski wrote: On Jan 9, 2006, at 4:09 AM, Aidan Lister wrote: As useful functions tend to increase in complexity over time, often so does the number of parameters. It soon gets to the point where function calls look like: foo(true, false, false, false, false, true)

RE: [PHP-DEV] Re: Labeled Breaks (not the G-word)

2005-11-27 Thread Jared Williams
Guys, Laughter has nothing to do with it. However, as discussed between those who attended the meeting in Paris, goto earned its bad connotations for a reason. It was agreed that providing a general-purpose C-goto equivalent is not a good idea because it *will* very quickly lead to

RE: [PHP-DEV] Re: namespace separator poll, update

2005-11-27 Thread Jared Williams
On 11/27/05, Sara Golemon [EMAIL PROTECTED] wrote: Other possibilities: ** Double-Star+2 ;;Double-Semicolon +2 Reverse Heredoc Operator -1 ?? Double Question -1 -Sara I think we should use a non breaking space ( \xA0 ) as the separator, after all namespace

  1   2   >