Re: [PHP-DEV] Re: default_charset and mb_internal_encoding

2019-05-02 Thread Björn Larsson
Den 2019-04-11 kl. 15:41, skrev Christoph M. Becker: On 02.04.2019 at 11:42, Nicolai Scheer wrote: I'm currently in the process of migrating an old application from php 5.6 to 7.2. In the process, I fiddled with the default_charset ini setting. The documentation states (c.f.

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

2019-05-02 Thread Er Galvao Abbott
My two cents on this, since I teach beginner courses on a regular basis: All languages - that I'm aware of - have English as their basis. As a matter of fact our industry as a whole have English as it's basis. I often tell my students: learn English. You'll eventually need it and it will

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] [RFC] [VOTE] Deprecate PHP's short open tags

2019-05-02 Thread G. P. B.
Evening internals, I am not going to go into the details of every email which got sent in the past two days as I am busy with Exam revision. Main take away that I got from the previous emails: 1. No discussion: It is indeed true that there hasn't been a lot (to not say none) of discussion after

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

2019-05-02 Thread Yasuo Ohgaki
On Fri, Apr 12, 2019 at 5:32 AM Michael Morris wrote: > Submitted to the floor is a Wired article from 2 days ago I came across > > > https://www.wired.com/story/coding-is-for-everyoneas-long-as-you-speak-english/ > > The manual of PHP is translated into multiple languages - but what are the >

[PHP-DEV] email list problem

2019-05-02 Thread Lester Caine
I've just had my email service disabled for 'spamming' while trying to switch email addresses ... 8 unsubscribes, 8 confirm unsub, 8 subscribe and 8 confirm unsubscribe constitutes spam apparently. The what triggered the automatic closure was the multiple messages where the list sends more

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Kalle Sommer Nielsen
Hi Den tor. 2. maj 2019 kl. 22.55 skrev Lester : > The problem with including a database is it's dependent on the version > of FB running. This will only run with FB3 while FB2.x is still in > common use hence it being preferable to use something supplied with the > FB installation. > >

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Lester
On 02/05/2019 19:51, Kalle Sommer Nielsen wrote: It also includes a 'php.fdb', which I'm not certain whether or not we should keep as its quite large, but at least it makes the tests run for me with 15/15 pass. The problem with including a database is it's dependent on the version of FB

[PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Kalle Sommer Nielsen
Hi Christoph Den tor. 2. maj 2019 kl. 16.57 skrev Christoph M. Becker : > > Hi Kalle, > > On 02.05.2019 at 15:35, Kalle Sommer Nielsen wrote: > Indeed, it seems that pdo_firebird requires to connect to an existing > database, contrary to e.g. pdo_mysql which supports DSN like >

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Lester
On 02/05/2019 18:58, Christoph M. Becker wrote: Glancing that the ext/pgsql and ext/pdo_pgsql tests, though, it looks like we just require the user to have run "createdb test" before running the test suite. Indeed, see .

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Christoph M. Becker
On 02.05.2019 at 18:58, Rowan Collins wrote: > On Thu, 2 May 2019 at 14:57, Christoph M. Becker wrote: > >> Indeed, it seems that pdo_firebird requires to connect to an existing >> database, contrary to e.g. pdo_mysql which supports DSN like >> `mysql:host=localhost`, to my knowledge. > >

Re: [PHP-DEV] Remove $age parameter of curl_version()

2019-05-02 Thread Bishop Bettini
On Thu, May 2, 2019 at 3:58 AM Christoph M. Becker wrote: > On 01.05.2019 at 19:40, Bishop Bettini wrote: > > > On Wed, May 1, 2019 at 1:18 PM Christoph M. Becker > > >> Thoughts? Do I overlook something important? > > > > Well, what about: > > > > if (false === curl_version(3)) { > >

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Rowan Collins
On Thu, 2 May 2019 at 14:57, Christoph M. Becker wrote: > Indeed, it seems that pdo_firebird requires to connect to an existing > database, contrary to e.g. pdo_mysql which supports DSN like > `mysql:host=localhost`, to my knowledge. > Postgres works the same way - a connection is always to a

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Lester
On 02/05/2019 15:24, Christoph M. Becker wrote: A patch would be welcome! Looks like every file needs modifying ... I'll see what I can do, but my local php-src is broken and will not sync currently :( -- Lester Caine - G8HFL - Contact -

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Christoph M. Becker
On 02.05.2019 at 16:04, Lester wrote: > On 02/05/2019 14:35, Kalle Sommer Nielsen wrote: > >> Yeah that is one thing that is kind of unfortunate and a bad practice. >> However since interbase was disabled for AppVeyor, these tests had no >> chance to run in a while. Looking at the actual code in

Re: [PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Lester
On 02/05/2019 14:35, Kalle Sommer Nielsen wrote: Hi Christoph Den tor. 2. maj 2019 kl. 14.56 skrev Christoph M. Becker : A problem is that the ext/pdo_firebird tests rely on ext/interbase to create a test database[1], which would require everybody who intends to run these tests to install

[PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Christoph M. Becker
Hi Kalle, On 02.05.2019 at 15:35, Kalle Sommer Nielsen wrote: > Den tor. 2. maj 2019 kl. 14.56 skrev Christoph M. Becker : >> A problem is that the ext/pdo_firebird tests rely on ext/interbase to >> create a test database[1], which would require everybody who intends to >> run these tests to

[PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Kalle Sommer Nielsen
Hi Christoph Den tor. 2. maj 2019 kl. 14.56 skrev Christoph M. Becker : > A problem is that the ext/pdo_firebird tests rely on ext/interbase to > create a test database[1], which would require everybody who intends to > run these tests to install PECL/interbase package now. It would be > great

[PHP-DEV] Re: [RFC VOTE] Unbundle ext/interbase

2019-05-02 Thread Christoph M. Becker
Hi! On 23.04.2019 at 18:55, Kalle Sommer Nielsen wrote: > Den tir. 9. apr. 2019 kl. 20.02 skrev Kalle Sommer Nielsen : > > The two weeks voting period for this RFC has passed and the RFC has > been passed with 46-0 in favor. I will prepare relevant practical > tasks for this RFC throughout the

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-05-02 Thread Pierre Joye
Hi, On Wed, May 1, 2019, 2:42 PM Stanislav Malyshev wrote: > Hi! > > > Every app will have different things to fix. So saying that this > > particular change will break the internet is not realistic without any > > numbers. If PHP is on a course to fix the BC break strategy then good > > I am

[PHP-DEV] PHP 7.2.18 Released

2019-05-02 Thread Remi Collet
Hi, The PHP development team announces the immediate availability of PHP 7.2.18. This is a security release which also contains several minor bug fixes. All PHP 7.2 users are encouraged to upgrade to this version. For source downloads of PHP 7.2.18 please visit our downloads page. Windows

Re: [PHP-DEV] Revive Number Format Separator RFC

2019-05-02 Thread Thomas Punt
> On Wed, May 02, 2019 at 03:00 AM Bishop Bettini > mailto:bis...@php.net>> wrote: > > Great, thanks Tom. Theodore and I are polishing the RFC, then will tackle the > implementation. Besides the necessary merge fixes, are there any > changes/improvements you specifically want to make in the new

[PHP-DEV] PHP 7.3.5 Released

2019-05-02 Thread Christoph M. Becker
The PHP development team announces the immediate availability of PHP 7.3.5. This is a security release which also contains several bug fixes. All PHP 7.3 users are encouraged to upgrade to this version. For source downloads of PHP 7.3.5 please visit our downloads page. Windows binaries can be

Re: [PHP-DEV] Remove $age parameter of curl_version()

2019-05-02 Thread Christoph M. Becker
On 01.05.2019 at 19:40, Bishop Bettini wrote: > On Wed, May 1, 2019 at 1:18 PM Christoph M. Becker > wrote: > >> curl_version()[1] (of ext/curl) makes curl_version_info()[2] (of >> libcurl) available to PHP userland. The latter requires to pass an age >> argument which usually is