Changes in PHP4.0.1 (3)_PHP Tutorial

WBOY
Release: 2016-07-13 11:00:12
Original
774 people have browsed it

61. Added create_function() for quickly creating functions. (Zeev, Zend Engine)
62. Added array-to-array, object-to-object comparison functions. The "==" symbol provides unordered comparison, and "===" provides ordered comparison. (Zeev, Zend Engine)
63. Allow all functions that receive user-defined function callbacks to accept an array that contains an object and a method name, in place of a function name, e.g. usort($array, array($ obj, "ObjSort"))
63. Allow all functions to support user-defined function callback (don’t know how to translate it) to accept an array including an object and a method name. (Zeev, Zend Engine)
64. The set_error_handler() function is added, allowing users to write their own error handling functions to replace the built-in error handling function. (Zeev, Zend Engine)
65. Rename user_error() to trigger_error(); but user_error() continues to remain valid. (Zeev, Zend Engine)
66. Fixed the global/static declaration to require a semicolon ";" at the end. (Andi, Zend Engine)
67. Cleared PCRE (what is this?) extension. (Andrei)
68. Added a third parameter to the in_array() function. If this parameter is true , in_array() will perform a strict comparison instead of the default comparison method. (Andrei)
69. Added pg_trace() and pg_untrace() functions. (Dominic J. Eidson & Zeev)
70. ignore_user_abort=Off is now the default value. (Thies)
71. Added the function array_merge_recursive() that can recursively merge the same key values. (Andrei)
72. Fixed the problem of OCIParse crashing when parsing illegal SQL statements. (Thies)
73. Fixed the bug that mysql_connect() would ignore the socket parameter when the connection is not permanent. (Zeev)
74. Add the disable_functions option in php.ini so that administrators can disable certain functions that may cause security issues. (Zeev)
75. Fixed the session problem in WIN32. In php.ini, the save_path option now needs to use a semicolon ";" instead of the original ":" to limit the number of directory levels used. (Andi)
76. When the PHP file cannot be found, APACHE will give the "Declined" message. (Rasmus)
77. Fixed the problem of decimal numbers in international environment. Numbers should be in standard US format (why??!!). (Andi, Zend Engine)
78. Added a second parameter to the function preg_quote(). This parameter allows quoting a character that is usually a regular expression delimiter. (Andrei)
79. Uncommitted OCI8 transactions will be canceled before the connection is closed. (Thies)
80, ignore_user_abort() and some related functions can work normally in CGI mode. (Patch by daniel.braun@ercom.fr)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631818.htmlTechArticle61. Added create_function() for quickly creating functions. (Zeev, Zend Engine) 62. Added comparison functions between arrays and arrays, objects and objects. The "==" symbol provides unordered comparison functions...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template