Re: [PHP-DEV][DISCUSSION] Multilingual PHP

2019-05-02 Thread Legale Legage
We (Russians) have got such experience already. The language is 1S where syntax is Cyrillic. This kind of syntax doesn’t like even Russian patriots. чт, 11 апр. 2019 г., 23:16 Benjamin Morel : > The problem with this approach is that while it may become more readable > for the native speaker, it

Re: [PHP-DEV] print with newline

2019-03-02 Thread Legale Legage
You trеw the bait with no luck. If you didn't get the hint. Your request have extremely low probability of acceptance. Try something else. On Sun, Mar 3, 2019, 05:26 Steven Penny wrote: > On Sun, 03 Mar 2019 03:36:50, Sara Golemon wrote: > > function println(string $x): void { > > echo $x,

Re: [PHP-DEV] reasonability of change the mbfl library

2019-02-12 Thread Legale Legage
question is there practical value? Interested in your opinion. php benchmark code: wrote: > On Sun, 10 Feb 2019 at 12:29, Legale Legage > wrote: > > > > > > > https://github.com/php/php-src/pull/3715/commits/d868059626290b7ba773b957045e08c3efb1d603#diff-22d593ced03b2c

Re: [PHP-DEV] reasonability of change the mbfl library

2019-02-11 Thread Legale Legage
Got it. Thanks. On Mon, Feb 11, 2019, 18:00 Dan Ackroyd On Sun, 10 Feb 2019 at 12:29, Legale Legage > wrote: > > > > > > > https://github.com/php/php-src/pull/3715/commits/d868059626290b7ba773b957045e08c3efb1d603#diff-22d593ced03b2cb94450d9f9990865c8R38 >

Re: [PHP-DEV] reasonability of change the mbfl library

2019-02-10 Thread Legale Legage
Good idea, thanks. should be a bit slower than lookup table, but faster then now. On Sun, Feb 10, 2019, 21:02 Rowan Collins On 10/02/2019 12:29, Legale Legage wrote: > > This conception can be used for the utf-16 encoding, but table size > > would be 65536 bytes against 256 byte f

[PHP-DEV] reasonability of change the mbfl library

