Re: [PHP-DEV] RFC: RFC Workflow & Voting (2019 update)

2019-02-04 Thread Ivan Enderlin
Hello and thanks for the RFC. I think the Eligible Voters Section is too complex to be addressed/bundled in this RFC. I think it deserves another RFC. Most discussions here are rightfully about this section. To add my opinion: * I don't understand the special treatment for PHP-FIG. This grou

Re: [PHP-DEV] Proposal fo "Code-free constructors declaration"

2019-01-23 Thread Ivan Enderlin
On 23.01.19 13:32, Andrey O Gromov wrote: Full description https://wiki.php.net/rfc/code_free_constructor Draft realisation https://github.com/php/php-src/compare/master...rjhdby:constructor "Code free" constructor is constructor with only purpose to directly set object properties from received

Re: [PHP-DEV] Re: [RFC] [VOTE] Typed properties v2

2018-09-26 Thread Ivan Enderlin
On 26.09.18 15:46, Nikita Popov wrote: On Tue, Sep 11, 2018 at 9:05 AM Bob Weinand wrote: Hey, As announced, we are starting the vote on typed properties today. The voting period is two weeks, until sometime in the evening on Tuesday 25-09-2018. Please find the RFC at https://wiki.php.net/r

Re: [PHP-DEV] [RFC][Discussion] Make compact function reports undefined passed variables

2018-04-04 Thread Ivan Enderlin
Hello, Yes, a thousand yes. Silently ignoring undefined variables is a source of multiple bugs. Emiting a warning is a small BC break comparing to the benefits. Regards. On 02.04.18 11:17, Gabriel Caruso wrote: Hello dear internals, how are you? I'd like to propose a new RFC to PHP's core,

Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope

2018-02-05 Thread Ivan Enderlin
Hello :-), Thank you for the RFC. I really appreciate it, for sure, but I would like to raise a concern regarding the atoum test framework [1]. atoum provides 3 mock engines, resp. for class-like entitites, functions, and constants. The function and constant mock engines are both based on t

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2017-12-12 Thread Ivan Enderlin
On 11.12.17 14:43, Nikita Popov wrote: Some time ago I introduced the following proposal for namespace-scoped declares: https://wiki.php.net/rfc/namespace_scoped_declares The idea is to allow specifying declare directives for a whole library or project using: namespace_declare('Vendo

Re: [PHP-DEV] array coalesce operator concept

2017-07-11 Thread Ivan Enderlin
Hello :-), Thank you for the proposal. I have a question though: How is it different from: * `foreach ($foo ?: [] as $bar) { … }` if `$foo` does not exist, * `foreach ((array) $foo as $bar) { … }` if `$foo` is not an array. I understand your issue, but you can probably type your data with `

Re: [PHP-DEV] [RFC] [Discussion] Retry functionality

2017-06-19 Thread Ivan Enderlin
Hello :-), Thank you for the RFC. I have a question though. I would like to know how is it different from the `goto` language construction? If I understand it correctly, both the following examples are identical: try { // … } catch (…) { retry; } and: try {

Re: [PHP-DEV] PCRE caching

2017-03-01 Thread Ivan Enderlin
Hello, We can also use a LRU caching strategy with a pre-defined (or user-defined) number of expressions to keep in the cache. This would also be a good idea to track number of times a regular expression is used. If this number reaches a certain threshold, then we could automatically re-compi

Re: [PHP-DEV] [Concept] Magic Casting

2016-12-02 Thread Ivan Enderlin
Hello :-), Casting is already a very large surface of unsafety and bugs. Adding “magic” before this is like multiplying the surface by infinite. The only goal I see here is to save a `new Collection(…)`, and this is not a sufficient reason from my point of view. If `array` was a type, and `I

Re: [PHP-DEV] PHP-7.1.0RC4

2016-10-19 Thread Ivan Enderlin
Thanks! On 19.10.16 12:48, Joe Watkins wrote: Morning internals, QA folks, I would like to announce the availability of PHP-7.1.0RC4. Downloads: http://downloads.php.net/~krakjoe/ php-7.1.0RC4.tar.bz2 SHA256 hash: ed2ef6dec04d1f8745b6212c55684cfd1350fad28db4c659ff99e9c6d16d3f36 PGP signature

Re: [PHP-DEV] Segmentation fault between 5.5 and 5.6 with remote address in stream socket

2016-06-17 Thread Ivan Enderlin
Yup, a bad copy/paste. On 17/06/16 16:06, Julien Pauli wrote: You seem to be linking the wrong PHP commit. I'll have a look at it. Julien On Fri, Jun 17, 2016 at 2:58 PM, Ivan Enderlin wrote: Hello internal, I have just opened a new bug, https://bugs.php.net/72439 (source o

