Re: [PHP-DEV] cvs commit freeze for the 5.3 branch

2009-03-20 Thread Ferenc Kovacs
On Fri, Mar 20, 2009 at 12:01 PM, Lukas Kahwe Smith m...@pooteeweet.orgwrote: Hello, We are not in a commit freeze on the 5_3 branch. For today for any commit not just affecting README's (as in anything affecting buolding or build testing), please get a nod from Johannes or myself. On the

Re: [PHP-DEV] change to zend_extension directive in php.ini for PHP 5.3?

2009-06-15 Thread Ferenc Kovacs
2009/6/15 Allister Beharry allister.beha...@gmail.com: 2009/6/14 Greg Beaver g...@chiaraquartet.net: Derick Rethans wrote: On Sun, 14 Jun 2009, Greg Beaver wrote: I just updated cvs for my main test bed (my last full update was a couple of weeks ago) and xdebug was no longer loaded.  I had

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 m.f...@leedsmet.ac.uk: -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

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 samuel.r...@gmail.com 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

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 m...@suso.org 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

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 i...@tyrael.hu wrote: On Mon, Oct 12, 2009 at 10:51 PM, Mark Krenz m...@suso.org 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

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 samuel.r...@gmail.com 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

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 samuel.r...@gmail.com 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...

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,

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

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

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 mwac...@cornellsun.com wrote: Adam Harvey wrote: 2009/12/27 Mike Wacker mwac...@cornellsun.com: 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

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 d...@yandex.ru 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

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 d...@yandex.ru 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.

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 tjerk.meest...@gmail.com wrote: On 28-Dec-2009, at 20:39, Ferenc Kovacs tyr...@gmail.com wrote: On Mon, Dec 28, 2009 at 11:58 AM, jvlad d...@yandex.ru wrote: Do you think we are deprecating split() just for fun? Yes, exactly. It's just made

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 the

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 indey...@gmail.com wrote: On 12.01.2010, at 23:48, Raphael Geissert wrote: Hello, At

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 your

Re: [PHP-DEV] Prototype PHP interpreter using the PyPy toolchain - Hippy VM

2012-07-16 Thread Ferenc Kovacs
On Mon, Jul 16, 2012 at 12:04 PM, marius adrian popa map...@gmail.comwrote: http://morepypy.blogspot.com/2012/07/hello-everyone.html and the comments http://news.ycombinator.com/item?id=4241921 http://en.reddit.com/r/programming/comments/wipf2/prototype_php_interpreter_using_the_pypy/

[PHP-DEV] supporting the final keyword for properties

2012-07-16 Thread Ferenc Kovacs
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 read-only attributes (const would be a better choice in performance wise, but then you

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

2012-07-16 Thread Ferenc Kovacs
On Mon, Jul 16, 2012 at 2:59 PM, Anthony Ferrara ircmax...@gmail.comwrote: Ferenc, On Mon, Jul 16, 2012 at 8:25 AM, Ferenc Kovacs tyr...@gmail.com wrote: Hi, The recent http://www.mail-archive.com/internals@lists.php.net/msg59301.html discussion made me wonder why did we decide

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

2012-07-16 Thread Ferenc Kovacs
On Mon, Jul 16, 2012 at 3:42 PM, Pierre Joye pierre@gmail.com wrote: hi, On Mon, Jul 16, 2012 at 2:25 PM, Ferenc Kovacs tyr...@gmail.com wrote: The recent http://www.mail-archive.com/internals@lists.php.net/msg59301.html discussion made me wonder why did we decide not supporting

Re: [PHP-DEV] Pseudo-objects (methods on arrays, strings, etc.)

2012-07-16 Thread Ferenc Kovacs
On Tue, Jul 17, 2012 at 1:27 AM, Andrew Faulds ajf...@googlemail.comwrote: Hi there, Through its history, PHP has slowly become more object-oriented. PHP today has classes, interfaces, objects, namespaces, and so on. However, much of the language's core functionality is entirely procedural,

Re: [PHP-DEV] Pseudo-objects (methods on arrays, strings, etc.)

2012-07-18 Thread Ferenc Kovacs
2012.07.18. 18:55, Stas Malyshev smalys...@sugarcrm.com ezt írta: Hi! Er, sorry, accidental capslock. This IS a new API. That was an example. I'm not saying just put - everywhere, I'm saying we can keep array_* and add a new set of - functions which are well-designed, consistent, etc.

Re: [PHP-DEV] Call for voting: [RFC] Allow use T_AS in closure use statement

2012-07-20 Thread Ferenc Kovacs
On Sat, Jul 21, 2012 at 1:02 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! Call for voting for Allow use T_AS in closure use statement, https://wiki.php.net/rfc/useas#voting any comment will be appreciated. I think it would be useful to add some explanation why this

[PHP-DEV] Re: [PHP-I18N] Unicode support with UString abstraction layer

2012-07-22 Thread Ferenc Kovacs
Hi, I think that there aren't that many people subscribed to this list, so I'm ccing the internals list, as your suggestion is to implement/bundle this to the core. On Wed, Mar 21, 2012 at 7:23 PM, Umberto Salsi sa...@icosaedro.it wrote: Although I never contributed to the code of the PHP

Re: [PHP-DEV] Make try/catch brackets optinal

2012-07-24 Thread Ferenc Kovacs
2012.07.24. 7:41, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net ezt írta: On 23/07/12 06:03, Alex Aulbach wrote: In other words: You want to introduce something, which we are glad not to need anymore. :) Ok. And as I said, it is a proposal so… ;-). Next topic: rescue or finally

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