2019-02-10 Thread Legale Legage
Hello, internals! While I was working on a new function mb_str_split (https://wiki.php.net/rfc/mb_str_split) for the extension mbstring, I noticed a place to seriously improve the mbfl library performance for the utf-16 encoding. Currently, all variable-length encodings are processed

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
These scripts allow you to enable/disable php shared extensions. On Sat, 2 Feb 2019 at 21:00, Stanislav Malyshev wrote: > Hi! > > >> I want to propose including to the bundle phpenmod/phpdismod scripts. > These > > I'm sorry but what these scripts are? What do they do? > > -- > Stas Malyshev >

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
On Sat, 2 Feb 2019 at 20:57, Peter Kokot wrote: > On Sat, 2 Feb 2019 at 20:24, Legale Legage > wrote: > > > > Hello, internal. > > > > I want to propose including to the bundle phpenmod/phpdismod scripts. > These > > scripts are included to the stand

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
wrote: > Hi Legale, > > In general we leave the packaging of PHP to the packaging experts. So I > doubt if there's much need to include these in php-src, but let's see what > others have to say ? > > Cheers > Joe > > On Sat, 2 Feb 2019 at 20:24, Legale Legage

[PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale Legage
Hello, internal. I want to propose including to the bundle phpenmod/phpdismod scripts. These scripts are included to the standard deb/rpm packages. What do you think about including them to the bundle? If the idea is worthwhile, I will make the RFC. Saluti, Ruslan

Re: [PHP-DEV] Alternative voting reform: Streamlining the RFC process

2019-02-02 Thread Legale Legage
Hello, internals. I am with you recently. But as a person with a fresh look, let me insert my 5 penny coin. About half a year ago, I knew about the C language only that such a language exists. The reason I decided to contribute is curiosity. So I'm probably not as motivated as some of other

Re: [PHP-DEV] Simplify license headers

2019-01-28 Thread Legale Legage
Intellectual rights include: non-property rights (right to authorship, right to author's name, etc.); property rights (exclusive rights or copyright); A very interesting question appears: Who own the copyright for the PHP source code? Is Nikita right when he says that the copyright on PHP

[PHP-DEV] mbstring unused internal functions

2019-01-24 Thread Legale Legage
Hello. Looking through the source code of the mbstring.c file I found a lot of unused internal functions. It seems that this is just a bunch of old junk. Examples: MBSTRING_API size_t php_mb_mbchar_bytes_ex(const char *s, const mbfl_encoding *enc) MBSTRING_API size_t php_mb_mbchar_bytes(const

[PHP-DEV] Re: php-src code style

2019-01-19 Thread Legale Legage
Got it, thanks! On Sat, 19 Jan 2019 at 15:49, Christoph M. Becker wrote: > On 19.01.2019 at 13:46, Legale Legage wrote: > > > Hello, internals. > > I was trying to find code style guide for php-src project on the > > wiki.php.net > > The only thing i found: >

[PHP-DEV] php-src code style

2019-01-19 Thread Legale Legage
Hello, internals. I was trying to find code style guide for php-src project on the wiki.php.net The only thing i found: http://doc.php.net/tutorial/style.php Do we have a code style guide in the form of a document? Will it be ok if I use these parameters: 1. Encoding: utf-8 (without BOM) 2.

Re: [PHP-DEV][RFC] mb_str_split

2019-01-13 Thread Legale Legage
-src/jobs/479101356 What to do next? On Sun, 13 Jan 2019 at 16:29, Legale Legage wrote: > Hello, internals! > NikiC wrote very detailed review about my mb_str_split. So i rewrote the > function completely. While i was working on new implementation i've noticed > something in the

[PHP-DEV][RFC] mb_str_split

2019-01-13 Thread Legale Legage
Hello, internals! NikiC wrote very detailed review about my mb_str_split. So i rewrote the function completely. While i was working on new implementation i've noticed something in the mbfl library functions: mbfl_substr and mbfl_strlen. if (encoding->flag & MBFL_ENCTYPE_SBCS) { len =

[PHP-DEV] [RFC][VOTE] mb_str_split

2019-01-10 Thread Legale Legage
Hello, internals. Please vote this RFC: https://wiki.php.net/rfc/mb_str_split The voting period is: 10.01.2019 - 17.01.2019 Yours sincerely Ruslan

[PHP-DEV] Re: [RFC][VOTE] mb_str_split

2019-01-06 Thread Legale Legage
Moved back to "Under discussion" stage till 01-10-2019. https://wiki.php.net/rfc/mb_str_split On Sun, 6 Jan 2019 at 00:48, Christoph M. Becker wrote: > On 05.01.2019 at 22:03, Legale Legage wrote: > > > Hello, internals. > > All received suggestions and comments ha

[PHP-DEV] Re: [RFC][VOTE] mb_str_split

2019-01-05 Thread Legale Legage
Fixed URL: https://wiki.php.net/rfc/mb_str_split <http://wiki.php.net/rfc/mb_str_split> On Sat, 5 Jan 2019 at 22:03, Legale Legage wrote: > Hello, internals. > All received suggestions and comments have been settled. Please vote. > http://wiki.php.net/rfc/mb_str_split >

[PHP-DEV] [RFC][VOTE] mb_str_split

2019-01-05 Thread Legale Legage
Hello, internals. All received suggestions and comments have been settled. Please vote. http://wiki.php.net/rfc/mb_str_split

[PHP-DEV] RFC mb_str_split

2019-01-02 Thread Legale Legage
Hello, internals. I would like to introduce you RFC mb_str_split ( https://wiki.php.net/rfc/mb_str_split). mb_str_split it's just a multibyte analog of the native str_split. Let's discuss.

[PHP-DEV] Hello everybody

2019-01-01 Thread Legale Legage
Hello my name is Ruslan, login on wiki.php.net is rumi. I would like to take a part in php development. Please give me write access to create an RFC.