[PHP-DEV] CVS Account Request: stanprog

2006-01-19 Thread Stanislav Yordanov
I'd like to obtain a CVS account to the Bulgarian version of PHP Manual. I have already made translations for that manual and the doc-bg group approved me as a translator. They recommended me to request that CVS account. Best Regards! -- PHP Internals - PHP Runtime Development Mailing List To

[PHP-DEV] Re: CVS Account Request: stanprog

2006-01-19 Thread Kouber Saparev
Stanislav Yordanov wrote: I'd like to obtain a CVS account to the Bulgarian version of PHP Manual. I have already made translations for that manual and the doc-bg group approved me as a translator. They recommended me to request that CVS account. Best Regards! Confirmed. -- Kouber Saparev h

[PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Marco Kaiser
Today during a session i had a strange "magic" feature found in php. this works perfect as expected. it returns 22. but if i assign $a as a ref. to another variable it will be return 23. this will gave me to 23 (used the $b to the pre post stuff) this just happens if i have a ref. count to

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Hartmut Holzgraefe
Marco Kaiser wrote: Today during a session i had a strange "magic" feature found in php. there is a very simple rule that PHP inherited from C: never use pre- and postfix increment operators in the same expression as the results are undefined -- Hartmut Holzgraefe, Senior Support Enginee

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Etienne Kneuss
Notice that this behavior can be reproduced using only prefix increment operators. Is that also expected to give undefined results ? Best regards Hartmut Holzgraefe a écrit : > Marco Kaiser wrote: >> Today during a session i had a strange "magic" feature found in php. >> >> > $a = 10; >> e

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Christian Schneider
Etienne Kneuss wrote: Notice that this behavior can be reproduced using only prefix increment operators. Is that also expected to give undefined results ? Yes, see - Chris -- PHP Internals - PHP Runtime Development Mailing List To un

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Marcus Boerger
Hello Marco, though Hartmut is perfectly correct in his statement here's what happens: $a = 10; // 10 ++$a // 11 $a + $a // 22 $a++ // 23 Thursday, January 19, 2006, 5:41:17 PM, you wrote: > Today during a session i had a strange "magic" feature found in php. > $a = 10; > echo ++$a

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Marco Kaiser
Hmm yes i know this, but its very interesting for me to see how php internaly handles ++$a with a pointer. Now i understand it :) -- Marco 2006/1/19, Marcus Boerger <[EMAIL PROTECTED]>: > > Hello Marco, > > though Hartmut is perfectly correct in his statement here's what > happens: > > $a = 10;

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Jani Taskinen
For the 2nd time: references ARE NOT POINTERS! :-p --Jani On Thu, 19 Jan 2006, Marco Kaiser wrote: Hmm yes i know this, but its very interesting for me to see how php internaly handles ++$a with a pointer. Now i understand it :) -- Marco 2006/1/19, Marcus Boerger <[EMAIL PROTECTED]

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Marco Kaiser
Sorry Jani, i mean a reference (alias) :) -- Marco 2006/1/19, Jani Taskinen <[EMAIL PROTECTED]>: > > > For the 2nd time: references ARE NOT POINTERS! :-p > > --Jani > > > On Thu, 19 Jan 2006, Marco Kaiser wrote: > > > Hmm yes i know this, > > but its very interesting for me to see how

[PHP-DEV] CVS Account Request: michaelvilela

2006-01-19 Thread michael vilela
PECL packages -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php