2012-07-25 Thread Ferenc Kovacs
( I'll start a new thread for my other rant ... ) nah, you won't, you will bring that up in every thread instead. -- Ferenc Kovács @Tyr43l - http://tyrael.hu

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

2012-07-25 Thread Ferenc Kovacs
I use PHP every day, but as explained most PHP-developers will have problems and I can say that, because I've more than 20 years experience in that. Do you have that? http://en.wikipedia.org/wiki/Appeal_to_authority I'm just wondering... for whom is PHP developed, for the PHP-internals

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

2012-07-25 Thread Ferenc Kovacs
On Wed, Jul 25, 2012 at 5:11 PM, Lester Caine les...@lsces.co.uk wrote: Andrew Faulds wrote: I top you 20 years with 37 years. I was programming in Algol in 1975 ( at Warwick university ). I'm not a programmer, I'm a hardware engineer who has to program to make systems work. I added PHP 12

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

2012-07-25 Thread Ferenc Kovacs
He linked to the Wikipedia Appeal to authority article because it's a common logical fallacy. Experience alone does not make you any more right than somebody else, and in the same way, someone without it is not less right. Also, I have 16 years of experience at life, so obviously I'm an

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

2012-07-25 Thread Ferenc Kovacs
On Wed, Jul 25, 2012 at 5:37 PM, Alex Aulbach alex.aulb...@gmail.comwrote: 2012/7/25 Ferenc Kovacs tyr...@gmail.com: more than 20 years experience in that. Do you have that? http://en.wikipedia.org/wiki/Appeal_to_authority So what? U are using Wikipedia to invalidate me. :) shrug

Re: [PHP-DEV] PHP6 wiki page

2012-07-25 Thread Ferenc Kovacs
On Wed, Jul 25, 2012 at 5:20 PM, Andrew Faulds a...@ajf.me wrote: Is there a PHP 6 wiki page for co-ordinating development of and collecting ideas for PHP6 development? There are a lot of idea being thrown around, would be nice if we had a page (there might be one, but I can't find it).

Re: [PHP-DEV] RFCs and organisation

2012-07-27 Thread Ferenc Kovacs
On Fri, Jul 27, 2012 at 1:41 PM, Gábor Fási m...@maerlyn.eu wrote: On 27 July 2012 13:15, Laupretre François francois.laupre...@francetv.fr wrote: How about using git for the actual documents too.. No better way to collaborate imho. Do you mean using github or integrating git VCS in a

Re: [PHP-DEV] Run-tests.php JUnit format issue

2012-07-27 Thread Ferenc Kovacs
On Sat, Jul 7, 2012 at 4:41 PM, Anthony Ferrara ircmax...@gmail.com wrote: Hey all, I've run into an issue with run-tests.php with the junit format. The XML that it generates can be invalid because of invalid UTF-8 characters and invalid XML characters. This means that trying to parse it

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Ferenc Kovacs
On Sat, Jul 28, 2012 at 7:08 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 07/28/2012 07:09 AM, Johannes Schlüter wrote: On Fri, 2012-07-27 at 22:07 +0200, Anatoliy Belsky wrote: after working for some time with the PHP test suite I've realized - it needs an improvement of a special

Re: [PHP-DEV] Re: [php-maint] Bug#612743: php5: PHP is compiled with LFS support, but this can not be detected by extensions

2012-07-28 Thread Ferenc Kovacs
On Fri, Mar 18, 2011 at 5:08 PM, Derick Rethans der...@derickrethans.nlwrote: On Fri, 18 Mar 2011, Ondřej Surý wrote: On Thu, Feb 10, 2011 at 13:37, Ondřej Surý ond...@debian.org wrote: On Thu, Feb 10, 2011, Derick wrote: I know it doesn't; I was asking for making it detectable.

Re: [PHP-DEV] PHP 5.x Documentend End Of Life Dates

2012-08-01 Thread Ferenc Kovacs
On Wed, Aug 1, 2012 at 8:16 PM, Ángel González keis...@gmail.com wrote: On 01/08/12 20:02, Kris Craig wrote: On Wed, Aug 1, 2012 at 6:13 AM, hakre hanskren...@yahoo.de wrote: I have some simple questions about PHP 5.x End Of Life (EOL) dates: PHP 5.0 - Is there some official news-item

Re: [PHP-DEV] register_globals work arounds

2012-08-02 Thread Ferenc Kovacs
On Thu, Aug 2, 2012 at 2:34 PM, rich gray r...@richgray.com wrote: On 02/08/2012 13:51, Lester Caine wrote: OK No discussions on why register_globals has been removed we all understand why and now have to live with that ... I'm not winging here! The question is Does anybody have an

Re: [PHP-DEV] PHP 5.x Documentend End Of Life Dates

2012-08-03 Thread Ferenc Kovacs
2012.08.03. 11:29, hakre hanskren...@yahoo.de ezt írta: Von: Adam Harvey ahar...@php.net Gesendet: 10:58 Donnerstag, 2.August 2012 Betreff: Re: [PHP-DEV] PHP 5.x Documentend End Of Life Dates On 2 August 2012 16:51, Morgan L. Owens pack...@nznet.gen.nz wrote: On 2012-08-02 20:42,

Re: [PHP-DEV] Why do disabled functions / classes generate a WARNING.

2012-08-03 Thread Ferenc Kovacs
On Fri, Aug 3, 2012 at 4:19 PM, Stan Vass sv_for...@fmethod.com wrote: Hi all, Can anyone explain to me the reason that when a function or class is disabled via the ini setting, an attempt to access the disabled item generates a non-fatal error? I'm looking at a segfault in the SPL caused

Re: [PHP-DEV] missing documentation for use-clause in closures?

2012-08-03 Thread Ferenc Kovacs
On Fri, Aug 3, 2012 at 5:09 PM, Rasmus Schultz ras...@mindplay.dk wrote: Is this all the documentation there is for the use-clause for anonymous closures? http://us2.php.net/manual/en/functions.anonymous.php For one, it would be nice to have documentation that explains whether the

Re: [PHP-DEV] Why do disabled functions / classes generate a WARNING.

2012-08-03 Thread Ferenc Kovacs
Warnings are special, they aren't really errors as such. They wouldn't become exceptions. Also, why should an erroring function return a value? from My experience shows it's best to have an error handler convert all errors to catchable exceptions, with some error types (like E_STRICT,

Re: [PHP-DEV] missing documentation for use-clause in closures?

2012-08-03 Thread Ferenc Kovacs
On Fri, Aug 3, 2012 at 5:53 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Aug 3, 2012 at 5:09 PM, Rasmus Schultz ras...@mindplay.dk wrote: Is this all the documentation there is for the use-clause for anonymous closures? http://us2.php.net/manual/en/functions.anonymous.php For one

[PHP-DEV] Error handling brainstorming

2012-08-03 Thread Ferenc Kovacs
Hi, We started a discussion about the current error handling mechanism and the possible improvements in the Why do disabled functions / classes generate a WARNING thread[1], but that is a little bit offtopic there, so I decided to create a separate thread for it. Basically Etienne mentioned that

[PHP-DEV] Re: Error handling brainstorming

2012-08-03 Thread Ferenc Kovacs
On Fri, Aug 3, 2012 at 11:05 PM, Andrew Faulds a...@ajf.me wrote: On 03/08/12 21:55, Ferenc Kovacs wrote: Andrew: From your mails, it seems that you don't agree with Stan on turning everything but fatals into exceptions[9]. I'm really confused about that, as if we take away warnings

Re: [PHP-DEV] [RFC] Remove calls with incompatible Context

2012-08-03 Thread Ferenc Kovacs
On Mon, Jul 30, 2012 at 7:31 PM, Gustavo Lopes glo...@nebm.ist.utl.ptwrote: https://wiki.php.net/rfc/**incompat_ctxhttps://wiki.php.net/rfc/incompat_ctx An RFC for deprecating and removing $this from incompatible context. Comments are welcome. -- Gustavo Lopes -- PHP Internals - PHP

Re: [PHP-DEV] Error handling brainstorming

2012-08-03 Thread Ferenc Kovacs
On Sat, Aug 4, 2012 at 1:16 AM, Stan Vass sv_for...@fmethod.com wrote: When I said I'd like to see E_STRICT be fatal/exceptions it wasn't a typo. My choice isn't based as much on what the current error severity is, or what the error severity is supposed to represent in general, because I've

Re: [PHP-DEV] Error handling brainstorming

2012-08-03 Thread Ferenc Kovacs
On Sat, Aug 4, 2012 at 1:44 AM, Stan Vass sv_for...@fmethod.com wrote: ** On Sat, Aug 4, 2012 at 1:16 AM, Stan Vass sv_for...@fmethod.com wrote: When I said I'd like to see E_STRICT be fatal/exceptions it wasn't a typo. My choice isn't based as much on what the current error severity is,

[PHP-DEV] php interactive shell without readline

2012-08-04 Thread Ferenc Kovacs
Hi, As most of you know, the current php interactive shell is pretty much useless without compiling php --with-readline, but for the most users this the first impression what they experience (eg. using the php interactive shell without readline support). There is an alternative readline

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Ferenc Kovacs
On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.com wrote: Hi, After the last discussion I've started about runkit which some of you suggest to keep it in PECL - I thought about the extensions problem in PHP and wish to ask for your opinion. Many developers use shared

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Ferenc Kovacs
On Sat, Aug 4, 2012 at 10:05 PM, Andrew Faulds a...@ajf.me wrote: On 04/08/12 21:03, Nikita Popov wrote: On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.com wrote: We had dl() until it was deprecated, and even when we got it I guess that administrators disabled the dl()

Re: [PHP-DEV] php interactive shell without readline

2012-08-05 Thread Ferenc Kovacs
On Mon, Aug 6, 2012 at 12:18 AM, Johannes Schlüter johan...@schlueters.dewrote: On Sat, 2012-08-04 at 21:49 +0200, Ferenc Kovacs wrote: Hi, As most of you know, the current php interactive shell is pretty much useless without compiling php --with-readline, but for the most users

Re: [PHP-DEV] php interactive shell without readline

2012-08-05 Thread Ferenc Kovacs
On Mon, Aug 6, 2012 at 1:22 AM, Andrew Faulds a...@ajf.me wrote: On 06/08/12 00:21, Ferenc Kovacs wrote: On Mon, Aug 6, 2012 at 12:18 AM, Johannes Schlüter johan...@schlueters.dewrote: On Sat, 2012-08-04 at 21:49 +0200, Ferenc Kovacs wrote: Hi, As most of you know, the current php

Re: [PHP-DEV] domdocument loadhtml and encoding

2012-08-07 Thread Ferenc Kovacs
On Fri, Jun 1, 2012 at 5:57 PM, Tjerk Meesters datib...@hotmail.com wrote: Gentlemen, Regarding this bug report: https://bugs.php.net/bug.php?id=49705 As more developers move away from using regular expressions to parse HTML and start using DOMDocument, I've noticed that quite a few

Re: [PHP-DEV] RFC page creation

2012-08-14 Thread Ferenc Kovacs
On Tue, Aug 14, 2012 at 9:19 PM, Kris Craig kris.cr...@gmail.com wrote: Put that aside, I think that someone should create a guidelines in the wiki about how to post an RFC without an account... Ironically, I think we'd need to create an RFC for that. ;) --Kris 1. fill out

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Ferenc Kovacs
On Mon, Aug 20, 2012 at 11:52 PM, Lester Caine les...@lsces.co.uk wrote: Having now got mysql running on the PHP5.4.3 machine, I'm trying to compile mysqlnd and mysqli as extensions to load and unload as required. php_mysqlnd_config.h no longer exists, but why is the config file named

Re: [PHP-DEV] [RFC] Generators

2012-08-22 Thread Ferenc Kovacs
On Wed, Aug 22, 2012 at 10:21 AM, Lester Caine les...@lsces.co.uk wrote: Morgan L. Owens wrote: As I wrote in an earlier post: On 2012-08-09 15:30, Morgan L. Owens wrote: I for one am lazy, and would much prefer writing: ?php function append_iterator($first, $second) {

Re: [PHP-DEV] [RFC] Generators

2012-08-22 Thread Ferenc Kovacs
On Wed, Aug 22, 2012 at 12:11 PM, Lester Caine les...@lsces.co.uk wrote: Ferenc Kovacs wrote: it doesn't make a difference, if you yield only once, and put that into a loop, or copy paste the yield line ten times. yield always does the same thing, pass the execution to the caller. I KNOW

Re: [PHP-DEV] [RFC] Generators

2012-08-22 Thread Ferenc Kovacs
I've just gone back over the rfc and I probably understand now why I was getting confused. Actually it really does irritate that the first 'example' on the page is simply the wrong way of doing it anyway. We should not be propagating bad code like that and using it as justification for

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-24 Thread Ferenc Kovacs
On Fri, Aug 17, 2012 at 11:41 PM, Sebastian Krebs krebs@gmail.comwrote: Hi, Don't know, how complicated this is (and also someone (not me) must implement it, because I can't :X), but to be in sync with the operators the short ternary operator should be usable in conjunction with the

Re: [PHP-DEV] Implicit isset in ternary operator

2012-08-24 Thread Ferenc Kovacs
On Fri, Aug 3, 2012 at 12:26 AM, Alex Aulbach alex.aulb...@gmail.comwrote: 2012/8/2 Andrew Faulds a...@ajf.me: Hi, Also in JavaScript if in strict mode. Legacy non-strict mode JS doesn't cause an error though. JS's || operator supresses this error though, which is great for e.g. x =

Re: [PHP-DEV] Add generic version support discontinued fix in Bugs

2012-08-25 Thread Ferenc Kovacs
2012.08.25. 9:24, Kris Craig kris.cr...@gmail.com ezt írta: Hey guys, I'm not sure whom to ask, but could somebody with the appropriate privs add a Quick Fix to the Bugs dropdown that says something along the lines of, Support for this PHP version has been discontinued (won't fix)? There's

Re: [PHP-DEV] Older style frameworks ...

2012-08-25 Thread Ferenc Kovacs
2012.08.25. 11:16, Lester Caine les...@lsces.co.uk ezt írta: Many of my 'problems' with all of the 'progress' being made with PHP are caused because I'm using a core framework who's origins go back to PHP4 days. Many of the facilities are currently unusable simply because they have not had any

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Ferenc Kovacs
would this trigger a notice if $foo is not defined? if yes, then it would be different from the current behavior of the ternary operator. Couldn't believe it, thus I tested it myself snip Don't know, what you are talking about, but the notice _is_ the current behaiour and therefore:

Re: [PHP-DEV] Session Id Collisions

2012-08-25 Thread Ferenc Kovacs
On Sat, Aug 25, 2012 at 4:47 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi, I was willing to add collision detection to session module after session adoption patch is merged. What's the status of session adoption patch? I've created patches for all 3 versions and I think Stats is going to

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Ferenc Kovacs
2012.08.25. 19:50, Sebastian Krebs krebs@gmail.com ezt írta: Am 25.08.2012 18:38, schrieb Ferenc Kovacs: would this trigger a notice if $foo is not defined? if yes, then it would be different from the current behavior of the ternary operator. Couldn't

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Ferenc Kovacs
So you are saying that your (teams) IDE doesn't tell you the method signature which contains also the default values? I guess that the fact that many of the php core functions have optional arguments and non null defaults must be really a PITA for you. I think what he was alluding to

Re: [PHP-DEV] Re: [VOTE]Call for voting: support use list in foreach

2012-08-26 Thread Ferenc Kovacs
On Sun, Aug 26, 2012 at 8:20 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! And this is how democracy works, Stas. If voters don't bother to turn up, too bad. Putting aside the fact that democracy has very little to do with what we're trying to do here (we're not government, we're

Re: [PHP-DEV] Re: [PROPOSED] password_hash RFC - Implementing simplified password hashing functions

2012-08-28 Thread Ferenc Kovacs
On Tue, Aug 28, 2012 at 5:55 PM, Alain Williams a...@phcomp.co.uk wrote: On Tue, Aug 28, 2012 at 11:28:07AM -0400, Anthony Ferrara wrote: Hello all, Since the discussion has died down around the concept, I have updated the RFC and moved it into Proposed (under discussion) status.

[PHP-DEV] Re: [PHP-I18N] Unicode support with UString abstraction layer

2012-08-31 Thread Ferenc Kovacs
On Sun, Jul 22, 2012 at 11:50 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Mar 21, 2012 at 7:23 PM, Umberto Salsi sa...@icosaedro.it wrote: Although I never contributed to the code of the PHP project, I hope the ideas that follow may provide some suggestion for the future developments

[PHP-DEV] Re: Are exceptions allowed in php core?

2012-08-31 Thread Ferenc Kovacs
On Thu, Feb 24, 2011 at 10:29 AM, Ferenc Kovacs i...@tyrael.hu wrote: Hi. it was mentioned multiple times on the list, that exceptions from php core is prohibited. do we have some documentation about this? the more detailed email on this topic was from Lukas: http://www.mail-archive.com

Re: [PHP-DEV] Re: Are exceptions allowed in php core?

2012-08-31 Thread Ferenc Kovacs
On Fri, Aug 31, 2012 at 7:03 PM, Anthony Ferrara ircmax...@gmail.comwrote: Ferenc, Not for PHP 5.5 (if that's happening?), but for PHP 6 I think a lot of things should become exceptions. From the impression that I get from reading through the mailing list threads and the irc

Re: [PHP-DEV] E_STRICT 'errors' - was Are exceptions allowed in php core?

2012-09-04 Thread Ferenc Kovacs
On Tue, Sep 4, 2012 at 3:09 PM, Lester Caine les...@lsces.co.uk wrote: Pierre Joye wrote: On Tue, Sep 4, 2012 at 2:51 PM, Lester Caineles...@lsces.co.uk wrote: ??? OH YES IT DOES !!! MANY times I get a a few lines of text on a white screen ... Switch off E_STRICT and everything works

Re: [PHP-DEV] E_STRICT 'errors' - was Are exceptions allowed in php core?

2012-09-04 Thread Ferenc Kovacs
Using third party code - joomla - only difference between working and not working is switching E_STRICT on. With display_errors=off one gets a white screen. I was not surprised as I've had this all the way through with code from many sources. Yes a lot of the time you just get the error

Re: [PHP-DEV] E_STRICT 'errors' - was Are exceptions allowed in php core?

2012-09-04 Thread Ferenc Kovacs
2012.09.04. 18:58, Rasmus Lerdorf ras...@lerdorf.com ezt írta: On 09/04/2012 09:36 AM, Adam Richardson wrote: I think Ferenc is correct in that this sounds like there's a custom error handler somewhere. If the custom error handler collects error info and then throws an exception (as has

Re: [PHP-DEV] E_STRICT 'errors' - was Are exceptions allowed in php core?

2012-09-05 Thread Ferenc Kovacs
2012.09.04. 22:25, Jan Ehrhardt php...@ehrhardt.nl ezt írta: Rasmus Lerdorf in php.internals (Tue, 04 Sep 2012 13:15:50 -0700): Just call error_reporting() at the beginning of your script. Which ain't possible in drupal (or hardly). You do not write any code. You just click together modules,

Re: [PHP-DEV] E_STRICT 'errors' - was Are exceptions allowed in php core?

2012-09-05 Thread Ferenc Kovacs
2012.09.04. 23:31, Lester Caine les...@lsces.co.uk ezt írta: Jan Ehrhardt wrote: Rasmus Lerdorf in php.internals (Tue, 04 Sep 2012 13:15:50 -0700): Just call error_reporting() at the beginning of your script. Which ain't possible in drupal (or hardly). You do not write any code. You just

Re: [PHP-DEV] Moving to an AST-based parsing/compilation process

2012-09-06 Thread Ferenc Kovacs
On Thu, Sep 6, 2012 at 11:10 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! Nikita is doing an amazing job with PHP_Parser, which is such a third-party tool. However, it will always lag behind the canonical parser. And it will (probably) never match 100% the behavior of the

Re: [PHP-DEV] Moving to an AST-based parsing/compilation process

2012-09-06 Thread Ferenc Kovacs
On Thu, Sep 6, 2012 at 2:53 PM, Sebastian Bergmann sebast...@php.netwrote: On 09/06/2012 10:15 AM, Ferenc Kovacs wrote: I propose putting together and RFC and a PoC ASAP, and then we can talk about facts instead of opinions and biased views on the topic. That would be the reasonable thing

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

2012-09-10 Thread Ferenc Kovacs
On Thu, Mar 29, 2012 at 5:16 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Thu, Mar 29, 2012 at 4:48 PM, Daniel Brown danbr...@php.net wrote: On Thu, Mar 29, 2012 at 06:04, Ferenc Kovacs tyr...@gmail.com wrote: judging from the lack of interest I guess you are right. I will remove

[PHP-DEV] clearing up who can propose RFCs

2012-09-14 Thread Ferenc Kovacs
Hi, I was asked in a private email that it is true or not that *anybody* can create an RFC. As this isn't the first time to see that question I think that we could document that a little bit clearly. Here is how I responded to the question, and maybe we could improve on it and put that somewhere

Re: [PHP-DEV] who is running snaps?

2012-09-14 Thread Ferenc Kovacs
On Fri, Sep 14, 2012 at 10:55 AM, Derick Rethans der...@php.net wrote: On Thu, 13 Sep 2012, Daniel Brown wrote: On Thu, Sep 13, 2012 at 3:21 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Does anybody know who is responsible the snaps.php.net machine? It seems to be serving

Re: [PHP-DEV] Download PHP binaries

2012-09-15 Thread Ferenc Kovacs
2012.09.15. 9:47, Remi Collet r...@fedoraproject.org ezt írta: Hi, I recently noticed that on http://www.php.net/downloads.php, Redhat/CentOS Binaries link to a third party repository [1]. First, this could be confused for users, as this is not a Red Hat or CentOS official repository.

Re: [PHP-DEV] Download PHP binaries

2012-09-16 Thread Ferenc Kovacs
2012.09.16. 4:36, Lester Caine les...@lsces.co.uk ezt írta: David Muir wrote: Remi Collet wrote: Last night I spent a couple of hours again trying to find an 'off the shelf' distribution that even had PHP5.4 and Apache2.4 ... Fedora 18 have httpd 2.4.3 and php 5.4.7;) (I have backports

Re: [PHP-DEV] Re: Moving forward: PHP 5.5

2012-09-17 Thread Ferenc Kovacs
On Mon, Sep 17, 2012 at 10:09 AM, David Soria Parra d...@php.net wrote: On 2012-09-08, David Soria Parra d...@php.net wrote: Hi internals, I would like to go ahead and propose Julien Pauli as the RM for 5.5. He is an active member of the PHP.net community, has deep knowledge of the

Re: [PHP-DEV] constructor hook

2012-09-18 Thread Ferenc Kovacs
On Tue, Sep 18, 2012 at 3:18 PM, Kris Craig kris.cr...@gmail.com wrote: On Tue, Sep 18, 2012 at 6:07 AM, Johannes Schlüter johan...@schlueters.dewrote: On Tue, 2012-09-18 at 08:19 -0400, Rasmus Schultz wrote: Hey, I'm going to make this brief, because I suspect a lot of people are

Re: [PHP-DEV] Decode, transcode, sanitize, filter, escape

2012-09-20 Thread Ferenc Kovacs
My point here is that much of what is being discussed on 'a core anti-XSS escaping class' is missing the some of the basic problems and 'filtering' is my own take on the correct way of managing this! and this is where you are wrong. see

Re: [PHP-DEV] Fwd: voter outreach

2012-09-20 Thread Ferenc Kovacs
2012.09.20. 12:20, Kris Craig kris.cr...@gmail.com ezt írta: Hey guys, I got this request from my IDL contact a few hours ago. What do y'all think? Looks like a good idea to me at least. -- I liked it better when they contacted us directly through the webmaster mailing list.

Re: [PHP-DEV] Fwd: voter outreach

2012-09-20 Thread Ferenc Kovacs
2012.09.20. 12:45, Kris Craig kris.cr...@gmail.com ezt írta: On Thu, Sep 20, 2012 at 3:42 AM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.09.20. 12:20, Kris Craig kris.cr...@gmail.com ezt írta: Hey guys, I got this request from my IDL contact a few hours ago. What do y'all think

Re: [PHP-DEV] Decode, transcode, sanitize, filter, escape

2012-09-20 Thread Ferenc Kovacs
On Thu, Sep 20, 2012 at 3:09 PM, Leigh lei...@gmail.com wrote: My whole point here is identifying WHAT needs 'escaping'. You can't simply 'escape' the output stream, you still want html tags to get out? This problem is specific to YOU, because (as far as I understood your previous post)

Re: [PHP-DEV] POST, content-type: application/json and json_decode

2012-09-21 Thread Ferenc Kovacs
On Fri, Sep 21, 2012 at 1:05 PM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: Hello, If PHP receives a HTTP request with the method POST and with the header Content-Type: application/x-www-form-**encoded, then, it automatically parses the request body to populate an array in

Re: [PHP-DEV] POST, content-type: application/json and json_decode

2012-09-21 Thread Ferenc Kovacs
On Fri, Sep 21, 2012 at 1:57 PM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: On 21/09/12 13:44, Ferenc Kovacs wrote: On Fri, Sep 21, 2012 at 1:05 PM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: Hello, If PHP receives a HTTP request with the method POST

[PHP-DEV] Re: [PHP-QA] Buffer Overflow Vulnerability Study at Auburn University

2012-09-29 Thread Ferenc Kovacs
On Fri, Sep 28, 2012 at 10:15 PM, Auburn Study sse.auburn.st...@gmail.comwrote: Hi All, I am a graduate student at Auburn University, working with Dr. Munawar Hafiz. We are working on an empirical study project to understand the software engineering practices used in companies that produce

Re: [PHP-DEV] [RFC] Property Accessors v1.2 : Internal Accessor Method Visibility / Callability

2012-10-30 Thread Ferenc Kovacs
I would say that the proposed accessors is what we should have added back then instead of __get/__set . The problem is that now we will have two similar (albeit one is an ugly subset of the other) feature which needs to co-exists. My gut tells me that we should ditch the magic method approach with

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Ferenc Kovacs
On Mon, Nov 12, 2012 at 4:00 PM, Ulf Wendel ulf.wen...@oracle.com wrote: Am 12.11.2012 15:48, schrieb Antony Dovgal: On 2012-11-12 18:15, Adam Harvey wrote: I don't think the documentation is necessarily effective here, particularly with functions that users tend to know by heart skip

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-15 Thread Ferenc Kovacs
On Thu, Nov 15, 2012 at 9:11 PM, Anthony Ferrara ircmax...@gmail.comwrote: Will, Actually, no it wouldn't. You still get the overhead of the error, plus any custom error handlers will be triggered regardless of the error_reporting setting which depending on the implementation of the

Re: [PHP-DEV] Where did the _logo_ functions go?

2012-11-16 Thread Ferenc Kovacs
On Fri, Nov 16, 2012 at 3:31 AM, Sherif Ramadan theanomaly...@gmail.comwrote: On Thu, Nov 15, 2012 at 8:26 PM, Philip Olson phi...@roshambo.org wrote: Hello geeks, Why does PHP 5.5 remove the *_logo_* functions? Is this a security related move? Shouldn't these emit E_DEPRECATED errors in

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-16 Thread Ferenc Kovacs
Officially deprecating mysqli is, in my opinion, mostly a help for users to go in the correct direction early instead of struggling due to missing features later. I suppose the mysqli here was just a typo. -- Ferenc Kovács @Tyr43l - http://tyrael.hu

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-21 Thread Ferenc Kovacs
On Wed, Nov 21, 2012 at 6:08 AM, Adam Harvey ahar...@php.net wrote: We can't really unbundle and move to PECL without deprecating first anyway For the record, we did this with other extensions in the past. Technically mysql isn't any different, we only make a more careful approach because

  1   2   3   4   5   6   7   8   9   10   >