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 f

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 (includi

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 wrote: > > > > > On 18/02/15 15:59, Nikita Popov wrote: > > > On Wed, Feb 18, 2015 at 7:22 AM, Dmitry Stogov wrote: > > > > > >> Hi, > > >> > > >> On Tue, Feb 17, 2015 at 2:46 PM, Alexander Lisa

RE: [PHP-DEV] Bug #64910: Line number of $e = new Exception vs. line number of throw $e

2013-05-23 Thread Jared Williams
> -Original Message- > From: Sebastian Bergmann [mailto:sebast...@php.net] > Sent: 23 May 2013 21:18 > To: internals@lists.php.net > Subject: [PHP-DEV] Bug #64910: Line number of $e = new > Exception vs. line number of throw $e > > Hi! > > The error message that is created for an u

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 lo

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 exp

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

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] [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 tha

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 > wrote: > > > Hi Nikita, >

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 >

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 > wrote: > > Hi internals! > > > > In the last few day

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 o

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 > comp

RE: [PHP-DEV] Traits and memory size

2012-04-09 Thread Jared Williams
> -Original Message- > From: Ben Schmidt [mailto:mail_ben_schm...@yahoo.com.au] > Sent: 10 April 2012 02:35 > To: internals@lists.php.net > Subject: [PHP-DEV] Traits and memory size > > Hi! > > Just a quick question about traits. > > During the flattening process, is a copy made of t

RE: [PHP-DEV] Object oriented page templates in PHP

2012-04-09 Thread Jared Williams
> -Original Message- > From: Tom Boutell [mailto:t...@punkave.com] > Sent: 09 April 2012 16:10 > To: PHP Internals > Subject: [PHP-DEV] Object oriented page templates in PHP > > There has been talk of making PHP a better templating > language. After all, it did start out there. > > Folk

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-internals&m=113998880315574&w=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 retur

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 thi

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 change

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 Date

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 fo

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 +020

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] sv

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

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/serializ

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 gett

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 igbi

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/

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/

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_filt

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 > wrote: > > > Jille Timmer

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 arra

RE: [PHP-DEV] function call chaining

2010-01-19 Thread Jared Williams
> -Original Message- > From: Stanislav Malyshev [mailto:s...@zend.com] > Sent: 19 January 2010 00:28 > To: 'PHP Internals' > Subject: [PHP-DEV] function call chaining > > Hi! > > I wrote a small patch that enables this kind of syntax in PHP: > > foo()(); > > What it means is that if

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 th

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

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 an

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() ( > http://wiki.ph

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 : > > Hi. > > > > What are the plans for providing pre-bui

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 > wrote: > > > 1. Document the fact that if y

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

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 Willi

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

2008-11-10 Thread Jared Williams
008 12:32 > To: PHP 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 > ---

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

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 v

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, Sebastia

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

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 > iss

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 l

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: > > > > > > > >

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 to

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-internals&m=111384113712112&w=2 J > -Original Message- > From: David Zülke [mailto:[EMAIL PROTECTED] > Sent:

RE: [PHP-DEV] Class Posing

2007-10-02 Thread Jared Williams
I think they end up using the dependency injection pattern. http://www.picocontainer.org/ java implementation with a PHP port. http://sourceforge.net/projects/phemto/ is a more lightweight PHP implementation. Its README http://phemto.cvs.sourceforge.net/phemto/phemto/README?revision=1.1.1.1&vi

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 fun

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 friendly?

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 a

RE: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-22 Thread Jared Williams
> -Original Message- > From: Tomas Kuliavas [mailto:[EMAIL PROTECTED] > Sent: 21 May 2007 19:26 > To: Andrei Zmievski > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] PHP Unicode extension in PHP6 > > >> 0xC4 and 0x85 are hex codes for latin small letter a with > ogonek in > >>

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
> > > 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. > > > > http://

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

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 unsubs

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.ph

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 <[EMAI

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:

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 name

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 > -d"error_reporting=8191"

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

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

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 ha

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 paramete

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

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

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

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 {} > fo

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

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

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 > comple

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 > to simple becuase the tools in

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

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.

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 shoul

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: http://

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
> > > > -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 n

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 worke

[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] 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

RE: [PHP-DEV] RE: [PHP-DOC] Re: [PHP-DEV] Summer of Code

2006-04-15 Thread Jared Williams
> > How about moving away from using system entities to construct the > > manual and using Xinclude instead? (See the mysql ref > manual docbook > > sources) This would make the base pages independent from > each other, and loadable into a DOMDocument, which could be > transformed with xslt.

[PHP-DEV] RE: [PHP-DOC] Re: [PHP-DEV] Summer of Code

2006-04-15 Thread Jared Williams
> -Original Message- > From: Gabor Hojtsy [mailto:[EMAIL PROTECTED] > Sent: 15 April 2006 13:24 > To: Nuno Lopes > Cc: Rasmus Lerdorf; internals; PHPdoc > Subject: Re: [PHP-DOC] Re: [PHP-DEV] Summer of Code > > Nuno Lopes wrote: > >> Google is doing their Summer of Code thing again thi

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)

RE: [PHP-DEV] phps line numbering

2006-03-17 Thread Jared Williams
> Sorry, I meant to send my first mail to the entire list about > this, but http://pastebin.com works fine here in firefox, > although Jared Williams reported back that it pastes the line > numbers for him. > Version and OS differences perhaps? I don't have a machine to

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

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 (..) 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. > > Un

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. > > Sh

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 >

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 s

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 t

[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: http://www.php.n

  1   2   >