Re: [PHP-DEV] [RFC] [DISCUSSION] array_part()

2012-05-14 Thread Paul Dragoonis
Can you please add some code examples on the RFC, that get outputted as pre tags. Ideally demonstrating var_dump() output to inspect the return value of your new function to get a clear indication of the input, and resulting output. - Paul. On Mon, May 14, 2012 at 11:21 AM, Gustavo Lopes

Re: [PHP-DEV] [RFC] [DISCUSSION] array_part()

2012-05-14 Thread Paul Dragoonis
Hey, Am i correct in assuming this is basically substr() for arrays. On Mon, May 14, 2012 at 11:29 AM, Gustavo Lopes glo...@nebm.ist.utl.ptwrote: On Mon, 14 May 2012 12:26:11 +0200, Paul Dragoonis dragoo...@gmail.com wrote: Can you please add some code examples on the RFC, that get

Re: [PHP-DEV] [RFC] [DISCUSSION] array_part()

2012-05-14 Thread Paul Dragoonis
, Paul Dragoonis dragoo...@gmail.com wrote: Am i correct in assuming this is basically substr() for arrays. No. That's a part of it. It also does indexes as keys (like array_slice) and multidimensional arrays, none of which have anything analogous in strings. -- Gustavo Lopes

Re: [PHP-DEV] get_magic_quotes_gpc() returns false instead of 0

2012-04-24 Thread Paul Dragoonis
Happy to patch this once someone confirms this is a bug and not changed behaviour in 5.4. - Paul. On Tue, Apr 24, 2012 at 4:29 PM, Philip Olson phi...@roshambo.org wrote: Hello everyone, The following bug report brings up a good point:  https://bugs.php.net/61784 The

Re: [PHP-DEV] Make require*/include* behave like a function for returning values, and more

2012-04-17 Thread Paul Dragoonis
I don't see any fundamental benefit to having this in PHP. It doesn't work around any current restrictions in the language. It just looks like extra fluffy magic that we could do without. - Paul. On Tue, Apr 17, 2012 at 8:18 PM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: Hi

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

2012-04-09 Thread Paul Dragoonis
-1. PHP doesn't need more magic. On Mon, Apr 9, 2012 at 4:53 PM, Nikita Popov nikita@googlemail.comwrote: On Mon, Apr 9, 2012 at 5:10 PM, Tom Boutell t...@punkave.com wrote: What if PHP supported a short tag for calling a method of $this? Then one could write: ?@escape($foo) ?

Re: [PHP-DEV] Creating an RFC: do I need to be blessed somehow?

2012-04-08 Thread Paul Dragoonis
On Sun, Apr 8, 2012 at 4:23 PM, Tom Boutell t...@punkave.com wrote: Thanks, I have access now. Do I need to have a patch in hand before publicizing an RFC? No Tom, feel free to draft up your RFC, people will not necessarily be voting on your patch but on the concept of it. If the RFC voting

Re: [PHP-DEV] PHP class files without ?php at the top

2012-04-07 Thread Paul Dragoonis
?php is a simple and effective way to enter php mode. File extensions are really irrelevant. This isn't a sensible idea. On Sat, Apr 7, 2012 at 2:44 PM, Reindl Harald h.rei...@thelounge.net wrote: you are not making valid points you are proposing DANGEROUS changes! what happens if PHP 5.4.x

Re: [PHP-DEV] Github Pull Request

2012-03-20 Thread Paul Dragoonis
thanks dsp and johannes for this nice tool. On Tue, Mar 20, 2012 at 10:16 AM, David Soria Parra d...@php.net wrote: Hi with the php-src migrated to git we start receiving pull request on github. A few things to notice:  - developers can pull the requests as described here:    

Re: [PHP-DEV] Small question about performance

2012-03-15 Thread Paul Dragoonis
On Thu, Mar 15, 2012 at 4:54 PM, Nikita Popov nikita@googlemail.com wrote: On Thu, Mar 15, 2012 at 5:22 PM, Patrick ALLAERT patrickalla...@php.net wrote: 2012/3/15 Nikita Popov nikita@googlemail.com: If I am understanding the text correctly it is saying that    $f1 = f1();    $f2 =

