Re: [PHP-DEV] Re: Re: PHP Crypt functions - security audit

2013-09-20 Thread Tjerk Anne Meesters
Hi Bryan, On Thu, Sep 19, 2013 at 9:29 PM, Bryan C. Geraghty wrote: > -Original Message- > From: tjerk.meest...@gmail.com [mailto:tjerk.meest...@gmail.com] On Behalf > Of Tjerk Anne Meesters > Sent: Thursday, September 19, 2013 4:01 AM > > > My point is that you ne

Re: [PHP-DEV] Re: Re: PHP Crypt functions - security audit

2013-09-19 Thread Tjerk Anne Meesters
On Thu, Sep 19, 2013 at 2:02 PM, Pierre Joye wrote: > > On Sep 18, 2013 6:07 PM, "Tjerk Anne Meesters" wrote: > > > > On Thu, Sep 19, 2013 at 8:33 AM, Ángel González > wrote: > > > > > On 16/09/13 15:58, Daniel Lowrey wrote: > > > >

Re: [PHP-DEV] Re: Re: PHP Crypt functions - security audit

2013-09-18 Thread Tjerk Anne Meesters
On Thu, Sep 19, 2013 at 8:33 AM, Ángel González wrote: > On 16/09/13 15:58, Daniel Lowrey wrote: > >> More generally, PHP's stream encryption aspects are quite poorly >> documented. For example, https:// streams disable peer verification by >> default. While I understand that this is necessary to

Re: [PHP-DEV] array_unique() and object comparison

2013-08-15 Thread Tjerk Anne Meesters
On Tue, Aug 13, 2013 at 6:15 PM, Matthieu Napoli wrote: > array_unique() is perfect for removing duplicates in a string array, but > not so great for an array of objects. > > SORT_REGULAR was added to compare items without casting them to string. > However it uses the "==" comparison operator. >

Re: [PHP-DEV] Language constructs and callability

2013-07-19 Thread Tjerk Anne Meesters
On Sat, Jul 20, 2013 at 1:32 AM, Arpad Ray wrote: > On Fri, Jul 19, 2013 at 6:28 PM, Daniel Lowrey wrote: > > > While it works, it somewhat obscures what you're trying to accomplish in > > the code. The maintainability nightmare alone may be enough to > > counterbalance any benefits. Then again,

Re: [PHP-DEV] ENT_ALL or similar option for htmlspecialchars[_decode]?

2013-06-27 Thread Tjerk Anne Meesters
On Fri, Jun 28, 2013 at 12:38 PM, Kris Craig wrote: > > > On Thu, Jun 27, 2013 at 9:20 PM, Kris Craig wrote: > >> >> >> On Thu, Jun 27, 2013 at 7:54 PM, Tjerk Anne Meesters wrote: >> >>> >>> >>> >>> On Thu, Jun 27, 2013

Re: [PHP-DEV] ENT_ALL or similar option for htmlspecialchars[_decode]?

2013-06-27 Thread Tjerk Anne Meesters
On Thu, Jun 27, 2013 at 4:42 PM, Kris Craig wrote: > On Thu, Jun 27, 2013 at 12:03 AM, Yasuo Ohgaki wrote: > > > > > 2013/6/27 Kris Craig > > > >> I just noticed that htmlspecialchars_decode doesn't convert entities > like > >> and . > >> > > > > I think htmlspecialchars_decode() only decode

Re: [PHP-DEV] New syntax for multidimensional array loop with foreach

2013-06-27 Thread Tjerk Anne Meesters
On Fri, Jun 28, 2013 at 1:36 AM, Pierre du Plessis wrote: > On Thu, Jun 27, 2013 at 7:29 PM, Tjerk Anne Meesters wrote: > >> On Fri, Jun 28, 2013 at 1:13 AM, Pierre du Plessis >> wrote: >> >> > On Thu, Jun 27, 2013 at 6:14 PM, Johannes Schlüter >> > wrot

Re: [PHP-DEV] New syntax for multidimensional array loop with foreach