[PHP-DEV] Segmentation fault between 5.5 and 5.6 with remote address in stream socket

2016-06-17 Thread Ivan Enderlin
Hello internal, I have just opened a new bug, https://bugs.php.net/72439 (source of the story https://github.com/hoaproject/Websocket/issues/66). It seems to be a regression between 5.5 and 5.6. I quickly suspect https://github.com/php/php-src/commit/4a2e40bb861bc3cf5fb6863e57486ed60316e97c t

Re: [PHP-DEV] [RFC][Vote] Typed Properties

2016-05-23 Thread Ivan Enderlin
I vote no for the same performance reason, but the whole Hoa's community is agree with the RFC. Thanks for the hard work! On 23/05/16 11:02, Dmitry Stogov wrote: I appreciate the work done by Joe, but I vote "no", because the implementation is not good enough yet - it's incompatible with opc

Re: [PHP-DEV] RFC: Anonymous Class Lexical Scope

2016-04-19 Thread Ivan Enderlin
On 19/04/16 16:18, Nikita Popov wrote: On Tue, Apr 19, 2016 at 3:31 PM, Joe Watkins wrote: Morning Internals, Please review the following RFC: https://wiki.php.net/rfc/lexical-anon A look at the patch from those of you that do that would be good :) Hey Joe, The syntax and

Re: [PHP-DEV] [VOTE] Catching Multiple Exception Types

2016-04-19 Thread Ivan Enderlin
Hello, Representing the Hoa project community, we have voted yes. Not everyone was agree (60% yes, 40% no), but my vote reflects the average. Main argument in favor of no: * Encourage badly designed API. Main argument in favor of yes: * This is not an edge case when dealing with badly des

Re: [PHP-DEV] Array key access on non-array values - to be made illegal?

2016-04-12 Thread Ivan Enderlin
Hello Marco, Actually, you are trying to access to something that does not exist, so you get a null value. This part is logical. However, yes, a notice would be welcomed except it may be skipped for historical reasons I reckon. Probably to work well with `isset` or similar scenario. Cheers.

Re: [PHP-DEV] [RFC] Square bracket syntax for array destructuringassignment

2016-04-08 Thread Ivan Enderlin
Hi Andrea, On 08/04/16 13:26, Andrea Faulds wrote: Hi Ivan, Ivan Enderlin wrote: Thanks a lot for this RFC. Huge +1 from the all Hoa's community and myself. However, did you discuss about `[…]` vs. `{…}`? Most of the time, arrays or vectors constructing are represented by `[…]` symbols

Re: [PHP-DEV] [RFC] Square bracket syntax for array destructuring assignment

2016-04-08 Thread Ivan Enderlin
On 08/04/16 12:17, Rowan Collins wrote: On 08/04/2016 08:43, Ivan Enderlin wrote: Most of the time, arrays or vectors constructing are represented by `[…]` symbols while destructing are represented by `{…}`. What your point of view or arguments here? When you say "most of the time&quo

Re: [PHP-DEV] [RFC] Square bracket syntax for array destructuring assignment

2016-04-08 Thread Ivan Enderlin
Hello, On 07/04/16 14:21, Andrea Faulds wrote: Hi everyone, Bob and I have made an RFC which proposes an alternative syntax for list(): https://wiki.php.net/rfc/short_list_syntax Please tell us your thoughts. Thanks! Thanks a lot for this RFC. Huge +1 from the all Hoa's community and mys

Re: [PHP-DEV] Disabling External Entities in libxml By Default

2015-07-29 Thread Ivan Enderlin
Hello :-), Huge +1 from the [Hoa] community. We have already disabled it by default since a long time. However, could it introduce potential regressions (BC breaks)? I guess yes. So I would go for PHP7.0 instead of PHP7.1. Cheers! [Hoa]: http://hoa-project.net/ On 29/07/15 22:37, Anthony F

Re: [PHP-DEV] Introducing ChangeLog-7.php to the website