Re: [PHP-DEV] Small question about performance

2012-03-15 Thread Paul Dragoonis
On Thu, Mar 15, 2012 at 5:39 PM, Paul Dragoonis dragoo...@gmail.com wrote: On Thu, Mar 15, 2012 at 4:54 PM, Nikita Popov nikita@googlemail.com wrote: On Thu, Mar 15, 2012 at 5:22 PM, Patrick ALLAERT patrickalla...@php.net wrote: 2012/3/15 Nikita Popov nikita@googlemail.com: If I am

Re: [PHP-DEV] [RFC - Discussion] Parameter Type Casting Hints

2012-03-04 Thread Paul Dragoonis
Can you make sure that only scalar or array casts can be done? I wouldn't want people to put class typehints in there such as function foo( (SomeClass) $foo) - Paul. On Sun, Mar 4, 2012 at 1:28 AM, Anthony Ferrara ircmax...@gmail.com wrote: Hey all, I've drafted an RFC for the Parameter type

Re: [PHP-DEV] [RFC - Discussion] Parameter Type Casting Hints

2012-03-04 Thread Paul Dragoonis
Good. On Sun, Mar 4, 2012 at 2:03 PM, Anthony Ferrara ircmax...@gmail.com wrote: Can you make sure that only scalar or array casts can be done? I wouldn't want people to put class typehints in there such as function foo( (SomeClass) $foo) That's how it is implemented now.  That'll generate

Re: [PHP-DEV] [RFC - Discussion] Parameter Type Casting Hints

2012-03-04 Thread Paul Dragoonis
hints to work like this. Check if the passed argument if of the correct type and, if not, try to cast it. Failure to do so will lead to the E_RECOVERABLE_ERROR as today. ] Lazare INEPOLOGLOU Ingénieur Logiciel 2012/3/4 Paul Dragoonis dragoo...@gmail.com Can you make sure that only scalar

Re: [PHP-DEV] [RFC - Discussion] Parameter Type Casting Hints

2012-03-04 Thread Paul Dragoonis
It would make sense that the default value you're setting matches the zval.type of the casted value. You always want it to be an int, if you're doing (int) so setting it to a string or array would not make sense. - Paul. On Sun, Mar 4, 2012 at 4:46 PM, Lazare Inepologlou linep...@gmail.com

Re: [PHP-DEV] Possibility to add finally to try/catch?

2012-02-28 Thread Paul Dragoonis
Tried to do something the other day and had to write something a bit quirky tht would have been super clean with a finally block. +1000 On Tue, Feb 28, 2012 at 2:22 PM, Kiall Mac Innes ki...@managedit.ie wrote: +1000 This is a feature that I've always wanted in PHP, My main reason being to

Re: [PHP-DEV] Newbie: issues developing a new extension

2012-02-28 Thread Paul Dragoonis
On Tue, Feb 28, 2012 at 10:00 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 02/28/2012 01:25 PM, Christian Ferrari wrote: Dear all, I'm asking your help because I'm not able to solve an issue probably related to some foolish mistake I have not yet discovered. I'm trying to develop an

Re: [PHP-DEV] Scalar type hinting

2012-02-27 Thread Paul Dragoonis
2012/2/27 Johannes Schlüter johan...@schlueters.de Hi, PHP is no strickt-typed language. Changing this is a massive change, if you want to go there: There are plenty of other languages. If you want this to be an optional feature: a) It's not optional (one has to maintain code written by

Re: [PHP-DEV] PHP_SESSION_* constant values

2012-01-28 Thread Paul Dragoonis
On Sat, Jan 28, 2012 at 7:17 PM, Justin Martin frozenf...@php.net wrote: Hello everyone, For the result of session_status(), the corresponding constants for the sessions state are  - PHP_SESSION_DISABLED = 0  - PHP_SESSION_NONE = 1  - PHP_SESSION_ACTIVE = 2 I'd like to suggest we change

Re: [PHP-DEV] PHP_SESSION_* constant values