2013-06-27 Thread Tjerk Anne Meesters
On Fri, Jun 28, 2013 at 1:13 AM, Pierre du Plessis wrote: > On Thu, Jun 27, 2013 at 6:14 PM, Johannes Schlüter > wrote: > > > On Thu, 2013-06-27 at 16:58 +0200, Nikita Popov wrote: > > > On Thu, Jun 27, 2013 at 4:10 PM, Christian Stoller > >wrote: > > > > > > > The new syntax could make it shorte

Re: [PHP-DEV] Bug 52355

2013-06-27 Thread Tjerk Anne Meesters
On Thu, Jun 27, 2013 at 8:42 PM, Florin Patan wrote: > Hello, > > > I'd like to start working on a bug, > https://bugs.php.net/bug.php?id=52355 but I'm not sure where to start > investigating exactly. > First of all, the effort is much appreciated :) I've run a small test case and it seems the

Re: [PHP-DEV] Gauging Interest:RFC to add map() function

2013-06-27 Thread Tjerk Anne Meesters
On Thu, Jun 27, 2013 at 7:13 PM, Richard Bradley < richard.brad...@softwire.com> wrote: > > -Original Message- > > From: tjerk.meest...@gmail.com [mailto:tjerk.meest...@gmail.com] On > Behalf Of Tjerk Anne Meesters > > Sent: 27 June 2013 11:24 > > To: Seb

Re: [PHP-DEV] Gauging Interest:RFC to add map() function

2013-06-27 Thread Tjerk Anne Meesters
On Thu, Jun 27, 2013 at 5:43 PM, Sebastian Krebs wrote: > > > > 2013/6/27 Tjerk Anne Meesters > >> On Thu, Jun 27, 2013 at 4:27 PM, Florin Patan >> wrote: >> >> > On Thu, Jun 27, 2013 at 10:17 AM, Tjerk Anne Meesters > > >> > wrot

Re: [PHP-DEV] Gauging Interest:RFC to add map() function

2013-06-27 Thread Tjerk Anne Meesters
On Thu, Jun 27, 2013 at 4:27 PM, Florin Patan wrote: > On Thu, Jun 27, 2013 at 10:17 AM, Tjerk Anne Meesters > wrote: > > On Wed, Jun 26, 2013 at 11:20 PM, Jeremy Curcio > wrote: > > > >> Hello, > >> > >> I would like to submit an RFC to

Re: [PHP-DEV] Gauging Interest:RFC to add map() function

2013-06-27 Thread Tjerk Anne Meesters
On Wed, Jun 26, 2013 at 11:20 PM, Jeremy Curcio wrote: > Hello, > > I would like to submit an RFC to add a new function to the PHP language. > The function would be called "map()". The purpose of this function would be > to take an existing value within a range and make it to a corresponding > lo

Re: [PHP-DEV] PR 287 - added use_keys argument to array_filter() [Discussion]

2013-06-18 Thread Tjerk Anne Meesters
On Tue, Jun 18, 2013 at 11:07 PM, Sherif Ramadan wrote: > On Tue, Jun 18, 2013 at 10:58 AM, Levi Morrison >wrote: > > > > > I'm starting up a thread for discussion on Pull Request 287 > >> https://github.com/php/php-src/pull/287 (allowing array keys to be > passed > >> to the callback function of

Re: [PHP-DEV] Pull request for array_filter() improvement

2013-02-21 Thread Tjerk Anne Meesters
On Thu, Feb 21, 2013 at 5:31 PM, Leigh wrote: > > On 21 February 2013 07:08, Tjerk Anne Meesters wrote: > >> Hi, >> >> I found myself wanting a feature of array_filter() with which I can >> perform >> filtering based on the array key instead of the valu

Re: [PHP-DEV] Pull request for array_filter() improvement

2013-02-21 Thread Tjerk Anne Meesters
#x27;m not sure about either of those counter arguments, but I added them for anyone else to pick up :) On Thu, Feb 21, 2013 at 4:02 PM, Sebastian Krebs wrote: > > > > 2013/2/21 Tjerk Anne Meesters > >> Hi, >> >> I found myself wanting a feature of array_filter

[PHP-DEV] Pull request for array_filter() improvement

