Re: [PHP-DEV] PHP 5.5 beta4 available

2013-05-05 Thread Ferenc Kovacs
2013.05.05. 18:00, "Ondřej Surý" ezt írta: > > JFTR the git repository is missing the tags for every all php-5.5 releases. are you sure? I can see the tags for 5.5 betas and alphas: http://git.php.net/?p=php-src.git;a=tags

Re: [PHP-DEV] [VOTE] Class instances counter

2013-05-06 Thread Ferenc Kovacs
On Mon, May 6, 2013 at 10:55 AM, Sebastian Bergmann wrote: > On 04/30/2013 10:04 AM, Frank Liepert wrote: > > Voting starts as of now and ends on 7th May, 2013. > > I voted -1; not because I do not think the feature is useful > but because I think it belongs in an extension such as Xdebug and >

Re: [PHP-DEV] [VOTE] Class instances counter

2013-05-06 Thread Ferenc Kovacs
On Mon, May 6, 2013 at 12:31 PM, Patrick ALLAERT wrote: > 2013/5/6 Sebastian Bergmann : > > On 04/30/2013 10:04 AM, Frank Liepert wrote: > >> Voting starts as of now and ends on 7th May, 2013. > > > > I voted -1; not because I do not think the feature is useful > > but because I think it belongs

Re: [PHP-DEV] idea: letting the line number and file name be set via user_error

2013-05-07 Thread Ferenc Kovacs
On Tue, May 7, 2013 at 6:09 PM, Thomas Anderson wrote: > If you do user_error('whatever') it'll show, as the line number for that > error, the line number on which that user_error() call is made. It'd be > nice if you could control the line number and file name that was displayed. > eg. > > fun

Re: [PHP-DEV] Scalar Type Casting Magic Methods

2013-05-08 Thread Ferenc Kovacs
2013.05.08. 7:38, "Pierre du Plessis" ezt írta: > > The __toArray can be useful if you want to perform array functions on the > object (E.G array_filter), otherwise I think it would be very useful if the > array functions can accept an object implementing ArrayAccess as well > instead of just an a

Re: [PHP-DEV] exceptions during __toString()

2013-05-10 Thread Ferenc Kovacs
On Fri, May 10, 2013 at 12:50 AM, Etienne Kneuss wrote: > On Fri, May 10, 2013 at 12:00 AM, Rasmus Schultz >wrote: > > > I just ran into this issue again: > > > > > > > http://stackoverflow.com/questions/2429642/why-its-impossible-to-throw-exception-from-tostring > > > > Instead of throwing some

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Address feature request #38917 for native SPKAC (HTML5 keygen element) support: ext/openssl/openssl.c ext/openssl/php_openssl.h ext/openssl/tests/openssl_spki_

2013-05-10 Thread Ferenc Kovacs
On Fri, May 10, 2013 at 1:01 PM, Sebastian Bergmann wrote: > Am 07.05.2013 00:36, schrieb Jason Gerfen: > > Commit:8f56ac8401ed1c3e00b8fba3fb8e5efb565180c4 > > Author:jas- Mon, 6 May 2013 > 16:36:06 -0600 > > Parents: da07e91c3a7e7bac2e380f24c59f70c1bcb3e7e4 > > Branches: maste

Re: [PHP-DEV] No-feedback cleanup?

2013-05-10 Thread Ferenc Kovacs
On Mon, Feb 18, 2013 at 1:38 AM, Ferenc Kovacs wrote: > > > > On Sun, Feb 17, 2013 at 6:31 PM, Ferenc Kovacs wrote: > >> >> 2013.02.17. 11:36, "Stas Malyshev" ezt írta: >> >> > >> > Hi! >> > >> > I remember w

Re: [PHP-DEV] No-feedback cleanup?

2013-05-10 Thread Ferenc Kovacs
On Fri, May 10, 2013 at 3:39 PM, Ferenc Kovacs wrote: > > > > On Mon, Feb 18, 2013 at 1:38 AM, Ferenc Kovacs wrote: > >> >> >> >> On Sun, Feb 17, 2013 at 6:31 PM, Ferenc Kovacs wrote: >> >>> >>> 2013.02.17. 11:36, "Stas Malysh

Re: [PHP-DEV] Heads up - PECL ZendOptimizerPlus repository moved to github.com/zendtech/ZendOptimizerPlus

2013-05-13 Thread Ferenc Kovacs
On Mon, May 13, 2013 at 2:28 PM, Zeev Suraski wrote: > For those of you with direct clones of ZendOptimizerPlus, you’d have to > run: > > git remote set-url origin g...@github.com:zendtech/ZendOptimizerPlus.git > > on your clones for them to continue working. This is not related to the > code th

Re: [PHP-DEV] Cannot call constructor

2013-05-24 Thread Ferenc Kovacs
On Thu, May 23, 2013 at 11:32 PM, Stas Malyshev wrote: > Hi! > > > Right now, to avoid this situation, you have to do: > > if (method_exists(get_parent_class(), '__construct')) > > parent::__construct(); > > > > If you don't check for the method existing, you get: > > Fatal error: Cannot call cons

Re: [PHP-DEV] Cannot call constructor

