Hi,
Going over the todo list I wanted to bring up a few topics once again
for review/discussion (not flaming):
http://oss.backendmedia.com/PhP60
# Unicode
3. remove old parameter parsing API and replace with one that
supports unicode related functionality
I just want to remind that when we made some changes to the parameter
parsing API's last time it created some BC issues (like with
array_merge() ..)
5. add unicode to pdo (wez)
Maybe one place where IBM could step up, seeing that they are putting a
lot of resources into their PDO drivers.
# cleanups
4. safe_mode/open_basedir
1. remove safe mode and throw E_CORE_ERROR when set
2. unbundle safe_mode_exec_dir from safe_mode and keep it
(rasmus) (take a look at this patch too)
3. new ini option: open_basedir_for_include which would allow
using include/require(_once) on an expanded set of directories (sara)
Whats the state here. I remember that there was still a fair bit of back
and forth on this point.
9. remove zend.ze1_compatibility mode and throw E_CORE_ERROR when
set DONE (dmitry)
Same here. Gone for good?
# PECL
3. regexp
1. make ereg an extension
2. PCRE extension will not be allowed to be disabled.
3. core of PHP should be made to work with PCRE so that we can
safely disable ereg
4. unbundle the regex library
We had a short discussion on this one not too long ago.
5. move mime_magic from the core to PECL
6. fileinfo
1. move the Fileinfo extension to the core, and enable it by
default.
2. Fileinfo extension should be updated to only load its
database once on MINIT.
Didn't we fast track these two to 5.x?
7. ext/soap
1. ext/soap will be turned on by default
2. implement some of the security extensions to ext/soap
3. watch axis2 based implementation development
I am guessing the security stuff could take a bit to implement. Does
anyone feel "responsible" for this item?
Engine additions
2. add a new 64bit integer that is always 64bits regardless of
platform with the cast name for this new type is (int64) and internally
we use IS_INT64 and RETURN_INT64 etc..
Are we still on track with this one?
4. add an ifsetor() construct with the middle value for the ?:
ternary operator dropped
Kinda scared to mention this one. Me want very much though :)
6. speed up @-operator and ask andi for approval (ilia, marcus)
7. add ability to allocate persistent zvals in PHP.
8. add ZEND_ACC_READONLY (marcus)
Just bringing those 3 up as a reminder. It sounds like 6. is done and
just needs a nod? 7. needs someone breaking some brain cycles over and
8. is probably trivial to do ..?
# OO changes
3. object casting to primitive types BC mess (derick)
Derick could you elaborate on this one?
5. fix __toString() DONE (marcus)
Didn't we fix this one in 5.x already?
6. add internal flag only to force calling of the parent constructor
I guess we have something like this in PDO already. Personally I think
we should have rather promoted the "factories" pattern for extensions as
well. But if we have it for internals stuff, why not also for userland?
7. re-use the "static::" keyword to do runtime evaluation of statics.
This is one of the most wanted features going from user feedback.
8. add namespace support (marcus, jessie)
This topic still alive?
9. add support for type-hinted return values.
Seems like quite a big feature in terms of changing PHP, but could be
quite a nice feature for stuff like soap wsdl generation (though here we
can always fallback on phpdoc parsing).
# Other Additions/Changes
2. APC
1. include APC in the core distributions (turned off by
default) and switch to mmap as default shared memory storage.
2. ability to move autoloaded main classes in apc's class
lookup preventing the overhead of doing the inheritance process all the
time. (marcus)
Are we still on track with this one? I remember that Zeev said he was
generally ok with this one, but wanted to ponder it some more.
3. include the patch' real-path fix from hardended php
Wasn't this done already in 5.x?
4. include the protection against HTTP Response Splitting attacks
(header() shouldn't accept multiple headers in one call) from hardended php
Wasn't this done already in 5.x?
5. split allow_url_fopen into two distinct settings: allow_url_fopen
and allow_url_include. If allow_url_fopen is off, then allow_url_include
will be off too.
6. enable allow_url_fopen by default
7. disable allow_url_include by default
Is this still going to happen?
8. add sand boxing if we have a rock solid implementation (sara)
Sara, just making sure you are allocating brain cycles for this on a
daily basis ;)
9. go over the engine and extensions and make sure only E_ERROR is
used where the engine is in an unrecoverable state.
Hmm, this sounds like a nice one to get your feet wet in internals
development. Hope I have time to finish Sara's book on my USA trip that
lasts until end of May.
11. kill "<%" but keep "<?".
Sounds easy enough to do. Why not do it know, so that we can hear about
the impact for users as early as possible.
12. prepare a patch that disallows mixing different open/close tags.
(jani)
Jani .. looks like you are back!? :)
17. Output Control
1. rewrite DONE (mike)
2. revisit existing output handlers (mike)
I remember that Mike was a bit dissapointed with feedback on this one.
Whats the status here Mike?
18. add php native mysql driver aka mysqlnd (georg, andrey)
I guess there is a beta out now, which even works with PHP5. Maybe its
time to move the code into phpcvs .. its PHP licensed anyways AFAIK.
Finally here are some undiscussed items which should probably be
discussed and dropped or added to the above list. I think we can
probably through out the majority of these items fairly quickly.
1. reference mess (once and for all) (derick)
2. Only Unicode and binary string types. (andrei)
1. Unicode-related errors should be exceptions
2. keep user-visible API unified: no separate parse_url() for IDNA
3. hash hook or interface (george)
4. add autoconversion for parameter parsing api (marcus)
5. add a way to get the internal object directly by parameter
parsing api (marcus)
6. get rid of *_ex() functons in engine where possible (marcus)
7. provide a a replacement for the GD extension, being maintained
and easy to extend (pierre)
8. "ext/pimpmydate", new date/time features, real OO interface (pierre)
9. throwing exceptions in SoapServer? and catching them with
SoapClient? (korving)
10. a non-bankers-round round() variant (korving)
11. being able to use array() when defining constants (korving)
12. regular expression switch-matching (korving)
13. add SRM (amico)
14. add support for dangling commas
15. soap is a cluster-fuck. fix it and add support for wsse/secext
(george)
16. fix openssl/curl to use stream transports
17. provide a global __call for non existing functions (george)
18. replace flex with re2c (sascha)
19. reimplement ext/zlib based on pecl/http code (mike)
20. MFB add RFC1867 fileupload processing hook (stefan)
21. Replace flex/bison scripts with re2c/lemon ones as soon as re2c
supports states like flex does. This will fix the memleak issues of the
parser, make the lexer&parser threadsafe and reentrant and allows to use
emalloc on temp blocks automatically. (marcus)
regards,
Lukas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php