Re: [PHP-DEV] Documentation error

2014-08-29 Thread jocelyn fournier
The translations for other langages are currently misleading as well, 
since it still mentions PHP5.6 is under development.


e.g. :

http://php.net/manual/fr/migration56.php
http://php.net/manual/de/migration56.php

...

Thanks,
  Jocelyn


Le 29/08/2014 02:43, Alain Williams a écrit :

I notice that in the precedence chart the new **= operator is missing:

http://uk1.php.net/manual/en/language.operators.precedence.php

The announcement (below) says that it is right associative, but the precedent
chart above says that it is left associative. From the example it seems to be
right associative.

http://php.net/migration56.new-features




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



[PHP-DEV] Documentation error

2014-08-28 Thread Alain Williams
I notice that in the precedence chart the new **= operator is missing:

http://uk1.php.net/manual/en/language.operators.precedence.php

The announcement (below) says that it is right associative, but the precedent
chart above says that it is left associative. From the example it seems to be
right associative.

http://php.net/migration56.new-features

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: 
http://www.phcomp.co.uk/contact.php
#include std_disclaimer.h

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



Re: [PHP-DEV] Documentation error

2014-08-28 Thread Andrea Faulds

On 29 Aug 2014, at 01:43, Alain Williams a...@phcomp.co.uk wrote:

 I notice that in the precedence chart the new **= operator is missing:
 
 http://uk1.php.net/manual/en/language.operators.precedence.php

It’s not on docs.php.net either, so the manual must just be out-of-date.

 The announcement (below) says that it is right associative, but the precedent
 chart above says that it is left associative. From the example it seems to be
 right associative.
 
 http://php.net/migration56.new-features

Yeah, that’s weird. If we check the actual PHP source, we see it is 
right-associative:

https://github.com/php/php-src/blob/a8b97086d7c5bd5df5243d11bb8b5e9406a2b6c2/Zend/zend_language_parser.y#L112

And I distinctly recall the RFC saying it was right-associative.
--
Andrea Faulds
http://ajf.me/





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



Re: [PHP-DEV] Documentation error

2014-08-28 Thread Tjerk Meesters
Hi Alain,

On 29 Aug, 2014, at 8:43 am, Alain Williams a...@phcomp.co.uk wrote:

 I notice that in the precedence chart the new **= operator is missing:
 
 http://uk1.php.net/manual/en/language.operators.precedence.php
 
 The announcement (below) says that it is right associative, but the precedent
 chart above says that it is left associative. From the example it seems to be
 right associative.

Thanks for spotting that; I’ll fix that later today if nobody beats me to it.

 
 http://php.net/migration56.new-features
 
 -- 
 Alain Williams
 Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
 Lecturer.
 +44 (0) 787 668 0256  http://www.phcomp.co.uk/
 Parliament Hill Computers Ltd. Registration Information: 
 http://www.phcomp.co.uk/contact.php
 #include std_disclaimer.h
 
 -- 
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php
 


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