2012-01-28 Thread Paul Dragoonis
On Sat, Jan 28, 2012 at 9:14 PM, Sanford Whiteman swhitemanlistens-softw...@cypressintegrated.com wrote: I believe comparing the value against a constant, is always more readable than wondering what truthy means. if(session_status() === PHP_SESSION_ACTIVE) is much self-documenting than the

Re: [PHP-DEV] Re: PHP_SESSION_* constant values

2012-01-28 Thread Paul Dragoonis
On Sat, Jan 28, 2012 at 9:53 PM, Justin Martin frozenf...@php.net wrote: Someone actually just pointed out to me that if(-1) returns true. In that case, I suppose my suggestion doesn't quite work. The reason I suggest this is that I suspect people will constantly be looking up what the

Re: [PHP-DEV] Git Migration Status Update

2012-01-26 Thread Paul Dragoonis
Hi David, Thanks for the great push on the DVCS push to git. I believe I speak for many people when I say your hard work is really appreciated. Look forward to testing out the git installation. - Paul. On Wed, Jan 25, 2012 at 11:36 PM, David Soria Parra d...@php.net wrote: Hi Internals, we

Re: [PHP-DEV] Change bug tracker bogus to not-bug?

2012-01-24 Thread Paul Dragoonis
On Tue, Jan 24, 2012 at 11:12 PM, Christopher Jones christopher.jo...@oracle.com wrote: On 01/24/2012 03:11 PM, Justin Martin wrote: Hello, With some frequency, I find bugs which are not bogus, so much as they are reported based on a misunderstanding. Usually this happens for

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-09 Thread Paul Dragoonis
Thanks for the feedback Gustavo. New patch is here: https://gist.github.com/1582997 Test case: https://gist.github.com/1583022 Comments are inline. On Mon, Jan 9, 2012 at 8:17 AM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: On Mon, 09 Jan 2012 04:59:09 +0100, Paul Dragoonis dragoo...@gmail.com

[PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
,      ZEND_ACC_PUBLIC) SPL_METHOD(SplDoublyLinkedList, clear) {    RETURN_TRUE; } Can someone help me out? Thanks, Paul Dragoonis. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
Here's the patch. At the moment my clear() method clones the functionality of count() just as a prototype to get things working before i make it do the actual clear functionality. Patch attached to this email, made using 'svn diff' - Paul Dragoonis. On Sun, Jan 8, 2012 at 4:38 PM, Etienne

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
PHP 5_4 branch. Here's the diff as a gist: https://gist.github.com/e3e1da28123017ba568d On Sun, Jan 8, 2012 at 5:43 PM, Etienne Kneuss col...@php.net wrote: It works fine here on trunk, what code-base are you targetting? Best, On Sun, Jan 8, 2012 at 18:31, Paul Dragoonis dragoo...@gmail.com

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
Hey Internals, I've finished the patch, and with approval i'd like to push to trunk, even though i'm aware we have a 5_4 branch code freeze. Can someone review my work and provide feedback/approval? [1] https://gist.github.com/1580974 Thanks, Paul Dragoonis. On Sun, Jan 8, 2012 at 6:18 PM

Re: [PHP-DEV] Feature Request

2012-01-04 Thread Paul Dragoonis
I agree with Dmitri and Ferenc. -1 on this idea, it's unnecessary. the reason for this is simple actually at the moment if you want to include a file for usage but want to check it exists you have todo the following if (file_exists(/file/located/here.php)) {  $cFile = /file/located/here.php;

Re: [PHP-DEV] Re: another fix for max_input_vars.

2012-01-04 Thread Paul Dragoonis
it. I agree with Rasmus here. A lot of people keep display_errors on, even when they shouldn't. It log_errors is on, it should go to the error_log, but with display_errors it should never be sent back to the browser. - Paul Dragoonis. The alternative is to just not have any error message

Re: [PHP-DEV] SVN Account Request: regality

2011-12-31 Thread Paul Dragoonis
can get reviewed and evaluated. From there things can progress to the point where they're committed to trunk, and thus merged into the appropriate branch (5_4 for example). Hope this helps clear up the process. Thanks, Paul Dragoonis. On Sat, Dec 31, 2011 at 9:15 AM, Adam Blackburn regal

Re: [PHP-DEV] Return Type Hinting for Methods RFC