2015-07-14 Thread Ivan Enderlin
+1 for this proposal (`ChangeLog-7.0`). On 14/07/15 14:02, Johannes Schlüter wrote: On Tue, 2015-07-14 at 02:27 +0300, Lior Kaplan wrote: Hi, With the release of 7.0.0 beta 1 I think it's time we introduce ChangeLog-7.php to the website. Both ChangeLog-4.php and ChangeLog-5.php have started w

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread "Ivan Enderlin"@Hoa
I fear it will be a reserved keyword. On 02/07/15 15:46, Andreas Heigl wrote: Hi. Am 02.07.15 um 15:43 schrieb "Ivan Enderlin"@Hoa: Hello :-), Just a small detail. Please, choose another name. The `Hoa\String` https://packagist.org/packages/hoa/string library has been renamed to `H

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread "Ivan Enderlin"@Hoa
Hello :-), Just a small detail. Please, choose another name. The `Hoa\String` https://packagist.org/packages/hoa/string library has been renamed to `Hoa\Ustring` because of PHP7. So, please, don't force us to rename the library again ;-). Moreover, this library provides an API that is useful

Re: [PHP-DEV] [RFC] Throwable Interface

2015-06-09 Thread Ivan Enderlin @ Hoa
rfc/throwable-interface> Pull Request: https://github.com/php/php-src/pull/1284 <https://github.com/php/php-src/pull/1284> Aaron Piotrowski -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. computer scientist Hacker http://mnt.io/ -- PHP Internals - PHP Runtime Development Mai

Re: [PHP-DEV][RFC][VOTE] Group Use Declarations

2015-02-12 Thread Ivan Enderlin @ Hoa
's kind of confusing :-/. But it's a small one, so +1 for us. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. computer scientist Hacker http://mnt.io/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV][RFC][VOTE] Group Use Declarations

2015-02-12 Thread Ivan Enderlin @ Hoa
right choice if you are going to vote yes. The voting will close in exactly 14 days counting from now. PS: Aknowledgements to Daniel Ackroyd for reviewing this RFC. Márcio Almada https://github.com/marcioAlmada -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. computer scient

Re: [PHP-DEV] [VOTE] Scalar Type Hints

2015-02-09 Thread Ivan Enderlin @ Hoa
Hello internal, Thank you Andrea for this RFC. I voted today. However, I would like to stress that my vote represents the opinion of Hoa's community [1] and fruux [2] (the company behind sabre/dav [3]). I talked to Pierre Joye today and I was mentioning this is something we do since few mont

Re: [PHP-DEV] Design by Contract

2015-02-09 Thread Ivan Enderlin @ Hoa
On 06/02/15 09:44, Yasuo Ohgaki wrote: Hi Ivan, Hi Yasuo :-), On Fri, Feb 6, 2015 at 4:44 PM, Ivan Enderlin @ Hoa mailto:ivan.ender...@hoa-project.net>> wrote: On Thu, Feb 5, 2015 at 11:25 PM, Ivan Enderlin @ Hoa mailto:ivan.ender...@hoa-project.net>> wrote:

Re: [PHP-DEV] Design by Contract

2015-02-05 Thread Ivan Enderlin @ Hoa
On 06/02/15 05:00, Pierre Joye wrote: On Thu, Feb 5, 2015 at 11:36 PM, Dmitry Stogov wrote: phpdoc is annotation as well, but to split it into specific attributes we have to write specialized parsers. Other languages support annotation or attributes that may be used more easily. http://docs.h

Re: [PHP-DEV] Design by Contract

2015-02-05 Thread Ivan Enderlin @ Hoa
On 05/02/15 17:09, Yasuo Ohgaki wrote: Hi Ivan, Hi Yasuo :-), On Thu, Feb 5, 2015 at 11:25 PM, Ivan Enderlin @ Hoa mailto:ivan.ender...@hoa-project.net>> wrote: I just would like to point out some stuff. tl;dr: Contracts can be used to validate code (Design-by-Contract)

Re: [PHP-DEV] Design by Contract