2013-02-20 Thread Tjerk Anne Meesters
Hi, I found myself wanting a feature of array_filter() with which I can perform filtering based on the array key instead of the value. To scratch this itch, I decided to dive into C again and just add the feature. My proposal is to add a third argument to array_filter() that will send the array k

[PHP-DEV] Question on hash api

2013-02-19 Thread Tjerk Anne Meesters
Hi, I've forked out an interesting project on Github that implements XXHash and extended it to work with the hash() function family. Project links below. The integration is pretty straightforward, but the following code had me concerned: PHP_HASH_API void PHP_XXH32Update(PHP_XXH32_CTX *context,

Re: [PHP-DEV] Adding Generator::throw()

2012-12-23 Thread Tjerk Anne Meesters
Hi, On Tue, Dec 18, 2012 at 6:03 AM, Stas Malyshev wrote: > Hi! > > > Basically the method allows you to do delegate error handling to the > > coroutine, rather than doing it yourself (as you are not always able to > do > > it). It is particularly useful in more complicated settings, e.g. if you

Re: [PHP-DEV] stream_get_line behaviour Bug #63240

2012-10-09 Thread Tjerk Anne Meesters
ecrement the skip length (if non-zero) by at most bytes before performing the search. This will make sure any buffered characters are taken into consideration (again). On Tue, Oct 9, 2012 at 4:33 PM, Sherif Ramadan wrote: > On Tue, Oct 9, 2012 at 12:59 AM, Tjerk Anne Meesters > wrote: >

Re: [PHP-DEV] stream_get_line behaviour Bug #63240

2012-10-08 Thread Tjerk Anne Meesters
On Tue, Oct 9, 2012 at 12:14 AM, Nicolai Scheer wrote: > Hi! > > We switched from php 5.3.10 to 5.3.17 this weekend and stumbled upon a > behaviour of stream_get_line that is most likely a bug and breaks a > lot of our file processing code. > > The issue seems to have been introduced from 5.3.10 t

Re: [PHP-DEV] Re: Support negative indexes for arrays and strings

2012-09-04 Thread Tjerk Anne Meesters
On Tue, Sep 4, 2012 at 6:31 PM, David Zülke wrote: > On 03.09.2012, at 09:37, Jannik Zschiesche wrote: > > > The main problem arises from the ambiguity for $array[-1] for arrays. > > But this is easily solvable: just introduce a slice operator. > > > > $array[:-1] and the ambiguity is gone. > > T

Re: [PHP-DEV] re: removing an item from an array

2012-08-20 Thread Tjerk Anne Meesters
On Tue, Aug 21, 2012 at 10:31 AM, Rasmus Schultz wrote: > Thank you, but this isn't really anything like what I had in mind. > > What I had in mind is more like set-semantics for arrays, e.g. designed to > work with sets of distinct values/objects. > > Since I do not have permission to write on t

Re: [PHP-DEV] Resume keyword

2012-06-20 Thread Tjerk Anne Meesters
> Resume is similar to return, but can only be used in catch blocks or > in error handling functions.  When encountered the run time returns to > the line after the exception was initially thrown and, well, > "resumes". Interesting idea. Just by reading that I thought of this scenario instead: --

Re: [PHP-DEV] bug 54547

2012-06-14 Thread Tjerk Anne Meesters
On Fri, Jun 15, 2012 at 8:56 AM, Hartmut Holzgraefe wrote: > Too late to raise this now anyway, but ... > > On 13.05.2012 04:39, Stas Malyshev wrote: >> I know this was discussed a number of times here, but just to bring it >> to a conclusion - I intend to apply patch in the bug report - which >>

Re: [PHP-DEV] [off] PHP: a fractal of bad design

2012-05-07 Thread Tjerk Anne Meesters
> On 05/07/2012 05:32 AM, Tjerk Anne Meesters wrote: > >> Validated or not, why would type juggling even come into the picture >> if both variables are of the same type? > > For the simple reason that web forms return all input as strings, even > if the input is a

Re: [PHP-DEV] [off] PHP: a fractal of bad design

