It's unclear to me what the position of the big kahuna's is on the following
issues, but I hope they can become a reality in PHP6:

1) named parameters.
in user functions, but also in core functions:
$result = in_array(needle: "foo", haystack: $array);

2) error reporting using exceptions.
I would like it if I could catch PHP-errors and take appropriate action
(such as logging it to a database or whatever).

3) doubling the precision of integers to 64 bits and floats to 128 bits.
I know Wez wants this too, but will it happen? I think it would be nice if
it would be a transparant change and the standard types would simply have a
bigger range.

4) improved __toString behavior

5) Altered/improved garbage collection (see my recent post on leaking memory
when throwing exceptions from a foreach() loop). Leaking memory may be
perfectly fine in a webserver situation, but I personally use PHP a lot for
cli-scripts (sometimes forever-running daemon applications).

6) Broader support for (custom) stream-wrappers (I noticed the zlib
functions don't accept them). I wanted to make a stream wrapper for strings,
so I could do this: readgzfile("str://andHereSomeGzipData").. In fact, if
you ask me, such a str:// wrapper may be implemented as a standard wrapper.
It would be useful in a lot more cases where functions read from files.


Thanks,

Ron

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

Reply via email to