2011-12-22 Thread Paul Dragoonis
in. Lets not go there please.. Thanks, Paul Dragoonis. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Constant arrays

2011-12-19 Thread Paul Dragoonis
Barbu, This is how constants work in all viable languages such as C/++. They are not 'variables of data', they contain scalar values so that you can have a maintainable source for your value to refer to later. http://msdn.microsoft.com/en-us/library/357syhfh(v=vs.80).aspx I believe constants

Re: [PHP-DEV] Constant arrays

2011-12-19 Thread Paul Dragoonis
2011/12/19 Ángel González keis...@gmail.com: On 19/12/11 21:23, Paul Dragoonis wrote: Barbu, This is how constants work in all viable languages such as C/++. I disagree. In C you can have: const data foo[] = { { Data1, 2 }, { Data2, 78 } }; Agreed, i was more thinking of #define (not const

Re: [PHP-DEV] Realnames in Git commits

2011-12-15 Thread Paul Dragoonis
Format looks good DSP. On Thu, Dec 15, 2011 at 4:19 PM, David Soria Parra d...@php.net wrote: As outlined in my previous post. An author in git is identified by NAME EMAIL. We will rewrite commit information to match this format during the SVN to Git migration. At the moment this affects

[PHP-DEV] PHP Integer Bug

2011-11-19 Thread Paul Dragoonis
? Regards, Paul Dragoonis. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Integer Bug

2011-11-19 Thread Paul Dragoonis
Thanks for the response guys. It wasn't important that I casted my value I was just being pedantic in the first place. Removing the cast stops be from being hit with INT_MAX and INT_SIZE. Cheers! Paul Dragoonis. On Sat, Nov 19, 2011 at 1:53 PM, Anthony Ferrara ircmax...@gmail.com wrote: If I'm

Re: [PHP-DEV] Getters/Setters and parent getter/setter access

2011-11-19 Thread Paul Dragoonis
Link us to a http://gist.github.com paste please Yasou. Thanks. On Sat, Nov 19, 2011 at 9:45 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: It seems gmail broke newlines :( but you'll see the idea. -- Yasuo Ohgaki yohg...@ohgaki.net 2011/11/20 Yasuo Ohgaki yohg...@ohgaki.net: This is not a

Re: [PHP-DEV] session_regenerate_id() not replacing Set-Cookie header

2011-11-15 Thread Paul Dragoonis
On Tue, Nov 15, 2011 at 10:09 PM, Patrick ALLAERT patrickalla...@php.net wrote: Hello, Calling session_regenerate_id() inside a same request will generate multiple Set-Cookie headers example code: ? session_start(); session_regenerate_id(); session_regenerate_id(); ? will result in,

Re: [PHP-DEV] SplClassLoader RFC Voting phase

2011-11-10 Thread Paul Dragoonis
. Regards, Paul Dragoonis. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] SplClassLoader

2011-11-04 Thread Paul Dragoonis
Guilherme, What's the status regarding the finalised PSR-0 implementation so we can hand it over to DavidC to finish the C implementation and apply this to 5.4 branch. Cheers, - Paul On Fri, Nov 4, 2011 at 5:27 PM, guilhermebla...@gmail.com guilhermebla...@gmail.com wrote: Hi Tyra3l,

Re: [PHP-DEV] SplClassLoader

2011-11-03 Thread Paul Dragoonis
benefit but by the community/library benefit. This appears to be the general consensus of PSR-0 and my opinion on the matter. Regards, Paul Dragoonis. On Thu, Nov 3, 2011 at 10:56 AM, André Rømcke a...@ez.no wrote: On Thu, Oct 27, 2011 at 4:30 AM, Laruence larue...@php.net wrote: 2011/10/26

Re: [PHP-DEV] Re: [PATCH] Notice on array to string convertion

2011-10-30 Thread Paul Dragoonis
On Sun, Oct 30, 2011 at 1:23 PM, Laruence larue...@php.net wrote: s /second/third/ Laurence, What Jordi was saying was that in a production environment is there any justified reason why you'd want to convert an array into a string, otherwise it's a good thing that it reports you Array to string