2012-05-07 Thread Tjerk Anne Meesters
> > I agree with Rasmus (and others) on this one > (http://www.mail-archive.com/internals@lists.php.net/msg57949.html), type > numeric conversion on strings on both sides should only happen if both > strings can be represented as numbers without losing data/precision. > if one or both of the two si

Re: [PHP-DEV] [off] PHP: a fractal of bad design

2012-05-06 Thread Tjerk Anne Meesters
On Sun, May 6, 2012 at 12:17 AM, Richard Lynch wrote: >> What exactly valid points? == is a converting operator, === is a >> strict >> operator. OK, in his favorite language it is not. Where exactly the >> valid point is? Author goes at great lengths to refuse to make even a >> slight mental effor

Re: [PHP-DEV] Randomize hash-function in php

2012-03-17 Thread Tjerk Anne Meesters
On Sun, Mar 18, 2012 at 8:12 AM, Stas Malyshev wrote: > Obvious solution would be to use a salt for the hash, which prevents blind > pre-computing of hash collisions. However, due to the fact that PHP hash > values can be reused in different processes by bytecode caches, implementing > it properly

Re: [PHP-DEV] Let parse_str() parse more than max_input_vars args

2012-03-15 Thread Tjerk Anne Meesters
On Thu, Mar 15, 2012 at 6:01 PM, Ryan McCue wrote: >>> That's probably going to confuse people if it doesn't change the HTTP >>> request parsing limit too, IMHO. And I'm not sure that's something we >>> necessarily want. >> >> >> Err, how you can change it after HTTP request has already been parse

Re: [PHP-DEV] Let parse_str() parse more than max_input_vars args

2012-03-14 Thread Tjerk Anne Meesters
>> As mentioned on IRC, a function signature of "array >> parse_urlencoded(string $s)" would be useful too; the separated logic >> would allow for avoiding max_input_vars altogether and not having to >> worry about parameter name mangling (variable name rules). The nasty >> part is that much of the

Re: [PHP-DEV] Let parse_str() parse more than max_input_vars args

2012-03-14 Thread Tjerk Anne Meesters
On Thu, Mar 15, 2012 at 7:38 AM, Rasmus Lerdorf wrote: > > Yes, it would need a zend_alter_ini_entry_ex() call there. The patch > wasn't complete, just a quick hack. But it would still have an > out-of-context error message when you exceed it. At least with a > userspace ini_set() the error would

Re: [PHP-DEV] [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters

2012-03-08 Thread Tjerk Anne Meesters
On Fri, Mar 9, 2012 at 10:58 AM, Ilia Alshanetsky wrote: > Anthony, > > My concern with this type of patch is that what you are proposing are > not really hints, they are forced casts. As such they modify the data > potentially leading to data loss. > But at least it's consistent with "array" and

Re: [PHP-DEV] Scalar type hinting

2012-02-28 Thread Tjerk Anne Meesters
On Wed, Feb 29, 2012 at 7:08 AM, Michael Morris wrote: > Agreed.  If conversion can occur without data loss (that is, if the > value being assigned is == the value that actually IS assigned) then > no error should occur. > > So > > int $a = "1"; // no error.  1 == "1" so who cares? > int $a = 'Hou

Re: [PHP-DEV] OAuth Request Engine Behaviour

2011-11-25 Thread Tjerk Anne Meesters
Hi, First off, it would've been better to contact one of the project members rather than the internals list :) To answer your question though, I'm assuming that you're accessing a secure http url, which requires openssl iirc. Please address any replies to me directly and/or ja...@php.net Thanks

Re: [PHP-DEV] [VOTE]strn(case)cmp supporting a negative length as its third paramter

2011-08-14 Thread Tjerk Anne Meesters
Hi, Doesn't substr_compare() accomplish the same thing since 5.1.0? The only thing I couldn't figure out is how to make it case insensitive without specifying an explicit value to $length Best, Tjerk On Mon, Aug 15, 2011 at 11:18 AM, Laruence wrote: > Hi: >   compare to use substr,   strncm

Re: [PHP-DEV] INF behavior

2011-06-01 Thread Tjerk Anne Meesters
On Wed, Jun 1, 2011 at 6:04 AM, Gustavo Lopes wrote: > On Tue, 31 May 2011 22:41:36 +0100, Hannes Landeholm > wrote: > >>> Agree with Derick, strictly speaking, in maths science, INF != INF. >> >> I disagree,based on quote from >> http://compilers.iecc.com/comparch/article/98-07-134: >> >> "Since

Re: [PHP-DEV] [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants

2010-08-24 Thread Tjerk Anne Meesters
On Wed, Aug 25, 2010 at 2:22 PM, Lester Caine wrote: > Johannes Schlüter wrote: >> >> On Tue, 2010-08-24 at 18:49 +0800, Adam Harvey wrote: >>> >>> Johannes has pointed out on IRC that E_NONE does already exist in some >>> projects, so that's an argument against it. >> >> Yeah, I did a quick code

Re: [PHP-DEV] inheritance check too strict?

2010-08-19 Thread Tjerk Anne Meesters
2010/8/19 Johannes Schlüter : > On Thu, 2010-08-19 at 01:13 -0700, Stas Malyshev wrote: >> Hi! >> >> > I was under the impression that, in order for inheritance to provide >> > proper polymorphism, overridden methods should share the parent's method >> > signature, although they can have additional

Re: [PHP-DEV] Gearman support for php-fpm?

2010-06-10 Thread Tjerk Anne Meesters
All "fpm" workers would be called using the same function name (e.g. "runphp"). This allows you to reuse a gearmand instance for other workers too. The advantages of fpm vs gearman would be mostly performance (it uses ping and requires an underlying layer on top of tcp/ip), followed by dynamic spa

Re: [PHP-DEV] Type hinting

2010-06-01 Thread Tjerk Anne Meesters
On Wed, Jun 2, 2010 at 7:41 AM, Chad Fulton wrote: > Hi! > >> Pretty much everywhere. Suppose you have form with, say, 2 fields and first >> field does not validate. Maybe you want to check the second field too and >> give the user both errors if they are both wrong? >> >> In general, looking at s

Re: [PHP-DEV] Type hinting

2010-05-27 Thread Tjerk Anne Meesters
Having seen both options, I would vote neither for the following reasons: With strict "hinting", give it about a year when some major frameworks would have adopted this, and not just for the functions that would actually require it; they would go all the way in the name of consistency. When that h

Re: [PHP-DEV] Fixes for parse_url, bug 50563

2010-05-24 Thread Tjerk Anne Meesters
On Mon, May 24, 2010 at 2:12 PM, Brian Moon wrote: > Because that is, IMO, a bad precedent to start for PHP internal functions. > Too many functions already produce warnings (fopen) and return a status that > can be checked. The solution right now is @ and that has so much baggage > with it that y

Re: [PHP-DEV] Constant and expression ?

2010-05-19 Thread Tjerk Anne Meesters
On Wed, May 19, 2010 at 7:04 PM, Richard Quadling wrote: > On 19 May 2010 11:21, Tjerk Anne Meesters wrote: >> On Wed, May 19, 2010 at 5:52 PM, Frederic Hardy >> wrote: >>> Hello ! >>>> >>>> AFAIK class constants are optimized for speed and theref

Re: [PHP-DEV] Constant and expression ?

2010-05-19 Thread Tjerk Anne Meesters
On Wed, May 19, 2010 at 5:52 PM, Frederic Hardy wrote: > Hello ! >> >> AFAIK class constants are optimized for speed and therefore don't >> support expressions; don't expect this to change any time soon ;-) >> >>> Is there any feature request about constant and expression ? >>> I would like to wri

Re: [PHP-DEV] Constant and expression ?

2010-05-19 Thread Tjerk Anne Meesters
AFAIK class constants are optimized for speed and therefore don't support expressions; don't expect this to change any time soon ;-) On Wed, May 19, 2010 at 4:54 PM, Frederic Hardy wrote: > Hello ! > > Is there any feature request about constant and expression ? > I would like to write something

Re: [PHP-DEV] Interface and abstract method

2010-05-18 Thread Tjerk Anne Meesters
Normally, PHP won't allow access types for interface methods, but the reflection for SPL is defined inside the C code: static const zend_function_entry spl_funcs_OuterIterator[] = { SPL_ABSTRACT_ME(OuterIterator, getInnerIterator, arginfo_recursive_it_void) {NULL, NULL, NULL} }; I

Re: [PHP-DEV] openssl_(en|de)crypt missing IV

2010-05-17 Thread Tjerk Anne Meesters
On Tue, May 18, 2010 at 10:19 AM, Davey Shafik wrote: > The least disruptive change would be to have it as the last arg, and default > to the current all-null value. > > Perhaps you could do this and add a warning akin to the date.timezone if none > is passed? > > Having said that, I don't think

Re: [PHP-DEV] Re: Closure local return

2010-05-03 Thread Tjerk Anne Meesters
On Mon, May 3, 2010 at 11:42 PM, Christian Schneider wrote: > mathieu.suen wrote: >> May be it could be interesting to have a syntax for returning from the >> define scope. >> For example. >> >> $findedElment = $myList->selectIfAbsent($fooo, function(){ >>     return 'No item founded'; //Retrun fr

Re: [PHP-DEV] Named Parameters

2010-04-13 Thread Tjerk Anne Meesters
Think it's also important to keep the IDE factor in mind. By just defining a catch-all at the end of your function declarations you essentially cut short any effort that could be made to have IDE code insight support for this language enhancement. On 4/13/10, Jordi Boggiano wrote: > On 13.04.2010

Re: [PHP-DEV] Named Parameters

2010-04-07 Thread Tjerk Anne Meesters
In the case whereby names parameters are "plucked" from the argument list and passed as a hash to the function it really shouldn't matter whether that's invalid in python; both (2, 'name' => 'test') and ('name' => 'test', 2) would yield the same results, albeit it's a highly dubious way of passing

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Tjerk Anne Meesters
On Thu, Dec 24, 2009 at 9:28 AM, Michael Shadle wrote: > On Wed, Dec 23, 2009 at 5:12 PM, Mikko Koppanen wrote: >> Hi, >> >> I think this is the feature (in trunk currently): >> >> http://svn.php.net/viewvc?view=revision&revision=28287 > > This is not the same, this is just an additional way to s

Re: [PHP-DEV] ignore_user_abort=true for sapi/cli

2009-12-23 Thread Tjerk Anne Meesters
Maybe to make it respond to SIGHUP signals? Not exactly sure whether that would constitute as user_abort though. On 12/23/09, Rasmus Lerdorf wrote: > Can anyone think of a situation where you actually want our current > ignore_user_abort=false setting for the cli sapi? > > -Rasmus > > -- > PHP In

Re: [PHP-DEV] Closures and $this: Please vote!

2009-12-15 Thread Tjerk Anne Meesters
Hi, Maybe I don't exactly understand the need for closureProperty(); also, I haven't read the rfc ;-) My understanding would be that you can treat it as a callable object, like so: $a = function($msg) { echo $this->id, ": ", $msg, " [ calls: ", ++$this->calls, "]"; } $a->id = 123; $a("hello wor

Re: [PHP-DEV] [PATCH] fpm/typo: change some log about dynamic + homogenize log message about pool

2009-12-15 Thread Tjerk Anne Meesters
The only two things that would come up after reading Jani's email is: 1) Make the log string configurable, such as CustomLog in apache 2) Configure the log level threshold, though I think that should already be there in the first place. On 12/15/09, Antony Dovgal wrote: > On 15.12.2009 12:30, Jan

Re: [PHP-DEV] [PHP-FPM] syntax of configuration file

2009-12-09 Thread Tjerk Anne Meesters
Hi, ini files can be split, so it doesn't all have to be inside one monolithic php.ini I agree that repetition doesn't look nice; it would be nice to have something like: [fpm.worker.worker1] listen = 127.0.0.1:1900 uid = webservice Etc. Didn't really pay attention to those pool settings, but

Re: [PHP-DEV] Towards 5.3.2

2009-12-08 Thread Tjerk Anne Meesters
Just out of curiosity, is there any open source bug tracker out there that would lend itself well to these needs? Currently the bug tracker is highly customized so when thinking about adding those new features, it may also be a good time to look around ;-) On 12/8/09, Lukas Kahwe Smith wrote: > >

Re: [PHP-DEV] Multiple Apache Modules

2009-08-25 Thread Tjerk Anne Meesters
I suggest you set up multiple instances of FastCGI instead and let your web server choose the right CGI gateway per request. On 8/26/09, Chris Trahey wrote: > Attempting to load 2 PHP modules in the same httpd instance. > modified mod_php5.c, php_apache.h, php.sym and sapi_apache2.c > to reflect

Re: [PHP-DEV] [patch] error masks

2009-08-24 Thread Tjerk Anne Meesters
Hi, Expanding on this. In a typical project I always try to make my own code very clean by letting it run on a staging environment with all error reporting enabled for a while before living it; so keeping the error_reporting enabled on the live server (and sending a daily log of caught errors) wo

Re: [PHP-DEV] mysqlnd as a shared extension ?

2009-08-17 Thread Tjerk Anne Meesters
Well, if you're doing speed comparisons why not just compile both mysqlnd and mysql(i) as static? ;-) On 8/18/09, Remi Collet wrote: > Hi, > > Building 5.3.1 snapshot with options > --with-mysql=shared,mysqlnd > --with-mysqli=shared,mysqlnd > --with-pdo-mysql=shared,mysqlnd > >

[PHP-DEV] Re: extending ignore_errors inside http_fopen_wrappers.c

2009-05-16 Thread Tjerk Anne Meesters
17/09, Tjerk Anne Meesters wrote: > Since I'll be out most of today, I'll just post the patch first; it'd > be great if it could also be applied to the 5_2 branch of course, but > that's not my call ;-) > > As for compatibility, by default the patch would not change

[PHP-DEV] Re: extending ignore_errors inside http_fopen_wrappers.c

2009-05-16 Thread Tjerk Anne Meesters
Best, Tjerk On Sun, May 17, 2009 at 8:42 AM, Tjerk Anne Meesters wrote: > But ignore_errors is not used in 5.2 right? ;-) I also have a patch > for that actually if you're interested =D > > On 5/17/09, Arnaud Le Blanc wrote: >> Yes, the fix requires "ignore_errors