2013-05-24 Thread Ferenc Kovacs
> Hi. > > I'm not an expert here, so just thinking out loud ... > > If a theoretical \PHP\baseclass can have empty __construct()/__destruct(), > what about the other magic methods? > > OK, I suppose cascading some of the magic methods to a parent and having a > null parent at the very very bottom o

Re: [PHP-DEV] Proposal for better UTF-8 handling

2013-05-24 Thread Ferenc Kovacs
On Fri, May 24, 2013 at 3:09 PM, Nikita Popov wrote: > On Fri, May 24, 2013 at 3:17 AM, Rouven Weßling >wrote: > > > Hi Internals! > > > > First let me introduce myself, my name is Rouven Weßling, I'm a student > at > > RWTH Aachen University and I'm one of the maintainers of the Joomla! > > Fra

Re: [PHP-DEV] Cannot call constructor

2013-05-24 Thread Ferenc Kovacs
On Fri, May 24, 2013 at 5:26 PM, Etienne Kneuss wrote: > Sure the default implementation would have to be identical to the behavior > of not defining one. > > agree > I believe the best way to solve these issues is by having an implicit base > class. > that would also solve the "I want to type

Re: [PHP-DEV] Cannot call constructor

2013-05-25 Thread Ferenc Kovacs
> > This thread arose in response to what is undeniably a bad API > authoring practice (first allowing full ctor override and later > breaking BC without fanfare) Why are we letting the authors of > Richard's library off the hook and putting it on ourselves to develop > hacks? They obviously screwe

Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale?

2013-05-25 Thread Ferenc Kovacs
On Sat, May 25, 2013 at 5:09 PM, Levi Morrison wrote: > >> It is actually only about getting safe, cross platform/OS (even > >> between Linux versions) for the TZ database. It has nothing to do > >> with taste or similar subjective opinion. > >> > >> For the record, the behavior requested in this

Re: [PHP-DEV] Maintaining Phar

2013-05-25 Thread Ferenc Kovacs
On Sat, May 25, 2013 at 7:40 PM, Ralph Schindler wrote: > I've asked previously (http://marc.info/?l=php-** > internals&m=132096254304189&w=**2), > but have not given commit karma for the phar extension. I've fixed a > couple of bugs, and t

Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-05-26 Thread Ferenc Kovacs
On Tue, Mar 26, 2013 at 6:45 PM, Ferenc Kovacs wrote: > > > > On Sun, Jan 20, 2013 at 8:17 PM, Gustavo Lopes wrote: > >> I've opened the vote for the "remove calls from incompatible context" RFC: >> >> https://wiki.php.net/rfc/**incompat_ctx

Re: [PHP-DEV] Callable typehint

2013-05-27 Thread Ferenc Kovacs
On Tue, Jun 7, 2011 at 8:50 PM, Stas Malyshev wrote: > Hi! > > > Am I now supposed to create a new thread with [RFC] in the subject, >> wait for minimum 2 weeks, and then create a poll somewhere on the wiki >> and create new thread with [VOTE] in subject, and wait for another >> 2weeks and then i

Re: [PHP-DEV] considering to remove ext/imap from master

