Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Pierre Joye
On Mar 31, 2017 8:19 AM, "S.A.N" wrote: > Another option would be to create a function that converts all slashes in a > given input string to whatever the directory seperator should be on that > platform. This way, devs wouldn't have to deal with bulky aliases like > DIRECTORY_SEPERATOR clutteri

[PHP-DEV] NEUTRAL Benchmark Results for PHP Master 2017-03-30

2017-03-30 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-03-30 12:27:54-07:00 commit: 2b86a89 previous commit:a7c6948 revision date: 2017-03-29 12:54:52-07:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread S.A.N
> Another option would be to create a function that converts all slashes in a > given input string to whatever the directory seperator should be on that > platform. This way, devs wouldn't have to deal with bulky aliases like > DIRECTORY_SEPERATOR cluttering up their code. > > For example: > > >

Re: [PHP-DEV] PHP 7.2 Release Managers

2017-03-30 Thread Davey Shafik
As a reminder, this thread is just for folks to throw their hat in the ring. There will be a formal vote on the wiki to pick the actual RM (assuming anyone else volunteers!). - Davey P.S. +1 ;) On Thu, Mar 30, 2017 at 10:34 AM, Christoph M. Becker wrote: > On 28.03.2017 at 17:11, Sara Golemon

Re: [PHP-DEV] ; on the end of the line

