Date: 01/10/01
- Next message: timperator <email protected>: "[PHP-DEV] PHP 4.0 Bug #8632: Error Message"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page"
- In reply to: Hartmut Holzgraefe: "Re: [PHP-DEV] call_builtin_function_array() possible?"
- Next in thread: Zeev Suraski: "[PHP-DEV] ++$i++ (was Re: [PHP-DEV] call_builtin_function_array() possible?)"
- Reply: Zeev Suraski: "[PHP-DEV] ++$i++ (was Re: [PHP-DEV] call_builtin_function_array() possible?)"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] call_builtin_function_array() possible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Well, this would be probably completely useless (at least I
can't think of a meaningful use of this right now), but... is
there a reason this can't be implemented in PHP? I know, time
is a very precious commodity, and I wouldn't ask (or suggest)
for an implementation of this if it would require extra work
besides making pre- and post- increment / decrement in one
statement. But if allowing ++$i++ (which I definitely consider
useful) makes ++$i-- possible without additional effort, why
disable it? It's possible to write completely useless junk
software without this feature too.
Lack of knowledge of C prevents me from going to try and do
this myself.
At 21:51 9.1. 2001, Hartmut Holzgraefe wrote the following:
--------------------------------------------------------------
>Cynic wrote:
>>
>> At 21:16 9.1. 2001, Andrei Zmievski wrote the following:
>> >What color is the sky on your planet? :)
>>
>> I don't know, haven't checked for some time now. :)
>> But seriously: I'm not familiar with C, nor the way this stuff
>> is implemented in PHP, however, whether the sky here is blue or
>> pink doesn't mean I think this wouldn't be useful.
>
>and what's next?
>
>++$i-- ???
>
>--
>Hartmut Holzgraefe hartmut <email protected> http://www.six.de +49-711-99091-77
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: timperator <email protected>: "[PHP-DEV] PHP 4.0 Bug #8632: Error Message"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page"
- In reply to: Hartmut Holzgraefe: "Re: [PHP-DEV] call_builtin_function_array() possible?"
- Next in thread: Zeev Suraski: "[PHP-DEV] ++$i++ (was Re: [PHP-DEV] call_builtin_function_array() possible?)"
- Reply: Zeev Suraski: "[PHP-DEV] ++$i++ (was Re: [PHP-DEV] call_builtin_function_array() possible?)"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] call_builtin_function_array() possible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

