Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55813 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21524 invoked from network); 16 Oct 2011 02:15:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Oct 2011 02:15:29 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 207.97.245.203 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 207.97.245.203 smtp203.iad.emailsrvr.com Linux 2.6 Received: from [207.97.245.203] ([207.97.245.203:40398] helo=smtp203.iad.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/A1-09704-F3E3A9E4 for ; Sat, 15 Oct 2011 22:15:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp30.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 0D635206AB; Sat, 15 Oct 2011 22:15:25 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp30.relay.iad1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 6844220496; Sat, 15 Oct 2011 22:15:24 -0400 (EDT) Message-ID: <4E9A3E3B.1080101@sugarcrm.com> Date: Sat, 15 Oct 2011 19:15:23 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Hannes Magnusson CC: "internals@lists.php.net" References: <4E5B24DD.10903@sugarcrm.com> <4E671355.5060908@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [PHP-DEV] 5.4 undocumented stuff From: smalyshev@sugarcrm.com (Stas Malyshev) 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