[PHP-DEV] Re: extending ignore_errors inside http_fopen_wrappers.c

2009-05-16 Thread Tjerk Anne Meesters
ream wrappers =D >> >> >> >> This can't be the first time that this has been a point of discussion; >> >> my apologies if this has been outright rejected before ;-) >> >> >> >> On 5/16/09, Arnaud Le Blanc wrote: >> >>>

[PHP-DEV] Re: extending ignore_errors inside http_fopen_wrappers.c

2009-05-16 Thread Tjerk Anne Meesters
gt; > Arnaud > > >> >> >> Ilia Alshanetsky >> >> >> >> >> On 15-May-09, at 11:36 AM, Tjerk Anne Meesters wrote: >> >> > Hi Arnaud, >> > >> > Thanks for the tip, please find patch attached. >> > >> > >>

Re: [PHP-DEV] extending ignore_errors inside http_fopen_wrappers.c

2009-05-15 Thread Tjerk Anne Meesters
Hi Arnaud, Thanks for the tip, please find patch attached. Best, Tjerk On Fri, May 15, 2009 at 10:58 PM, Arnaud Le Blanc wrote: > Hi, > > On Fri, 2009-05-15 at 22:16 +0800, Tjerk Anne Meesters wrote: >> Hi, >> >> I've been extending the pecl/oauth code to wor

Re: [PHP-DEV] extending ignore_errors inside http_fopen_wrappers.c

2009-05-15 Thread Tjerk Anne Meesters
Hi Arnaud, Thanks for the tip, please find patch attached. Best, Tjerk On Fri, May 15, 2009 at 10:58 PM, Arnaud Le Blanc wrote: > Hi, > > On Fri, 2009-05-15 at 22:16 +0800, Tjerk Anne Meesters wrote: >> Hi, >> >> I've been extending the pecl/oauth code to wor

[PHP-DEV] extending ignore_errors inside http_fopen_wrappers.c

2009-05-15 Thread Tjerk Anne Meesters
Hi, I've been extending the pecl/oauth code to work with php stream wrappers in cases whereby curl is not enabled, but I've hit a snag. The documentation states that enabling the "ignore_errors" flag will fetch the content even on failure status codes. At the same time, setting "max_redirects" to