Re: [PHP-DEV] Re: [PATCH] Notice on array to string convertion

2011-10-30 Thread Paul Dragoonis
..    }    which is ugly. thanks 2011/10/31 Paul Dragoonis dragoo...@gmail.com: On Sun, Oct 30, 2011 at 1:23 PM, Laruence larue...@php.net wrote: s /second/third/ Laurence, What Jordi was saying was that in a production environment is there any justified reason why you'd want to convert an array

[PHP-DEV] Bug #60149 - SPL autoloader not called in error handler triggered by private __call

2011-10-30 Thread Paul Dragoonis
normally without the user defined error handler kicking in. I'm keen to make a patch for this. Thanks, - Paul Dragoonis. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] BC break in 5.4, extending internal class

2011-10-24 Thread Paul Dragoonis
solution. Regards, Paul Dragoonis. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] SplClassLoader

2011-10-24 Thread Paul Dragoonis
looking for this yesterday while implementing namespaces into my project to be PSR-0 complaint. I did see metagoto's implementation however would prefer to see something in /ext/* Lets push it ! all major php libs would significantly benefit from this addition from user-land into core. - Paul

Re: [PHP-DEV] SplClassLoader

2011-10-24 Thread Paul Dragoonis
On Mon, Oct 24, 2011 at 3:57 PM, David Coallier dav...@php.net wrote: On 24 October 2011 16:53, Paul Dragoonis dragoo...@gmail.com wrote: On Mon, Oct 24, 2011 at 3:47 PM, guilhermebla...@gmail.com guilhermebla...@gmail.com wrote: Hi internals, It's been a while since Stas accepted

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

2011-08-18 Thread Paul Dragoonis
/~pierre/vcqa/apcigninary_perf.png Comments please. Regards, Paul Dragoonis.

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

2011-08-18 Thread Paul Dragoonis
On Thu, Aug 18, 2011 at 12:38 PM, Roger Llopart Pla lumben...@gmail.comwrote: I agree with bundling it in the core aswell, but having it as default, as stated, would be a huge BC break. 2011/8/18 Arpad Ray array...@gmail.com Hi, On Thu, Aug 18, 2011 at 12:12 PM, Paul Dragoonis dragoo

Re: [PHP-DEV] SVN Account Request: aaron1178

2011-08-14 Thread Paul Dragoonis
with a decent amount of contributions (patches submitted) get attribution by getting a SVN account. Here are some open issues: https://bugs.php.net/search.php?boolean=0limit=30order_by=iddirection=DESCcmd=displaystatus=Openbug_age=0bug_updated=0bug_type=Allphpver=5.4 Regards, Paul Dragoonis

Re: [PHP-DEV] Property get/set syntax

2011-08-10 Thread Paul Dragoonis
On Wed, Aug 10, 2011 at 8:05 PM, Sebastian Krebs sebastian.krebs.ber...@googlemail.com wrote: Hi, From time to time I'm looking over the existing RFCs and I'm wondering what happens to them. For example Property get/set syntax [1]. As far as I can see its already accepted for PHP6 [2], but

Re: [PHP-DEV] Add \Countable support to \Closure

2011-08-08 Thread Paul Dragoonis
On Mon, Aug 8, 2011 at 12:06 PM, Alexey Shein con...@gmail.com wrote: I think it's just a bad habit inherited from Javascript, where you can do like this: var a = function(a, b) { }; alert(a.length); // shows 2 I don't think that PHP needs it, explicit method is way better. I am agreeing

Re: [PHP-DEV] An implementation of a short syntax for closures

2011-08-04 Thread Paul Dragoonis
is not a problem, its more so waiting on things to transfer, commit..etc Very big -1 for me on this one. Please don't let a plethora of PHP devs release code with this syntax. Regards, Paul Dragoonis. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Magic quotes removal previous patch

2011-07-21 Thread Paul Dragoonis
On Thu, Jul 21, 2011 at 11:31 AM, Gwynne Raskind gwy...@darkrainfall.org wrote: +1 to E_CORE. No objections against it, so +1 E_CORE -- Gwynne On Thu, Jul 21, 2011 at 06:28, Pierrick Charron pierr...@webstart.fr wrote: I'm also ok with E_CORE. Pierrick On 21 July 2011 05:19, Pierre