2015-02-05 Thread Ivan Enderlin @ Hoa
Hi Internal :-), I just would like to point out some stuff. tl;dr: Contracts can be used to validate code (Design-by-Contract) or generate test data to validate code (Contract-based Testing). There are plenty of contract languages in the wild, each one addresses a specific problem (object, s

Re: [PHP-DEV] [RFC] Unicode Escape Syntax

2014-11-24 Thread Ivan Enderlin @ Hoa
talk https://speakerdeck.com/mathiasbynens/hacking-with-unicode (you might already know) but interesting concepts and limitations of current Unicode implementations are mentioned. The usage of `\u{…}` fixes most limitations and I could not be more agree with that notation! Cheers. -- Ivan

Re: [PHP-DEV] [RFC] Default constructors

2014-11-18 Thread Ivan Enderlin @ Hoa
add it to the RFC this week as soon as I finish it. I'd like to put idea out there in the meantime and hear what everybody thinks about it. Thanks, Stas -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcom

Re: [PHP-DEV] [RFC][Vote] Return Types

2014-11-04 Thread Ivan Enderlin @ Hoa
Le 04/11/2014 09:37, Christoph Becker a écrit : Ivan Enderlin @ Hoa wrote: Excellent RFC, thank you. However, there is no mention about using `static`, `self` or `parent` as a type (it is possible for an argument). Something like: ```php class Singleton { public function getInstance

Re: [PHP-DEV] [RFC][Vote] Return Types

2014-11-04 Thread Ivan Enderlin @ Hoa
in the discussion? Thoughts? Regards. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/ -- PHP Internals - PHP

[PHP-DEV] Regression in RecursiveRegexIterator

2014-10-03 Thread Ivan Enderlin @ Hoa
Hello :-), Does anyone know something about this bug: https://bugs.php.net/bug.php?id=68128 ? Thanks! -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and

Re: [PHP-DEV] Using stada...@lists.php.net for spec work

2014-07-25 Thread Ivan Enderlin @ Hoa
just PEBKAC I just tried to subscribe to standards@ using the web interface and got "We were unable to subscribe you due to some technical problems. Please try again later." It worked for me with standards-subscr...@lists.php.net. -- Ivan Enderlin Developer of Hoa http://hoa-project.net

Re: [PHP-DEV] PHP Language Specification

2014-07-25 Thread Ivan Enderlin @ Hoa
On 24/07/2014 15:40, Rowan Collins wrote: Ivan Enderlin @ Hoa wrote (on 24/07/2014): Taking the example of XML, CSS, HTML, ECMAScript or other languages (maybe the JVM, I don't know exactly), there is version numbers for the specification, that are different of the version numbers o

Re: [PHP-DEV] Using stada...@lists.php.net for spec work

2014-07-24 Thread Ivan Enderlin @ Hoa
called stadards, not standards? :) Damn copy/paste :-p. +1 for me, good idea. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of

Re: [PHP-DEV] PHP Language Specification

2014-07-24 Thread Ivan Enderlin @ Hoa
e versions of the implementation, for example: `PHP_VM_VERSION_ID` along with `PHP_VM_NAME` (something similar to what PHP does with SAPI). Thoughts? [1] http://marc.info/?l=php-internals&m=140612071919140&w=2 -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. at DISC/Femto-ST (Ve

Re: [PHP-DEV] Re: PHP Language Specification

2014-07-23 Thread Ivan Enderlin @ Hoa
ave missed this information but why Facebook is keeping the sources of the PHP Specification private for now? I'm not judging, just asking :-). Again, really great work. Thank you! Best regards. [1] http://marc.info/?l=php-internals&m=139565259319206 -- Ivan Enderlin Developer of

Re: [PHP-DEV] VCS Account Request: hywan

2014-07-10 Thread Ivan Enderlin @ Hoa
On 10/07/2014 12:57, Ferenc Kovacs wrote: On Thu, Jul 10, 2014 at 12:01 PM, Ivan Enderlin @ Hoa mailto:ivan.ender...@hoa-project.net>> wrote: On 10/07/2014 11:27, Ferenc Kovacs wrote: On Thu, Jul 10, 2014 at 9:26 AM, Ivan Enderlin < ivan.ender...@hoa-pr

Re: [PHP-DEV] VCS Account Request: hywan

2014-07-10 Thread Ivan Enderlin @ Hoa
On 10/07/2014 11:27, Ferenc Kovacs wrote: On Thu, Jul 10, 2014 at 9:26 AM, Ivan Enderlin < ivan.ender...@hoa-project.net> wrote: Developing the PHP runtime Maintaining the documentation Translating the documentation Wiki access Wiki votes -- PHP Internals - PHP Runtime Development M

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-10 Thread Ivan Enderlin @ Hoa
are just more advanced ones than others. That's all. Someone will be likely to use `fallocate` some day, for sure. Cheers. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.f

[PHP-DEV] VCS Account Request: hywan

2014-07-10 Thread Ivan Enderlin
Developing the PHP runtime Maintaining the documentation Translating the documentation Wiki access Wiki votes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-08 Thread Ivan Enderlin @ Hoa
On 08/07/2014 11:08, Julien Pauli wrote: On Tue, Jul 8, 2014 at 9:37 AM, Ivan Enderlin @ Hoa wrote: On 13/06/2014 16:20, Julien Pauli wrote: - One that relies on ftruncate() , and adds a $use_fallocate flag https://github.com/jpauli/php-src/tree/fallocate_flag Please, note that the latest

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-08 Thread Ivan Enderlin @ Hoa
implement this is user stream handlers, as this really is a low level implementation design that is kind of useless for usage in user streams. Thoughts ? If the first one is used, please, consider exposing it on the user-land of stream wrappers (exemple: `stream_allocate`) if possible. C

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

2014-07-07 Thread Ivan Enderlin @ Hoa
ng PHP6 (and not 7… just kidding… or not… o_O), so we have time to fix the next spotted issues before the final release. Let's cut the giant task into small ones. I think this is the approach of Nikita since he has honestly exposed the known issues. Cheers :-). -- Ivan Enderlin Develo

[PHP-DEV] stream_get_contents does not like stream wrapper

2013-08-29 Thread Ivan Enderlin @ Hoa
Hi internal, I have met a strange behavior with stream_get_contents and stream wrapper. This is explained here: https://bugs.php.net/65581. Thoughts? -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ

Re: [PHP-DEV] [RFC] Syntax for variadic functions

2013-08-28 Thread Ivan Enderlin @ Hoa
teresting? For example: public function query($query, ...$params = null). Cheers. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3

Re: [PHP-DEV] PHP 5.5.1 released

2013-07-19 Thread Ivan Enderlin @ Hoa
ttp://www.php.net/release_5_5_0.php> Downloads:http://www.php.net/downloads.php#v5.5 Changelog: http://www.php.net/ChangeLog-5.php#5.5.<http://www.php.net/ChangeLog-5.php#5.5.0> 1 regards, Julien Pauli & David Soria Parra -- Ivan Enderlin Developer of Hoa http://hoa-project.net/

Re: [PHP-DEV] UNKNOW:0, what is it?

2013-06-27 Thread Ivan Enderlin @ Hoa
heers. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/ -- PHP Internals - PHP Runtime Development Mailing Li

Re: [PHP-DEV] UNKNOW:0, what is it?

2013-06-26 Thread Ivan Enderlin @ Hoa
On 26/06/13 18:30, Johannes Schlüter wrote: On Wed, 2013-06-26 at 18:21 +0200, Ivan Enderlin @ Hoa wrote: On 26/06/13 18:19, Johannes Schlüter wrote: On Wed, 2013-06-26 at 18:05 +0200, Ivan Enderlin @ Hoa wrote: Hello, Again, I have a segfault with RecursiveDirectoryIterator when I extend

Re: [PHP-DEV] UNKNOW:0, what is it?

2013-06-26 Thread Ivan Enderlin @ Hoa
On 26/06/13 18:19, Johannes Schlüter wrote: On Wed, 2013-06-26 at 18:05 +0200, Ivan Enderlin @ Hoa wrote: Hello, Again, I have a segfault with RecursiveDirectoryIterator when I extend it. This time, I have a very strange value on my SplFileInfo extension (subclass). When I var_dump the value

[PHP-DEV] UNKNOW:0, what is it?

2013-06-26 Thread Ivan Enderlin @ Hoa
what is it? Thanks :-). -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/ -- PHP Internals - PHP Runtime

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

2013-06-11 Thread Ivan Enderlin @ Hoa
of a larger project aimed at documenting the engine and making it accessible to new contributors. Any feedback is appreciated! Thanks, Nikita -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and

Re: [PHP-DEV] 5.NEXT Integer and String type modifications

2013-06-04 Thread Ivan Enderlin @ Hoa
On 04/06/13 12:08, Pierre Joye wrote: On Tue, Jun 4, 2013 at 10:41 AM, Ivan Enderlin @ Hoa wrote: Hey :-), On 02/06/13 08:52, Johannes Schlüter wrote: It would be a *gigantic* patch, but the userland effects should be minimal (the only changes would be supporting longer strings, and

Re: [PHP-DEV] 5.NEXT Integer and String type modifications

2013-06-04 Thread Ivan Enderlin @ Hoa
x.html [4] http://clang-analyzer.llvm.org/ [5] http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C.2FC.2B.2B -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria

Re: [PHP-DEV] php-fpm and systemd integration

2013-05-18 Thread Ivan Enderlin @ Hoa
efore I process ? I can't give technical feedbacks about FPM but the feature is welcome! Nice idea. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML a

[PHP-DEV] MultipleIterator, add a default value

2013-05-14 Thread Ivan Enderlin @ Hoa
array, used directly in a loop. To avoid a "NULL pointer exception", we can specify an empty array as a default value. A PHP implementation is pretty easy to do. Naively, we are able to write https://github.com/hoaproject/Iterator/commit/59dcff7f331a7338644cf9a8965d2a934a38661e. If you

Re: [PHP-DEV] Proposed changes to PHP language

2013-03-06 Thread Ivan Enderlin @ Hoa
PUT request body in $_POST sounds a bad idea :-). 4. Add handling of DateTime objects to SoapServer and SoapClient. It will help in using this build-in datatype without typemap. I tried to google for these proposals, but didn't find any previous discussions. Cheers :-). -- Ivan

Re: [PHP-DEV] File system watcher/monitoring

2013-02-15 Thread Ivan Enderlin @ Hoa
On 15/02/13 14:29, Sebastian Krebs wrote: 2013/2/15 Ivan Enderlin @ Hoa On 15/02/13 14:20, Sebastian Krebs wrote: 2013/2/15 Ivan Enderlin @ Hoa Hi Stas, On 14/02/13 22:37, Stas Malyshev wrote: Hi! A missing feature in PHP is a file system watcher/monitoring available for

Re: [PHP-DEV] File system watcher/monitoring

2013-02-15 Thread Ivan Enderlin @ Hoa
On 15/02/13 14:20, Sebastian Krebs wrote: 2013/2/15 Ivan Enderlin @ Hoa Hi Stas, On 14/02/13 22:37, Stas Malyshev wrote: Hi! A missing feature in PHP is a file system watcher/monitoring available for almost all platforms. On Linux, we have inotify (available in PHP through pecl

Re: [PHP-DEV] File system watcher/monitoring

2013-02-15 Thread Ivan Enderlin @ Hoa
On 14/02/13 18:02, Paul Dragoonis wrote: On Thu, Feb 14, 2013 at 5:00 PM, Patrick ALLAERT wrote: 2013/2/14 Ivan Enderlin @ Hoa : I have written: “On Linux, we have inotify (available in PHP through pecl/inotify)”, so yup, I know for inotify :-). I propose to gather all these API and give a

Re: [PHP-DEV] File system watcher/monitoring

2013-02-15 Thread Ivan Enderlin @ Hoa
Hi Victor, On 15/02/13 12:43, Victor Berchet wrote: On 02/14/2013 03:03 PM, Ivan Enderlin @ Hoa wrote: Hi internal, A missing feature in PHP is a file system watcher/monitoring available for almost all platforms. On Linux, we have inotify (available in PHP through pecl/inotify), on Mac OS

Re: [PHP-DEV] File system watcher/monitoring

2013-02-14 Thread Ivan Enderlin @ Hoa
Hi Sebastian, On 14/02/13 15:40, Sebastian Krebs wrote: 2013/2/14 Ivan Enderlin @ Hoa Hello Julien, On 14/02/13 15:29, Julien Pauli wrote: On Thu, Feb 14, 2013 at 3:03 PM, Ivan Enderlin @ Hoa < ivan.ender...@hoa-project.net> wrote: Hi internal, A missing feature in PHP is

Re: [PHP-DEV] File system watcher/monitoring

2013-02-14 Thread Ivan Enderlin @ Hoa
Hello Julien, On 14/02/13 15:29, Julien Pauli wrote: On Thu, Feb 14, 2013 at 3:03 PM, Ivan Enderlin @ Hoa < ivan.ender...@hoa-project.net> wrote: Hi internal, A missing feature in PHP is a file system watcher/monitoring available for almost all platforms. On Linux, we have inotify (ava

Re: [PHP-DEV] File system watcher/monitoring

2013-02-14 Thread Ivan Enderlin @ Hoa
nux for the moment… Thank you again. --Mike On Feb 14, 2013, at 6:03 AM, Ivan Enderlin @ Hoa wrote: Hi internal, A missing feature in PHP is a file system watcher/monitoring available for almost all platforms. On Linux, we have inotify (available in PHP through pecl/inotify), on Mac OS

[PHP-DEV] File system watcher/monitoring

2013-02-14 Thread Ivan Enderlin @ Hoa
have such a feature landing in PHP (core if karma allows it)? or do you want such a feature? Best regards :-). -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTM

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Ivan Enderlin @ Hoa
tions, but it has to be precised in your RFC or you need to write a simpler test. [1] https://gist.github.com/keyurdg/4728770#file-php_ps-patch-L737-L740 -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcom

Re: [PHP-DEV] About PTY

2013-02-04 Thread Ivan Enderlin @ Hoa
On 04/02/13 19:37, Ferenc Kovacs wrote: On Mon, Feb 4, 2013 at 7:32 PM, Ivan Enderlin @ Hoa < ivan.ender...@hoa-project.net> wrote: On 04/02/13 16:22, Ferenc Kovacs wrote: But is it possible to have PTY support today in PHP? These commits are from 2004, we are in 2013 now. May

Re: [PHP-DEV] About PTY

2013-02-04 Thread Ivan Enderlin @ Hoa
, but added something which was broken, tried to fix it, but give up and removed. Great. Do I open a bug? Regards. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTM

Re: [PHP-DEV] About PTY

2013-02-04 Thread Ivan Enderlin @ Hoa
7440df4 But is it possible to have PTY support today in PHP? These commits are from 2004, we are in 2013 now. Maybe new solutions are conceivable. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.uni

Re: [PHP-DEV] Proposal: php://memory/ (& ://temp/)

2013-01-31 Thread Ivan Enderlin @ Hoa
On 31/01/13 15:35, Gustavo Lopes wrote: On Thu, 31 Jan 2013 14:55:26 +0100, Ivan Enderlin @ Hoa wrote: I'm not sure what you mean here. Each time you open a php://memory stream, you're working on a new "bucket", right? Yes exact. My bad. But my proposal still persi

Re: [PHP-DEV] Proposal: php://memory/ (& ://temp/)

2013-01-31 Thread Ivan Enderlin @ Hoa
On 31/01/13 12:18, Gustavo Lopes wrote: On Thu, 31 Jan 2013 10:37:53 +0100, Ivan Enderlin @ Hoa wrote: The php://memory, and its respectful sibling php://temp, appear very useful when we need to compute streams on-the-fly. They offer a lot of services, like avoiding HDD accesses, increasing

Re: [PHP-DEV] Proposal: php://memory/ (& ://temp/)

2013-01-31 Thread Ivan Enderlin @ Hoa
ust pass the open stream around, if you need to access it at multiple places? Is this question for me or Chris? If it is for me, I don't want multiple accesses to the same “bucket”/space, I want multiple “buckets”/spaces. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa-project

Re: [PHP-DEV] Re: [lists.php] [PHP-DEV] Proposal: php://memory/ (& ://temp/)

2013-01-31 Thread Ivan Enderlin @ Hoa
which required a file and does not support strings directly, and instead of php://memory all data is freed when no longer used) Yes. I also have Hoa\Stringbuffer or some stuff like that. But, again, it will save future work to users. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa-proj

Re: [PHP-DEV] Proposal: php://memory/ (& ://temp/)

2013-01-31 Thread Ivan Enderlin @ Hoa
miss to precise this point. Thank you for the comment. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http

[PHP-DEV] Proposal: php://memory/ (& ://temp/)

2013-01-31 Thread Ivan Enderlin @ Hoa
ire a ton of work, and the use cases are numerous regarding the services offered by these wrappers. Thoughts? Best regards. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Me

Re: [PHP-DEV] About PTY

2013-01-30 Thread Ivan Enderlin @ Hoa
On 30/01/13 11:58, Ferenc Kovacs wrote: On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa < ivan.ender...@hoa-project.net> wrote: Hi, I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using proc_open with $descriptors = [[0 => 'pty']] for example. Wh

[PHP-DEV] About PTY

2013-01-30 Thread Ivan Enderlin @ Hoa
related posts. Thanks for the help, Best regards. -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/ -- PHP In

Re: [PHP-DEV] [RFC] Integrating Zend Optimizer+ into the PHP distribution

2013-01-29 Thread Ivan Enderlin @ Hoa
plain PHP and vs. APC. It's better now ;-). Thank you for the contribution. It's a great news! Can APC and Optimizer+ work in duo or share some features? -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc

Re: [PHP-DEV] [RFC] Reflection annotations reader

2013-01-10 Thread Ivan Enderlin @ Hoa
to go to a previous revision: https://wiki.php.net/rfc/annotations?rev=1302087566 [snip] Let's discuss? Thanks. What do you think about my proposal: http://news.php.net/php.internals/64727 ? Best regards. -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD.

Re: [PHP-DEV] - True Annotations

2013-01-09 Thread Ivan Enderlin @ Hoa
e to class declarations and thus only before a class keyword, before a property or method declaration. In none of those scopes would [ ] be a parsing issue I believe... The one case would be at the beginning of a class, but if simply added something such as: [:SomeAttribute(xyz,abc),Some

Re: [PHP-DEV] Ruby's symbols

2013-01-05 Thread Ivan Enderlin @ Hoa
uted, so symbol don't have a performance advantage either. That's what I refered in my previous mail. Thanks Nikita (Popov) for the clarification. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio

Re: [PHP-DEV] Ruby's symbols

2013-01-05 Thread Ivan Enderlin @ Hoa
#x27;properties.labels' )) ->add('language', :text, array( :required => false, :property_path => 'properties.language' )) 2. Memory usage reduction. AFAIK, there's a lot of cases like the above

Re: [PHP-DEV] Generators Revisited

2012-11-28 Thread Ivan Enderlin @ Hoa
quot; might be removed at all. In general the same optimization might be done for EX(CVs) as well. 2) May be it makes sense to forbid return/yield usage in "finally" blocks using compile time error. Their behaviour is really unclear. Any thoughts? Thanks. Dmitry. -- Ivan Enderlin Deve

Re: [PHP-DEV] Generators Revisited

2012-11-28 Thread Ivan Enderlin @ Hoa
ral the same optimization might be done for EX(CVs) as well. 2) May be it makes sense to forbid return/yield usage in "finally" blocks using compile time error. Their behaviour is really unclear. Any thoughts? Thanks. Dmitry. -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa

Re: [PHP-DEV] DateTime::modify('now') is ignored, why?

2012-11-26 Thread Ivan Enderlin @ Hoa
On 26/11/12 13:02, Derick Rethans wrote: On Mon, 26 Nov 2012, Ivan Enderlin @ Hoa wrote: On 26/11/12 12:25, Sebastian Krebs wrote: 2012/11/26 Ivan Enderlin @ Hoa I would to modify a \DateTime object to the current time, thus I wrote this: $d = new \DateTime('+1 hour'); $d-&g

Re: [PHP-DEV] DateTime::modify('now') is ignored, why?

2012-11-26 Thread Ivan Enderlin @ Hoa
Hi Sebastien, On 26/11/12 12:25, Sebastian Krebs wrote: 2012/11/26 Ivan Enderlin @ Hoa Hi internals, I would to modify a \DateTime object to the current time, thus I wrote this: $d = new \DateTime('+1 hour'); $d->modify('now'); It did not work. Why? Because

Re: [PHP-DEV] DateTime::modify('now') is ignored, why?

2012-11-26 Thread Ivan Enderlin @ Hoa
ying the timestamp with another timestamp would make no sense to me. Kind regards, Chris van Dam Op 26-11-12 12:06 schreef Ivan Enderlin @ Hoa : Hi internals, I would to modify a \DateTime object to the current time, thus I wrote this: $d = new \DateTime('+1 hour'); $d->mo

[PHP-DEV] DateTime::modify('now') is ignored, why?

2012-11-26 Thread Ivan Enderlin @ Hoa
nored”. Really? But the behavior is pretty straightforward isn't? “modify to now” means “set to the current date and time and let the timezone unchanged”. Thoughts? Best regards. -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Veson

Re: [PHP-DEV] [RFC] ICU UConverter implementation for ext/intl

2012-10-29 Thread Ivan Enderlin @ Hoa
Very nice work. Bravo! On 30/10/12 02:57, Sara Golemon wrote: http://wiki.php.net/rfc/uconverter Discuss! -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http

Re: [PHP-DEV] mbstring, a proposition of additional functions

2012-09-25 Thread Ivan Enderlin @ Hoa
On 24/09/12 20:04, Andrew Faulds wrote: On 24/09/12 15:41, Ivan Enderlin @ Hoa wrote: Recently, I crafted a String object that support most of the propositions written here. Please, see https://github.com/hoaproject/String (file String.php). The code is very simple (it implies that it do not

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

2012-09-25 Thread Ivan Enderlin @ Hoa
On 24/09/12 20:09, Andrew Faulds wrote: On 21/09/12 12:05, Ivan Enderlin @ Hoa 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 $_POST

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

2012-09-24 Thread Ivan Enderlin @ Hoa
On 24/09/12 16:48, jpauli wrote: On Mon, Sep 24, 2012 at 4:21 PM, Ivan Enderlin @ Hoa wrote: On 21/09/12 16:16, jpauli wrote: On Fri, Sep 21, 2012 at 1:05 PM, Ivan Enderlin @ Hoa wrote: Hello, If PHP receives a HTTP request with the method POST and with the header Content-Type: application

Re: [PHP-DEV] mbstring, a proposition of additional functions

2012-09-24 Thread Ivan Enderlin @ Hoa
Hi, I sent this email during this summer and nobody replied. I would like to know your opinion. On 06/08/12 21:54, Ivan Enderlin @ Hoa wrote: Hello, ext/mbstring is very useful, but from my point of view, some functions are missing. I would like to propose the addition of the following

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

2012-09-24 Thread Ivan Enderlin @ Hoa
On 21/09/12 16:16, jpauli wrote: On Fri, Sep 21, 2012 at 1:05 PM, Ivan Enderlin @ Hoa 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 Ivan Enderlin @ Hoa
On 21/09/12 16:16, jpauli wrote: On Fri, Sep 21, 2012 at 1:05 PM, Ivan Enderlin @ Hoa 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

  1   2   >