Hi,
I did a
for($i=267;$i<400;$i++) {
echo token_name($i)."\n";
}
?>
to get the stuff that token_get_all will expect for the PHP_Parser, and
the only tokens that unepxectedly showed as UNKNOWN were the
interface-related ones, so it should be fine.
Greg
Sebastian Bergmann wrote:
Derick Rethans
At 06:34 AM 5/7/2003 +0200, Sascha Schumann wrote:
> What you are saying is that differentiating between a null value from
> next() and not having more elements is impossible without such a function?
> (I just want to be sure I understand what your motivation is).
> I don't really have a problem wi
At 06:34 AM 5/7/2003 +0200, Sascha Schumann wrote:
> What you are saying is that differentiating between a null value from
> next() and not having more elements is impossible without such a function?
> (I just want to be sure I understand what your motivation is).
> I don't really have a problem wi
Hello Sascha,
Saturday, July 5, 2003, 6:34:26 AM, you wrote:
>> What you are saying is that differentiating between a null value from
>> next() and not having more elements is impossible without such a function?
>> (I just want to be sure I understand what your motivation is).
>> I don't really h
Hello Andi,
there was nothing in this thread that was against adding it besides Sascha
suggestion that following code would do the trick:
function array_has_more($ar) {
if (!is_array($ar)) {
trigger_error("Argument to array_has_more is no array", E_WARNING);
return NULL;
}
PHP 4 Bug Database summary - http://bugs.php.net
Num Status Summary (917 total including feature requests)
===[*Configuration Issues]
20490 Feedback enable versioning not supported on OSX
21973 Open 'configure' script can't find lib
Hello Zeev, hi Andi,
atm it is not possible to unset static members of a class which is correct
since that would modify the class protocol. But it is possible to unset non
dynamic properties (defined in the class). This should also be prevented as
done with the attached patch.
I did it by check
Just a note that I'd prefer a different name as well. I really don't
see the use for this function though. If you need to see the next
element in the iteration use next(), and then rewind it with prev().
-Sterling
On Sat, 2003-07-05 at 06:57, Marcus Börger wrote:
> Hello Andi,
>
> there was no
On Sat, 5 Jul 2003, Marcus [x-unknown] Börger wrote:
> Hello Andi,
>
> there was nothing in this thread that was against adding it besides Sascha
> suggestion that following code would do the trick:
There was also nothing in favor of it. Beside the cludgy
name, array loops can simply be
Hello Marcus,
Saturday, July 5, 2003, 4:16:03 PM, you wrote:
MB> Hello Zeev, hi Andi,
MB> atm it is not possible to unset static members of a class which is correct
MB> since that would modify the class protocol. But it is possible to unset non
MB> dynamic properties (defined in the class). Th
Hi,
How about array_has_next() to reference the php function?
Greg
Marcus BöRger wrote:
Anyway you said that you don't like the name really. Do you have a better
name? If not i'll go with 'array_has_more'.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://ww
The problem isn't the ending. The problem is that according to our naming
conventions it should be array_foobar() whereas the other array functions
were invented before our conventions and are short names such as next().
Now on one hand we wouldn't want to pollute the PHP function space with new
Just a note that the addition of sqlite to the PHP build has broken
'make -j' compiling:
In file included from /home/jon/src/php5/ext/sqlite/libsqlite/src/auth.c:19:
/home/jon/src/php5/ext/sqlite/libsqlite/src/sqliteInt.h:17: sqlite.h: No such file or
directory
*** Error code 1
/home/jon/src/php
13 matches
Mail list logo