[PHP-DEV] Re: [PHP-WEBMASTER] New wiki account

2012-05-11 Thread Alexander Moskaliov
I think the main idea of ​​this RFC: Run the code, if we had never entered
in loop.
In this case more sence to change for .. else condition to this:
If second expression  is equal FALSE before looping(but after run first
expression of course), we run else code.

By example:
for (exp1;exp2;exp3) {
exp4;
} else {
exp5;
}

must be equal
$notLooping = true;
for (exp1;exp2;exp3) {
exp4;
$notLooping = false;
}
if ($notLooping) {
exp5;
}

With regards, Alexander Moskaliov
ir...@irker.net


2012/5/10 Dmitri Ravazin rava...@gmail.com

 Hi,

 I registered account 'ravazin' on wiki.
 I'd like to write an RFC based on bugs:

 https://bugs.php.net/bug.php?id=26411
 https://bugs.php.net/bug.php?id=46240
 https://bugs.php.net/bug.php?id=61222

 I think it's time these requests got some sort of resolution :)



Re: [PHP-DEV] Re: [PHP-WEBMASTER] New wiki account

2012-05-11 Thread Alexander Moskaliov
2012/5/12 Dmitri Ravazin rava...@gmail.com

 Yes... That's just what I had in the RFC.


Not at all. In RFC you use first expression in for ... else statement as
condition for else statement.

if (some_very_expensive_and_ugly_looking_calculation($array)  0) {

}


 I think it correct to use the second expression before the start of
looping, as I described in previous mail.


2012/5/12 Kris Craig kris.cr...@gmail.com

 Yep.  And at least for my part, I have no idea what RFC you guys are
 talking about lol.  ;P

Sorry, RFC link was in old thread: https://wiki.php.net/rfc/loop_else

With regards, Alexander Moskaliov
ir...@irker.net


Re: [PHP-DEV] git merge and generated files?

2012-03-28 Thread Alexander Moskaliov
2012/3/28 Niel Archer spam-f...@blueyonder.co.uk


 git config --global core.autocrlf true

 Global option obviously makes this apply to all repoes, not sure how it
 applies without it, as this is pretty much the only way to be able to
 work interoperably with Visual Studio.


Stas mail about autocrlf:
http://www.mail-archive.com/internals@lists.php.net/msg57100.html

 Also a small thing - gitfaq recommends git config core.autocrlf input, but
 we have some files in win32 which do not work with this setting (at least
 on my Mac).


With regards, Alexander Moskaliov
ir...@irker.net


Re: [PHP-DEV] php-src is now on git

2012-03-19 Thread Alexander Moskaliov
Really it was a mistake to do this option recommended (I did it =)). But
I think for webprojects and documentation will need to mention this option.

With regards, Alexander Moskaliov
ir...@irker.net


2012/3/19 Christopher Jones christopher.jo...@oracle.com



 On 03/19/2012 10:19 AM, David Soria Parra wrote:

  Also a small thing - gitfaq recommends git config core.autocrlf
 input, but we have some files in win32 which do not work with this
 setting (at least on my Mac).


 ah okay, can you remove it please? Thanks


 Done.

 --
 Email: christopher.jo...@oracle.com
 Tel:  +1 650 506 8630
 Blog:  http://blogs.oracle.com/opal/


 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] php-src is now on git

2012-03-19 Thread Alexander Moskaliov
I think we can add it now, because we have  already  moved to git all web
sources.
With regards, Alexander Moskaliov
ir...@irker.net


2012/3/19 Christopher Jones christopher.jo...@oracle.com

 Do you want to add it back (now or as appropriate), mentioning webprojects
  documentation?


Re: [PHP-DEV] Quick Question About Git Migration

2012-03-02 Thread Alexander Moskaliov
 it already happened.
Not for all projects.

how/when will that happen
You can see what projects already moved on git.php.net

With regards, Alexander Moskaliov
ir...@irker.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php