Hi! FYI the report of the undocumented new stuff in 5.4.
-------- Original Message -------- Subject: [PHP-DEV] 5.4 undocumented stuff Date: Sat, 15 Oct 2011 21:15:23 -0500 From: Stas Malyshev <smalys...@sugarcrm.com> To: Hannes Magnusson <hannes.magnus...@gmail.com> CC: intern...@lists.php.net <intern...@lists.php.net> Hi! Following Hanness' mail a week or so ago, I went over NEWS and the wiki and here is the list of undocumented stuff we have now in 5.4. It may be not complete, so if you know of any other undocumented stuff please tell (and submit docs bug). Here it goes, together with persons responsible for them (from NEWS or commits) where possible: CLI webserver - didn't find any mention in the docs XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() - Chergu, Nicolas Gregoire RegexIterator::getRegex - Joshua Thijssen ReflectionExtension::isTemporary & isPersistent, ReflectionClass::isCloneable, class ReflectionZendExtension, - Johannes OpenSSL functions: openssl_csr_get_public_key, openssl_csr_get_subject, openssl_decrypt, openssl_dh_compute_key, openssl_digest, openssl_encrypt - shown in the manual as undocumented, additionally for encrypt and decrypt signatures do not match actual state of affairs in 5.4 - options is long, but bool parameter is listed instead. mysql_list_dbs - not documented as deprecated in 5.4 - Andrey mysqli_result - not documented as implementing Traversable - Andrey, Johannes ldap_control_paged_result, ldap_control_paged_result_response - pajoye, scottmac ldap_parse_reference and ldap_parse_result undocumented too, btw JSON_BIGINT_AS_STRING constant undocumented - Sara JsonSerializable interface - listed in manual as undocumented - Sara Spoofchecker class - constants and methods are not documented - Scott hex2bin - Scott import_request_variables, define_syslog_variables, session_is_registered, session_register, session_unregister - not documented as removed in 5.4 Ini options allow_call_time_pass_reference, define_syslog_variables, highlight.bg - not documented as removed in 5.4 class_uses - Stefan Magic quotes removal in 5.4 not documented - Pierrick, Pierre Short array notation - Pierre windows_show_crt_warnings INI directive - Pierre SORT_NATURAL and SORT_FLAG_CASE options for sort functions - Arpad disable_post_data_processing - Gustavo callable type in function args - Hannes SessionHandler class - Arpad Closure::bind and Closure::bindTo - Gustavo but in fact whole Closure class is badly documented Please chip in and document this stuff - especially if you contributed in, but if you want to just help and document somebody else's contribution - I don't think there would be many complaints either :) I've also put it on the wiki for tracking: https://wiki.php.net/todo/undoc54 -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227