2017-03-30 Thread Ryan Pallas
On Thu, Mar 30, 2017 at 12:19 PM, Johannes Schlüter wrote: > On Do, 2017-03-30 at 00:07 -0700, Davey Shafik wrote: > > Notice each of these has two statements. (Note: I don't think any of > > these > > are particularly good ways to write readable code, but they are all > > syntactically valid cod

Re: [PHP-DEV] ; on the end of the line

2017-03-30 Thread Johannes Schlüter
On Do, 2017-03-30 at 00:07 -0700, Davey Shafik wrote: > Notice each of these has two statements. (Note: I don't think any of > these > are particularly good ways to write readable code, but they are all > syntactically valid code). The imo more relevant cases are the one where an optional semicolo

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Fleshgrinder
On 3/30/2017 3:25 PM, Rasmus Schultz wrote: > Thoughts? > Windows and paths is a complicated and lengthy story. TL;DR all versions of Windows are able to deal with slashes, and we could easily use slashes everywhere all the time. # History The story why Windows is using the backslash might be o

Re: [PHP-DEV] PHP 7.2 Release Managers

2017-03-30 Thread Christoph M. Becker
On 28.03.2017 at 17:11, Sara Golemon wrote: > On Tue, Mar 28, 2017 at 9:56 AM, Joe Watkins wrote: > >> Please put your name forward here if you wish to be considered a candidate. > > I keep meaning to have a go at this, and with such inspiring mentors > at the ready, there's really no better time

[PHP-DEV] PHP 7.1.4RC1 is available for testing

2017-03-30 Thread Joe Watkins
Evening, PHP 7.1.4RC1 was just released and can be downloaded from: https://downloads.php.net/~krakjoe/ The Windows binaries are available at: https://windows.php.net/qa This is a bug fix release, for a list of changes see: https://github.com/php/php-src/blob/php-7.1.4RC1/NEWS Pl

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Walter Parker
On Thu, Mar 30, 2017 at 8:21 AM, Sara Golemon wrote: > My first thought is UNC paths. On windows a file server share is > denoted by \\host\share . if you combine that with relative paths > produced from PHP, you end up in the dubious situation of > "\\host\share/path/to/file" <--- wat? > > Over

RE: [PHP-DEV] RE: [PHP-WIN] New PHP SDK for Windows

2017-03-30 Thread Anatol Belski
Hi, > -Original Message- > From: Anatol Belski [mailto:anatol@belski.net] > Sent: Monday, February 6, 2017 5:33 PM > To: 'PHP internals list' ; 'internals-win' > ; php-wind...@lists.php.net > Subject: [PHP-DEV] RE: [PHP-WIN] New PHP SDK for Windows > > Hi, > > > -Original Messag

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Kris Craig
On Mar 30, 2017 8:21 AM, "Sara Golemon" wrote: > > My first thought is UNC paths. On windows a file server share is > denoted by \\host\share . if you combine that with relative paths > produced from PHP, you end up in the dubious situation of > "\\host\share/path/to/file" <--- wat? > > Overall,

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Sara Golemon
My first thought is UNC paths. On windows a file server share is denoted by \\host\share . if you combine that with relative paths produced from PHP, you end up in the dubious situation of "\\host\share/path/to/file" <--- wat? Overall, it smells of magic. -Sara On Thu, Mar 30, 2017 at 8:25 AM,

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Ryan Pallas
On Thu, Mar 30, 2017 at 8:05 AM, Rowan Collins wrote: > On 30 March 2017 14:25:02 BST, Rasmus Schultz wrote: > > >Returning backslashes on Windows seems rather unnecessary in the first > >place, since forward slashes work just fine? > > This may be true when using the paths within PHP, but is it

Re: [PHP-DEV] PHP 7.2 Release Managers

2017-03-30 Thread Kalle Sommer Nielsen
+1 On Mar 28, 2017 17:12, "Sara Golemon" wrote: > On Tue, Mar 28, 2017 at 9:56 AM, Joe Watkins > wrote: > > With the first alpha of 7.2 due in early June, we think it's time to > start > > the process of finding and electing release managers for the next minor > > release of PHP. > > > > We are

Re: [PHP-DEV] PHP 7.2 Release Managers

2017-03-30 Thread Pierre Joye
On Mar 28, 2017 10:11 PM, "Sara Golemon" wrote: On Tue, Mar 28, 2017 at 9:56 AM, Joe Watkins wrote: > With the first alpha of 7.2 due in early June, we think it's time to start > the process of finding and electing release managers for the next minor > release of PHP. > > We are looking for two

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Pierre Joye
On Mar 30, 2017 8:25 PM, "Rasmus Schultz" wrote: Today, I ran into a very hard-to-debug problem, in which paths (to SQL files, in a database migration script) were kept in a map, persisted to a JSON file, and this file was moved from a Windows to a Linux file-system - because the paths on the Lin

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Rowan Collins
On 30 March 2017 14:25:02 BST, Rasmus Schultz wrote: >Returning backslashes on Windows seems rather unnecessary in the first >place, since forward slashes work just fine? This may be true when using the paths within PHP, but is it true outside of it? If your JSON file had been read in by a .net

[PHP-DEV] Directory separators on Windows

2017-03-30 Thread Rasmus Schultz
Today, I ran into a very hard-to-debug problem, in which paths (to SQL files, in a database migration script) were kept in a map, persisted to a JSON file, and this file was moved from a Windows to a Linux file-system - because the paths on the Linux system had forward slashes, the files appeared t

[PHP-DEV] PHP 7.0.18RC1 is available for testing

2017-03-30 Thread Anatol Belski
Hi, PHP 7.0.18 RC1 was just released and can be downloaded from: https://downloads.php.net/~ab/ The Windows binaries are available at http://windows.php.net/qa/ This release contains a number of bugfixes. For the list of bugfixes that you can target in your testing, please refer to th

Re: [PHP-DEV] PHP 7.2 Release Managers

2017-03-30 Thread Remi Collet
Le 28/03/2017 à 17:11, Sara Golemon a écrit : > I keep meaning to have a go at this, and with such inspiring mentors > at the ready, there's really no better time than now. > > -Sara +1 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 7.2 Release Managers

2017-03-30 Thread Stanislav Malyshev
Hi! > I keep meaning to have a go at this, and with such inspiring mentors > at the ready, there's really no better time than now. > > -Sara Sounds like a good idea :) -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://w

Re: [PHP-DEV] ; on the end of the line

2017-03-30 Thread Davey Shafik
On Wed, Mar 29, 2017 at 11:10 PM, dmitr y wrote: > Hello, dear coders. > I'm using php for a year and it's being my favourite language. Also I'm > using some bookkeping languages which is based on php syntax but ';' on the > end of the line is not neccesary on it. > So I can't understand why synt