Re: [PHP-DEV] PHP Language Specification

2014-07-23 Thread Jannik Zschiesche
Hi, On 23.07.2014, at 11:22, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Another idea would be a Git repository with the specification as markdown files. This would allow creating Pull Requests via GitHub. I think facilitating discussion and feedback is more important than change

Re: [PHP-DEV] Re: [VOTE] Uniform Variable Syntax

2014-07-22 Thread Jannik Zschiesche
Hi Ferenc, On 22.07.2014, at 14:38, Ferenc Kovacs tyr...@gmail.com wrote: On Mon, Jul 14, 2014 at 6:35 PM, Nikita Popov nikita@gmail.com wrote: On Mon, Jul 7, 2014 at 4:18 PM, Nikita Popov nikita@gmail.com wrote: Hi internals! I've started the vote on the Uniform Variable

Re: [PHP-DEV] HTTP supergloblas and request body/query (was: Parsing PUT data)

2013-10-02 Thread Jannik Zschiesche
Hi, wouldn’t $_BODY be better - since it is the request body? $_FORM is imho not very clear, since you can send data to $_POST without using a form. -- Cheers Jannik Am Mittwoch, 2. Oktober 2013 um 09:17 schrieb Alexey Zakhlestin: On 02.10.2013, at 10:59, Michael Wallner m...@php.net

Re: [PHP-DEV] [RFC] Keywords as identifiers

2013-09-18 Thread Jannik Zschiesche
Am Mittwoch, 18. September 2013 um 16:29 schrieb Ralph Schindler: http://news.php.net/php.internals/23254 -ralph On 9/16/13 7:53 AM, Bob Weinand wrote: Hi! This is the (official) RFC thread for the patch proposed in http://php.markmail.org/message/7rn4mbwkbytqa3ig

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

2013-09-02 Thread Jannik Zschiesche
Am Montag, 2. September 2013 um 11:02 schrieb Lester Caine: Ferenc Kovacs 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 ... and will

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

2013-05-28 Thread Jannik Zschiesche
Hi Peter, You're describing the current behaviour; unless I'm missing something obvious, the warning is only displayed when you try to do something date-related. Your example script should not be presenting any warnings, regardless of the date.timezone INI setting or lack thereof. you

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

2013-05-27 Thread Jannik Zschiesche
Hello, Am Montag, 27. Mai 2013 um 09:27 schrieb Pierre Joye: On Mon, May 27, 2013 at 9:20 AM, Sanford Whiteman swhitemanlistens-softw...@cypressintegrated.com (mailto:swhitemanlistens-softw...@cypressintegrated.com) wrote: I am simply making the point that UTC is not the default

Re: [PHP-DEV] property de-referencing

2013-05-01 Thread Jannik Zschiesche
Hi, Lazare Inepologlou Mittwoch, 1. Mai 2013 10:55 Hello,2013/5/1 Stas Malyshev smalys...@sugarcrm.comThe result is the same with "new ReplectionMethod('foo','bar')". The addedvalue is that it can be statically checked. well... yes and no. Take the Symfony2 example:

Re: [PHP-DEV] Object Type Casting

2013-04-24 Thread Jannik Zschiesche
Hi, I guess it would work like an inline type-hint. Something along the lines of: $circle = ShapeFactory::createShape('circle'); if (!$circle instanceof Circle) { throw …; } I would like something like this, since it saves quite some code. Cheers Jannik Am Mittwoch, 24. April 2013 um

Re: [PHP-DEV] is GD being actively maintained?

2012-09-06 Thread Jannik Zschiesche
) Cheers Jannik Zschiesche

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

2012-09-04 Thread Jannik Zschiesche
Am Dienstag, 4. September 2012 um 15:09 schrieb Lester Caine: I keep being told that there is nothing wrong with E_STRICT, and again someone has said that it does NOT cause crashes. I beg to differ here - IT DOES! Now if you are saying that I need to document these crashes as they SHOULD

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

2012-09-03 Thread Jannik Zschiesche
and strings could (and maybe should) behave the same. The main problem arises from the ambiguity for $array[-1] for arrays. But this is easily solvable: just introduce a slice operator. $array[:-1] and the ambiguity is gone. -- Cheers Jannik Zschiesche

Re: [PHP-DEV] Error handling brainstorming

2012-08-06 Thread Jannik Zschiesche
Hi all, Am 06.08.2012 20:41, schrieb Stas Malyshev: Hi! Because checking that the returned variable is `!== FALSE` is *way* better than throwing an exception, right? Yes, it is. You can control it, unlike the exception which you can not, unless, again, you wrap everything into try/catch on

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Jannik Zschiesche
Am 15.04.2012 08:20, schrieb John LeSueur: Since you're looking for input, specifically on the compromise, let's try to figure out what's possible. The RFC proposes .phpp files that can only include other .phpp files. Others want .phpp files that can include .php files. There are two ways I can

Re: [PHP-DEV] max_file_uploads INI_PERDIR

2012-02-18 Thread Jannik Zschiesche
Hi Stas, with HTML5 you can also do input type=file multiple=multiple / and thereby upload many files with just one file upload element. Regards Jannik Am 17.02.2012 23:41, schrieb Stas Malyshev: Hi! I'd like to add PHP_INI_PERDIR to max_file_uploads before 5.4.0 and also in the next

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

2012-01-04 Thread Jannik Zschiesche
Hi Johannes, as far as I understood the issue, this error would be triggered before the application's code is executed, so that would not solve this issue. Cheers Jannik Am 04.01.2012 um 21:46 schrieb Johannes Schlüter: On Wed, 2012-01-04 at 12:29 -0800, Stas Malyshev wrote: Hi! But

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

2012-01-04 Thread Jannik Zschiesche
Hi again, Am 04.01.2012 um 21:52 schrieb Johannes Schlüter: On Wed, 2012-01-04 at 21:49 +0100, Jannik Zschiesche wrote: Hi Johannes, as far as I understood the issue, this error would be triggered before the application's code is executed, so that would not solve this issue. That's