Re: [PHP-DEV] deprecating ext/mysql

2011-07-11 Thread Paul Dragoonis
/mysql. Regards, Paul Dragoonis. -- Email: christopher.jo...@oracle.com Tel:  +1 650 506 8630 Blog:  http://blogs.oracle.com/opal/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2011-06-29 Thread Paul Dragoonis
On Wed, Jun 29, 2011 at 3:36 PM, Pascal COURTOIS pascal.court...@nouvo.com wrote: Le 16/06/2011 08:10, Stas Malyshev a écrit : Hi! what I did every single time. Among all my bug reports I had one answer from decoder-...@own-hero.net (thanks to him) who reduced the test case for a memory leak

Re: [PHP-DEV] [VOTE] Voting RFC votes closed

2011-06-29 Thread Paul Dragoonis
by sean is { ... } just like JS, however to be consistent with array() I wouldn't mind seeing $o = object( ) just like $a = array( ... ) Overall, I'm with sean, but wanted to give my opinion on what we already have and to push the idea of object(...) Thanks, Paul Dragoonis. On Wed, Jun 29

Re: [PHP-DEV] Fix for #53727 (is_subclass_of resolution with interfaces)

2011-06-29 Thread Paul Dragoonis
. Regards, Paul Dragoonis. Thanks, -ralph On 6/29/11 2:42 PM, David Zülke wrote: On 29.06.2011, at 21:39, Ralph Schindler wrote:  interface A {}  class B implements A {}  class C extends B {}  var_dump(is_subclass_of('B', 'A')); // true Typo there; that should be 'C', not 'B'. David

Re: [PHP-DEV] Fix for #53727 (is_subclass_of resolution with interfaces)

2011-06-29 Thread Paul Dragoonis
On Wed, Jun 29, 2011 at 9:22 PM, David Zülke david.zue...@bitextender.com wrote: On 29.06.2011, at 22:20, Paul Dragoonis wrote: On Wed, Jun 29, 2011 at 8:49 PM, Ralph Schindler ra...@smashlabs.com wrote: Correct. I was hasty in that example, the first was copied tested (and is reflected

Re: [PHP-DEV] Variable scopes for language constructs (foreach, ...)

2011-06-23 Thread Paul Dragoonis
On Thu, Jun 23, 2011 at 4:09 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Thu, Jun 23, 2011 at 5:03 PM, Stefan Neufeind neufe...@php.net wrote: Hi, I've lately discussed with a colleague which scopes of variables exist for PHP or would probably make sense. In general I think the general

Re: [PHP-DEV] Re: [RFC] Improved parser error message

2011-06-23 Thread Paul Dragoonis
On Thu, Jun 23, 2011 at 7:16 PM, Jordi Boggiano j.boggi...@seld.be wrote: Thanks for the great work. More should be done on the front of helping newcomers solve trivial issues imo. On 23.06.2011 20:08, Felipe Pena wrote: $ sapi/cli/php -r 'class ' Current: Parse error: syntax error,

Re: [PHP-DEV] Object and Array Literals

2011-06-18 Thread Paul Dragoonis
On Sun, Jun 19, 2011 at 3:56 AM, Daniel Convissor dani...@analysisandsolutions.com wrote: Hi: I wasn't keen on earlier proposals for the [] array syntax.  Sean, your case is laid out in a clear manner and addresses my concerns.  I like this RFC.       * Strictness of unquoted keys. Keys

[PHP-DEV] New function http_response_code() to PHP5.4 Branch

2011-06-17 Thread Paul Dragoonis
, Paul Dragoonis. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New function http_response_code() to PHP5.4 Branch

2011-06-17 Thread Paul Dragoonis
On Fri, Jun 17, 2011 at 11:18 PM, Kalle Sommer Nielsen ka...@php.net wrote: Hi Paul 2011/6/18 Paul Dragoonis dragoo...@php.net: Hi there, I'm requesting my function be put into the 5.4 branch. I added a function back in the 5.3 phase to obtain missing functionality of HEAD.c (and /ext

<    1   2