2013-05-27 Thread Ferenc Kovacs
On Sat, Apr 28, 2012 at 11:31 AM, Pierre Joye wrote: > hi, > > On Sat, Apr 28, 2012 at 3:15 AM, Stas Malyshev > wrote: > > Hi! > > > >> May I ask why you agreed to move sqlite away? That is a very close > >> situation (well, better as sqlite library status was way better than > >> current c-clie

[PHP-DEV] Re: supporting the final keyword for properties

2013-05-27 Thread Ferenc Kovacs
On Mon, Jul 16, 2012 at 2:25 PM, Ferenc Kovacs wrote: > Hi, > > The recent > http://www.mail-archive.com/internals@lists.php.net/msg59301.html discussion > made me wonder why did we decide not supporting the final keywords for > properties as it would provide an easy way for re

Re: [PHP-DEV] DateTime fixes and 5.4 release plan

2013-05-27 Thread Ferenc Kovacs
On Thu, Dec 29, 2011 at 11:51 PM, Daniel Convissor < dani...@analysisandsolutions.com> wrote: > Hi Folks: > > David mentioned the following in the git migration email: > > >Expect the php-src migration in 14-21 days after 5.4 final. > > Can 5.4 final please be held off until the DateTime fixes

Re: [PHP-DEV] Callable typehint

2013-05-28 Thread Ferenc Kovacs
2013.05.28. 8:48, "Peter Cowburn" ezt írta: > > On 28 May 2013 07:00, Ferenc Kovacs wrote: >> >> >> >> >> sorry for resurrecting the thread, but I think that having a Callable >> typehint would be nice, and I agree with Etienne that the g

Re: [PHP-DEV] supporting the final keyword for properties

2013-05-28 Thread Ferenc Kovacs
On Tue, May 28, 2013 at 10:58 AM, Lars Strojny wrote: > Hi Ferenc, > > Am 28.05.2013 um 08:15 schrieb Ferenc Kovacs : > [...] > >> I would like it to work the same way as it does in java( > >> http://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.

Re: [PHP-DEV] DateTime fixes and 5.4 release plan

2013-05-28 Thread Ferenc Kovacs
> > it seems that it will miss even 5.5 final :( > > I've worked quite a bit on this and I'm close to finishing. Really need > just one more transatlantic flight :-) I'll push my changes to a branch. > I think the RFC gets something wrong though. I'll check and report back > > Derick > \o/ -- Fe

Re: [PHP-DEV] [VOTE] CURLFile uploading API

2013-06-03 Thread Ferenc Kovacs
On Mon, Jan 21, 2013 at 2:32 AM, Stas Malyshev wrote: > Hi! > > I've started a vote on CURLFile RFC: > https://wiki.php.net/rfc/curl-file-upload#vote > > Please vote. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals

[PHP-DEV] bring Exception::getTrace/getTraceAsString consistent with debug_backtrace

2013-06-04 Thread Ferenc Kovacs
Hi, What do you think about adding the $options and $limit arguments to those two Exception methods? -- Ferenc Kovács @Tyr43l - http://tyrael.hu

Re: [PHP-DEV] PHP 5.4.16 and PHP 5.3.26 released!

2013-06-07 Thread Ferenc Kovacs
On Fri, Jun 7, 2013 at 6:34 AM, Pierre Schmitz wrote: > Am 07.06.2013 01:58, schrieb Stas Malyshev: > > Hello! > > > > The PHP development team announces the immediate availability of PHP > > 5.4.16 and PHP 5.3.26. These releases fix about 15 bugs, including > > CVE-2013-2110. All users of PHP ar

Re: [PHP-DEV] Internal object orientation documentation available!

2013-06-12 Thread Ferenc Kovacs
> > 3) What is your preferred markup format for feedback and contributions? > > E.g. do you maintain an ODF or Docbook XML under some accessible git > > repository, or is is a case of (for example) > > > >hashtables/basic_structure.html para at line 138. Not quite true that > >"the arBuc

Re: [PHP-DEV] pull reqs broken in bugs.php.net?

2013-06-17 Thread Ferenc Kovacs
On Mon, Jun 17, 2013 at 1:50 AM, Stas Malyshev wrote: > Hi! > > I've noticed some strange things happening with pull requests links in > bugs.php.net. For example, this one: > > https://bugs.php.net/bug.php?id=64549 > > Has link to completely unrelated php-gtk pull. I don't even see why > would th

Re: [PHP-DEV] pull reqs broken in bugs.php.net?

2013-06-17 Thread Ferenc Kovacs
On Mon, Jun 17, 2013 at 11:07 AM, Ferenc Kovacs wrote: > > > > On Mon, Jun 17, 2013 at 1:50 AM, Stas Malyshev wrote: > >> Hi! >> >> I've noticed some strange things happening with pull requests links in >> bugs.php.net. For example, this one: >>

Re: [PHP-DEV] Moving PHP documentation to Git repository

2013-06-25 Thread Ferenc Kovacs
On Tue, Jun 25, 2013 at 10:18 AM, Pierre Joye wrote: > > On Tue, Jun 25, 2013 at 9:45 AM, Christoph Rosse > wrote: > >> On 25.06.2013 08:46, Christian Stoller wrote: > >>> > >>> Hi internals. > >>> > >>> What do you think about moving the PHP documentation to a Git > repository, > >>> mirrored on

Re: [PHP-DEV] Request for comments - new PHP feature: return typing

2013-06-26 Thread Ferenc Kovacs
On Wed, Jun 26, 2013 at 4:21 PM, Patrick ALLAERT wrote: > 2013/6/26 Julien Pauli : > > But what Sherif said proves as well the limits of the idea. PHP is not > > strongly typed. So each check, should it be type hinting or return type > > hinting, has to be done at runtime , which is bad for perfor

Re: [PHP-DEV] Request for comments - new PHP feature: return typing

2013-06-26 Thread Ferenc Kovacs
On Wed, Jun 26, 2013 at 4:48 PM, Johannes Schlüter wrote: > On Wed, 2013-06-26 at 16:40 +0200, Ferenc Kovacs wrote: > > > > > > I think that the return typehints a bit easier topic than the input type > > hinting(for scalars), because that affects the caller, while retu

Re: [PHP-DEV] phar bug #65028

2013-07-24 Thread Ferenc Kovacs
hi we don't have a maintainer for phar as far as I know. Ralph volunteered(twice) to take over phar but was pretty much ignored. He is the last person that I know looking into the phar code and fixing stuff so maybe he could review your changes. On Mon, Jul 22, 2013 at 10:09 AM, Stas Malyshev wro

Re: [PHP-DEV] execute compressed PHP command-line application

2013-07-25 Thread Ferenc Kovacs
On Thu, Jul 18, 2013 at 10:38 AM, crankypuss wrote: > I've been using PHP for linux command-line applications. Some are quite > large. I've built the code to combine the mainline plus everything it > calls into a single file to avoid portability issues with include > libraries. I've built the

Re: [PHP-DEV] execute compressed PHP command-line application

2013-07-26 Thread Ferenc Kovacs
> check out http://us1.php.net/phar and >>> >> http://www.php.net/manual/en/**wrappers.phar.php >> currently this is the preferred method >> > > Preferred by whom, thank you very much? Who is it that has set > himself/itself up as The Authority on th

Re: [PHP-DEV] The day has come

2013-08-01 Thread Ferenc Kovacs
On Wed, Jul 31, 2013 at 11:13 PM, Michael Wallner wrote: > Hi all! > > Tomorrow, August 1st 2013, is the day, it is *my* day. > > Some of you might already know [1] that I've been hired as a full-time > PHP core developer by SmugMug. I'll officially start tomorrow. > > I hope that I can do a grea

[PHP-DEV] handling non-fatal compile-time errors

2013-08-08 Thread Ferenc Kovacs
Hi, I've just bumped into https://bugs.php.net/bug.php?id=65322 recently, and I would like you get some opinions on the issue. Personally I think that it is a really bad design to introduce pedantic(E_STRICT) errors which can break basic functionality of the engine (calling the registered autoload

Re: [PHP-DEV] [RFC] Importing namespaced functions

2013-08-15 Thread Ferenc Kovacs
On Thu, Aug 15, 2013 at 3:11 PM, Marcello Duarte wrote: > Hi, > > Are there any thoughts regarding importing multiple functions of a > namespace with a wildcard? > > A use case being, for example, assertions from a testing framework. > > use (or use function) TestingFramework\Assertions\; > // in

Re: [PHP-DEV] [VOTE] Importing namespaced functions

2013-08-19 Thread Ferenc Kovacs
On Mon, Aug 19, 2013 at 7:35 AM, Pierre Joye wrote: > On Thu, Aug 15, 2013 at 4:23 PM, Igor Wiedler wrote: > > Hi Peter, > > > > This *is* the [VOTE] thread. Am I missing something? :) > > Did you do a new mail or reply to this one? The sooner is the right > way, did not see a vote thread (gmail

[PHP-DEV] Re: handling non-fatal compile-time errors

2013-08-29 Thread Ferenc Kovacs
On Thu, Aug 8, 2013 at 5:11 PM, Ferenc Kovacs wrote: > Hi, > > I've just bumped into https://bugs.php.net/bug.php?id=65322 recently, and > I would like you get some opinions on the issue. > Personally I think that it is a really bad design to introduce > pedantic(E_STRICT)

Re: [PHP-DEV] windows.php.net

2013-08-31 Thread Ferenc Kovacs
On Sat, Aug 31, 2013 at 10:05 PM, Johannes Schlüter wrote: > Hi, > > there has been some chatter about windows.php.net, which drives me to > the question: Do we need that site? Why and for what? > > Few data items: > * The "news" on w.p.n are not really maintained and provide > outda

Re: [PHP-DEV] windows.php.net

2013-08-31 Thread Ferenc Kovacs
> PS. The beta for php.net has its problems as well. There is no > equivalent (yet?) for http://www.php.net/downloads.php > I switched back to the old site because of this. > > http://www.php.net/downloads.php?beta=1 ? maybe the link is missing to that page? -- Ferenc Kovács @Tyr43l - http://tyra

Re: [PHP-DEV] Re: Function autoloading

2013-08-31 Thread Ferenc Kovacs
> > The lack of logic is: Why is it actually missing? > Why humans don’t have one leg more, on head? > > I really want to look at an example for this. Looks like you are the only > one who needs this. > > Oh, is OOP that bad for you? Also constant autoloading looks so bad, I > want to see an exampl

[PHP-DEV] Re: Function autoloading

2013-08-31 Thread Ferenc Kovacs
On Sun, Sep 1, 2013 at 12:36 AM, Vartolomei Nicolae wrote: > > personally Ithink it would be nice if we could provide a way for > const/function autoloading. > So you will create files for constants? One file with a single line > defining a constant? > > Did I understood something wrong? > > yes,

Re: [PHP-DEV] windows.php.net

2013-08-31 Thread Ferenc Kovacs
On Sun, Sep 1, 2013 at 1:58 AM, Pierre Joye wrote: > On Sat, Aug 31, 2013 at 10:57 PM, Ferenc Kovacs wrote: > > > I could be convinced that we need a dedicated site/subdomain for our > > windows users, but I think that it should be conform our existing > standards: > &

Re: [PHP-DEV] [RFC] Skipping parameters take 2

2013-09-02 Thread Ferenc Kovacs
On Mon, Sep 2, 2013 at 9:41 AM, Stas Malyshev wrote: > Hi! > > > I am not sure whether this is a little overhead. > > > > but if we do want this. to be honest, I even prefer leave it empty to > > "default". > > > > like create_query("delete=0", "name", , , true); > > That's how it was initially

Re: [PHP-DEV] [RFC] Skipping parameters take 2

2013-09-02 Thread Ferenc Kovacs
On Mon, Sep 2, 2013 at 12:24 PM, Lester Caine wrote: > Jannik Zschiesche wrote: > >> another small advantage would be that IDEs could show you the default value for the argument when hovering the default keyword. >>> But a good IDE is already showing the full function and notes ...

Re: [PHP-DEV] When will 5.2 binaries be retired from windows.php.net?

2013-09-09 Thread Ferenc Kovacs
On Mon, Sep 2, 2013 at 10:38 AM, Thomas Hruska wrote: > It is approaching 2 1/2 years since the last release of PHP 5.2. 5.2 has > been declared dead on more than one occasion around here. The dust has > more or less settled since PHP 5.3 EOL was announced. The ONLY reason I > still support 5.2

Re: [PHP-DEV] When will 5.2 binaries be retired from windows.php.net?

2013-09-09 Thread Ferenc Kovacs
> > Currently the downloads page on http://php.net/ only lists the supported > > versions(5.3, 5.4, 5.5) and I think that http://windows.php.net/ should > be > > synced with that, so the 5.2 links should be removed. > > http://museum.php.net/ already has those binaries, so it would be still > > ava

Re: [PHP-DEV] Call for participation: github pull request

2013-09-16 Thread Ferenc Kovacs
On Mon, Sep 16, 2013 at 9:08 AM, Michael Wallner wrote: > On 16 September 2013 03:36, David Soria Parra wrote: > > We have recenty discussed a lot of new language features and RFC while > our > > github pull requests are continously growing without getting pulled. We > > have 74 open pull reques

Re: [PHP-DEV] Call for participation: github pull request

2013-09-16 Thread Ferenc Kovacs
On Mon, Sep 16, 2013 at 12:41 PM, Ferenc Kovacs wrote: > > > > On Mon, Sep 16, 2013 at 9:08 AM, Michael Wallner wrote: > >> On 16 September 2013 03:36, David Soria Parra wrote: >> > We have recenty discussed a lot of new language features and RFC while >&g

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-26 Thread Ferenc Kovacs
On Tue, Sep 24, 2013 at 4:29 AM, Yasuo Ohgaki wrote: > Hi all, > > There isn't any good counter measure session hijack. > However, we can regenerate session ID if IP address has changed. > Hijacked users might notice that they have been logged out if session > ID is regenerated by attackers. Ther

[PHP-DEV] Re: handling non-fatal compile-time errors

2013-09-29 Thread Ferenc Kovacs
On Thu, Aug 29, 2013 at 5:31 PM, Ferenc Kovacs wrote: > > > > On Thu, Aug 8, 2013 at 5:11 PM, Ferenc Kovacs wrote: > >> Hi, >> >> I've just bumped into https://bugs.php.net/bug.php?id=65322 recently, >> and I would like you get some opinions on t

Re: [PHP-DEV] handling non-fatal compile-time errors

2013-09-29 Thread Ferenc Kovacs
On Sun, Sep 29, 2013 at 2:02 PM, Nikita Popov wrote: > On Thu, Aug 8, 2013 at 5:11 PM, Ferenc Kovacs wrote: > >> Hi, >> >> I've just bumped into https://bugs.php.net/bug.php?id=65322 recently, >> and I >> would like you get some opinions on the issue.

Re: [PHP-DEV] handling non-fatal compile-time errors

2013-09-29 Thread Ferenc Kovacs
On Sun, Sep 29, 2013 at 4:59 PM, Ferenc Kovacs wrote: > > > > On Sun, Sep 29, 2013 at 2:02 PM, Nikita Popov wrote: > >> On Thu, Aug 8, 2013 at 5:11 PM, Ferenc Kovacs wrote: >> >>> Hi, >>> >>> I've just bumped into https://bugs.php.net/

Re: [PHP-DEV] __construct is like a normal method but without E_STRICT

2013-10-01 Thread Ferenc Kovacs
On Thu, Sep 26, 2013 at 11:19 PM, Robert Stoll wrote: > Heya > > > > I would like to have some opinions on the topic inconsistency between > methods and __construct > > See the following code: > > > > class A { > > function __construct($a) {} > > function foo($a)

Re: [PHP-DEV] RFC: Draft: Nested Classes

2013-10-01 Thread Ferenc Kovacs
On Sun, Sep 29, 2013 at 11:12 PM, Joe Watkins wrote: > Hi All, > > I'd like to RFC on Nested Classes (Draft): > > > https://wiki.php.net/rfc/**nested_classes > > There's been a little bit of discussion already about it, in the usual > plac

Re: [PHP-DEV] Re: Flexible type hinting

2009-07-02 Thread Ferenc Kovacs
this one looks much more intuitive. Tyrael 2009/7/2 Ford, Mike : > > >> -Original Message- >> From: Lukas Kahwe Smith [mailto:m...@pooteeweet.org] >> Sent: 02 July 2009 14:05 >> To: Ilia Alshanetsky >> Cc: Paul Biggar; PHP Internals; Derick Rethans; Stanislav Malyshev; >> Hannes Magnusson

Re: [PHP-DEV] Re: Patch: Use notices in PDO

2009-10-10 Thread Ferenc Kovacs
On Fri, Oct 9, 2009 at 11:12 PM, Samuel ROZE wrote: > Le vendredi 09 octobre 2009 à 23:05 +0200, Pierre Joye a écrit : >> About applying it, we should wait a bit more until we get more >> feedbacks (say until the middle of next week). > > Oh yeah of course ! It was just a question to know how it h

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Ferenc Kovacs
On Mon, Oct 12, 2009 at 10:51 PM, Mark Krenz wrote: > On Mon, Oct 12, 2009 at 07:22:10PM GMT, Robert Cummings > [rob...@interjinn.com] said the following: >> >> You are obviously right of course... the PHP world is NOT ready for the >> POSIX regex library to be dropped. That's why it's "deprecate

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Ferenc Kovacs
On Mon, Oct 12, 2009 at 11:53 PM, Ferenc Kovacs wrote: > On Mon, Oct 12, 2009 at 10:51 PM, Mark Krenz wrote: >> On Mon, Oct 12, 2009 at 07:22:10PM GMT, Robert Cummings >> [rob...@interjinn.com] said the following: >>> >>> You are obviously right of course... t

Re: [PHP-DEV] Autofunc patch (automatically loading functions like autoload)

2009-10-16 Thread Ferenc Kovacs
On Fri, Oct 16, 2009 at 5:09 PM, Samuel ROZE wrote: > Hi, > > This is a good idea, it appears that it works fine ! I'm not really fond > of auto-loading (class or here functions) but it can be a good > thing ! :-) > > Le vendredi 16 octobre 2009 à 17:32 +0300, Rack-Soft security a écrit : > [...]

Re: [PHP-DEV] PHP modules (pecl) and PHP codes (pear)

2009-10-29 Thread Ferenc Kovacs
On Thu, Oct 29, 2009 at 10:34 AM, Samuel ROZE wrote: > Hi, > > I'll have to develop a function like "parse_url", but "parse_referrer" > which provides informations about the URL (the referrer): provider, > keywords, type of search (search, cache, translation, ...), real page > url... > > I don't r

Re: [PHP-DEV] PHP 5.3.1 reference parameter regression

2009-12-17 Thread Ferenc Kovacs
I agree that this feature should be avoided in userland, but I think that it would be terrible, if this "bugfix" would stay this way, because this breaks backward compatibility -without notification- with a minor version update both in 5.3 and 5.2 branch. Tyrael On Thu, Dec 17, 2009 at 7:37 AM, S

Re: [PHP-DEV] PHP 5.3.1 reference parameter regression

2009-12-17 Thread Ferenc Kovacs
As tsarling stated in the bugreport: http://bugs.php.net/bug.php?id=50394 "I'm not complaining about the warning, which I just added to demonstrate the problem. I'm not complaining about the new behaviour of zend_call_function() as of PHP 5.3.0, I'm complaining about the lost reference in __call i

Re: [PHP-DEV] [PATCH] Fix for 32 bits limit on file size (see bug 48886)

2009-12-22 Thread Ferenc Kovacs
it happens if you are working with some video on demand/video conversion software Tyrael On Tue, Dec 22, 2009 at 9:38 PM, mm w <0xcafef...@gmail.com> wrote: > Thx, > > yep a long convertion, not a big deal, we don't work with 4.3GB files > :-D, well minded people try to avoid that > > On Tue, Dec

Re: [PHP-DEV] Unsetting loop variables at the end of the loop

2009-12-27 Thread Ferenc Kovacs
On Sun, Dec 27, 2009 at 3:11 PM, Mike Wacker wrote: > Adam Harvey wrote: >> >> 2009/12/27 Mike Wacker : >>> >>> PHP's documentation for foreach states that if you iterate by reference >>> [foreach ($ii as &$i) ...], you should unset $i after the loop.  $i still >>> points to the last element of th

Re: [PHP-DEV] Unsetting loop variables at the end of the loop

2009-12-28 Thread Ferenc Kovacs
On Mon, Dec 28, 2009 at 11:58 AM, jvlad wrote: >> Do you think we are deprecating split() just for fun? > > Yes, exactly. It's just made for _fun_ by core developers and brought > headache > to people developing in php. > >> We are letting you know that you need to start thinking about migrating >

Re: [PHP-DEV] Unsetting loop variables at the end of the loop

2009-12-28 Thread Ferenc Kovacs
On Mon, Dec 28, 2009 at 4:07 PM, jvlad wrote: >> as far as I see, the changes depends on how many work has to be done, >> to preserve something. > > I see the same. > >> posix functions like split, and so could have been modified to work >> with the unicode strings, but nobody cared enough. > > Be

Re: [PHP-DEV] Unsetting loop variables at the end of the loop

2009-12-28 Thread Ferenc Kovacs
On Mon, Dec 28, 2009 at 4:39 PM, Tjerk Meesters wrote: > On 28-Dec-2009, at 20:39, Ferenc Kovacs wrote: > >> On Mon, Dec 28, 2009 at 11:58 AM, jvlad wrote: >>>> >>>> Do you think we are deprecating split() just for fun? >>> >>> Yes, ex

Re: [PHP-DEV] PHP6's future

2010-01-01 Thread Ferenc Kovacs
beware, troll. Tyrael On Thu, Dec 31, 2009 at 11:11 AM, mm w <0xcafef...@gmail.com> wrote: > Those things were already deprecated, it's good thing that php 5.3 > finally broke bad code, php 5 (since the first alpha) is there since a > while, drupal is drupal if folks don't want to fix it,  what's

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-01-13 Thread Ferenc Kovacs
the path is like unstable -> testing -> stable so the testing will be the new stable. http://en.wikipedia.org/wiki/File:Debian-package-cycle.png Tyrael On Wed, Jan 13, 2010 at 11:00 AM, Alexey Zakhlestin wrote: > > On 12.01.2010, at 23:48, Raphael Geissert wrote: > >> Hello, >> >> At Debian we a

Re: [PHP-DEV] Can we call Apache 2 API function from a PHP 5 extension module?

2010-01-17 Thread Ferenc Kovacs
You are just trolling again, or do you have some solution/suggestion for the original problem? Tyrael On Sun, Jan 17, 2010 at 7:35 AM, mm w <0xcafef...@gmail.com> wrote: > yep nevermind I don't you post this question on php-internal and don't > understand this ugly suggestion, Brian when I read y

Re: [PHP-DEV] Bug #50751

2010-02-15 Thread Ferenc Kovacs
If this is an expected behavior then I think it should be noted here: http://www.php.net/manual/en/transports.inet.php Tyrael 2010/2/15 Jaroslav Hanslik : > Hi, > > my bug report http://bugs.php.net/bug.php?id=50751 was marked as bogus but I > still think it's a bug. The session.save_path is trea

Re: [PHP-DEV] variables in namespaces, was: On closures and lamdba

2010-02-24 Thread Ferenc Kovacs
maybe you want to pack your namespaced functions/classes with the global variables used with them. Tyrael On Wed, Feb 24, 2010 at 8:01 AM, Stanislav Malyshev wrote: > Hi! > >> I never did understand *why* variables were not namespaced. > > If you have so many global vars you need to namespace th

Re: [PHP-DEV] PHP 6

2010-03-12 Thread Ferenc Kovacs
if you mentioned windows builds, whats the current status of http://pecl4win.php.net/ ? Tyrael On Fri, Mar 12, 2010 at 6:54 AM, Lester Caine wrote: > Rafael Dohms wrote: >> >> 2010/3/11 Johannes Schlüter: >> >>> >>> On the other hand merging tests to5.2 and 5.3 means that we can find new >>> BC

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/branches/

2010-03-12 Thread Ferenc Kovacs
where did that mail come from? imho it should have been addressed to the mailing list directly. I agree that he was short-tempered, but I think that the progress worth it. Tyrael On Fri, Mar 12, 2010 at 3:43 PM, Pierre Joye wrote: > On Fri, Mar 12, 2010 at 3:38 PM, Lukas Kahwe Smith > wrote:

Re: [PHP-DEV] PHP 6

2010-03-12 Thread Ferenc Kovacs
On Fri, Mar 12, 2010 at 9:35 AM, Lester Caine wrote: > Ferenc Kovacs wrote: >> >> if you mentioned windows builds, whats the current status of >> http://pecl4win.php.net/ ? > > Also only available for PHP5.2 ;) I mean when will be avaiable, the current situation s

Re: [PHP-DEV] PHP 6

2010-03-12 Thread Ferenc Kovacs
On Fri, Mar 12, 2010 at 5:12 PM, Christopher Jones wrote: > Nobody is arguing against maintaining 5.2 for the near-mid future. > If you want Windows binaries, start building . . . . You should replace the "PECL extensions for Windows is being worked on. The interface on the pecl website will mo

Re: [PHP-DEV] Re: moving forward

2010-03-14 Thread Ferenc Kovacs
(g)it would be better for cherrypicking and handling multiple development branches, but it the developers cant use it propery, the its PITA. Tyrael On Sun, Mar 14, 2010 at 8:09 PM, Gwynne Raskind wrote: > On Mar 14, 2010, at 12:58 PM, David Soria Parra wrote: >>> I would also like to bring up an

Re: [PHP-DEV] Where are we ACTUALLY on Unicode?

2010-03-16 Thread Ferenc Kovacs
On Tue, Mar 16, 2010 at 8:05 PM, Stanislav Malyshev wrote: > Hi! > >> On disk storage should probably be UTF-8 without any question? Windows >> use of widestrings for some files simple doubles up the on disk storage > > As file content, it's OK (an it'd be easy to add option to specify content > t

Re: [PHP-DEV] Where are we ACTUALLY on Unicode?

2010-03-16 Thread Ferenc Kovacs
n see what's what. > I would choose mediawiki software for this kind of test, it works in a really internationalized environment, plus I did see posting/contributing the main developer of the mediawiki/wikipedia application on the mailing list. But that's just my two cents. Tyrael &

Re: [PHP-DEV] PHP 6

2010-03-17 Thread Ferenc Kovacs
On Wed, Mar 17, 2010 at 12:23 AM, Geoffrey Sneddon wrote: > > On 12 Mar 2010, at 20:15, Philip Olson wrote: > >> >> On Mar 12, 2010, at 10:46 AM, Stanislav Malyshev wrote: >> >>> Hi! >>> Yeah. We tried it, and it simply didn't pan out (performance, bc, lost interest, ..). >>> >>> I

Re: [PHP-DEV] Bug # 50755

2010-03-18 Thread Ferenc Kovacs
On Thu, Mar 18, 2010 at 10:16 AM, Lukas Kahwe Smith wrote: > > On 18.03.2010, at 03:47, Stanley Sufficool wrote: > >> On Mon, Mar 15, 2010 at 8:45 AM, Christopher Jones >> wrote: >>> >>> >>> Stanley Sufficool wrote: I have attached patches for bug # 50755 on bugs.php.net. These also cle

Re: [PHP-DEV] PHP 5.4 branch and trunk

2010-03-19 Thread Ferenc Kovacs
On Fri, Mar 19, 2010 at 4:20 AM, Larry Garfield wrote: > On Thursday 18 March 2010 10:05:39 pm Eric Stewart wrote: > >> +1 For shorter release cycles. Shorter release cycles could also allow us >>  to move major releases immediately to bug and security fixes only. I've >>  never been a fan of seei

Re: [PHP-DEV] [PATCH] Raise warning first on "Maximum execution time exceeded"

2010-03-22 Thread Ferenc Kovacs
2010/3/22 Johannes Schlüter > Hi, > > On Mon, 2010-03-22 at 16:00 +0100, Olivier B. wrote: > > well, maybe we should provide a better behaviour for all fatal errors, no > ? > > A frequent one I see is the fatal error for calls like "$obj->method()", > > when $obj is not an object. > > > > Isn't p

Re: [PHP-DEV] [PATCH] Raise warning first on "Maximum execution time exceeded"

2010-03-22 Thread Ferenc Kovacs
On Mon, Mar 22, 2010 at 4:41 PM, Herman Radtke wrote: > > What do you mean by "no option"? Otherwise yes, that's what it does. > Using sleep there is not a good practice. Since the custom error > handler is triggered, there is no need for the sleep call anyways. > > > I'm not sure I understand. A

Re: [PHP-DEV] [PATCH] Raise warning first on "Maximum execution time exceeded"

2010-03-22 Thread Ferenc Kovacs
2010/3/22 Jille Timmermans > Op 22-3-2010 16:14, Johannes Schlüter schreef: > > On Mon, 2010-03-22 at 15:51 +0100, troels knak-nielsen wrote: >> >> >>> We log all errors that happens in our production environment, but as >>> fatal errors can't be handled from within php, we end up with little >>

Re: [PHP-DEV] [PATCH] Raise warning first on "Maximum execution time exceeded"

2010-03-22 Thread Ferenc Kovacs
On Mon, Mar 22, 2010 at 5:04 PM, Herman Radtke wrote: > > This patch handles timeout, not memory exhaustion. > > Apologies. My train of thought inexplicably switched over to memory. > I meant to assert that your custom error handler could extend the > length of the script to n extra seconds. Thi

Re: [PHP-DEV] asynchronous code execution using php in cgi mode

2010-03-22 Thread Ferenc Kovacs
you can use asyncronous file?/socket io with stream_select, with mysqlnd you can create asyncronous queries. you can fork process with pcnt_fork and send signals between process, or you can use gearman to "outsource" your heavy weight functions to other machines. Tyrael On Tue, Mar 23, 2010 at 7:

Re: [PHP-DEV] Re: PHP 5.4 branch and trunk

2010-03-23 Thread Ferenc Kovacs
On Sat, Mar 20, 2010 at 4:58 AM, Pas wrote: > On 2010.03.19. 19:50, la...@garfieldtech.com wrote: > >> On 3/19/10 1:31 PM, Nate Abele wrote: >> >>> The point is that, for instance, PHP 5.3 was not a trivial upgrade for coders or hosters. Sure it's mostly compatible, and you certainly ca

Re: [PHP-DEV] Re: PHP 5.4 branch and trunk

2010-03-23 Thread Ferenc Kovacs
sorry, my bad. Tyrael On Tue, Mar 23, 2010 at 2:18 PM, Derick Rethans wrote: > On Tue, 23 Mar 2010, Ferenc Kovacs wrote: > > > It seems that the > > "Implement David's Circular Garbage collection patch" was not merged into > > 5.3, I think it should be a

Re: [PHP-DEV] Output buffering patch

2010-03-24 Thread Ferenc Kovacs
On Wed, Mar 24, 2010 at 6:17 PM, Jani Taskinen wrote: > 24.3.2010 12:54, Lukas Kahwe Smith wrote: > > Hey, > > > > Could one of you write up a short RFC on this patch? Just some details > about the bugs fixed, known BC breaks and (undocumented) edge case changes. > This would be helpful for anyon

Re: [PHP-DEV] How to trace a crash bug?

2010-03-24 Thread Ferenc Kovacs
apache version? php version? thread safe, or nts? does it crash with a hello world script, or only with your complex script. if its crash only with your script, then we cant help without a testcase. btw: I think you've chosen the wrong mailing list with your problem, the internals mailing list is f

Re: [PHP-DEV] How to trace a crash bug?

2010-03-25 Thread Ferenc Kovacs
On Thu, Mar 25, 2010 at 8:49 AM, Thomas Hruska wrote: > Ferenc Kovacs wrote: > >> apache version? >> > > If you read the message, you would see "Apache 2.2.13". > > > I mean where did you get it? You build it for yourself, you downloaded from apac

Re: [PHP-DEV] How to trace a crash bug?

2010-03-27 Thread Ferenc Kovacs
On Sat, Mar 27, 2010 at 11:00 AM, Alexey Zakhlestin wrote: > > On 27.03.2010, at 9:05, Thomas Hruska wrote: > > > One thought: Has a way to track call depth been considered (perhaps > _execute())? If the number of calls exceeds a certain (reasonable) number, > a warning or notice could be displa

Re: [PHP-DEV] trunk is alive and open

2010-03-27 Thread Ferenc Kovacs
On Sat, Mar 27, 2010 at 11:12 AM, Lukas Kahwe Smith wrote: > > On 25.03.2010, at 22:58, Christopher Jones wrote: > > > After considering what is needed by PHP, I believe the vote should > > primarily be thought of as a choice between Derick and David. If > > either wants to bring in a co-RM to sh

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

2010-04-01 Thread Ferenc Kovacs
> Anyway, do we really have to tell people "you don't need it" when they > believe that they do? > Python has multithreading and it works reasonably good. People who know > what they are doing can implement really brilliant solutions (think Tornado) > > Interesting thing here threads would require

<    3   4   5   6   7   8   9   10   11   12   >