PHP 5.4.6 和 5.3.16 发布
PHP 5.4.6和5.3.16发布。2012-08-16 上个版本是2012-07-19的5.4.5/5.3.15修正了多个Bug以及几个安全漏洞。经过1个RC.
完全改进:
Version 5.4.6
16-August-2012
CLI Server
Implemented FR #62700 (have the console output 'Listening on http://localhost:8000').
Core
Fixed bug #62661 (Interactive php-cli crashes if include() is used in auto_prepend_file).
Fixed bug #62653: (unset($array[$float]) causes a crash).
Fixed bug #62565 (Crashes due non-initialized internal properties_table).
Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).
CURL
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false). (r.hampartsumyan@gmail.
DateTime
Fixed bug #62500 (Segfault in DateInterval class when extended).
Fileinfo
Fixed bug #61964 (finfo_open with directory causes invalid free). (reeze.xia@gmail.
Intl
Fixed bug #62564 (Extending MessageFormatter and adding property causes crash).
MySQLnd
Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode).
readline
Fixed bug #62612 (readline extension compilation fails with sapi/cli/cli.h: No such file).
Reflection
Implemented FR #61602 (Allow access to name of constant used as default value)
(reeze.xia@gmail.
SimpleXML
Implemented FR #55218 Get namespaces from current node.
SPL
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).
Fixed bug #61527 (ArrayIterator gives misleading notice on next() when moved to the end). (reeze.xia@gmail.
Streams
Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build).
Zlib
Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression).
Version 5.3.16
16-August-2012
Core
Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).
CURL
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false). (r.hampartsumyan@gmail.
DateTime
Fixed bug #62500 (Segfault in DateInterval class when extended).
Reflection
Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result).
SPL
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).
下载:http://cn.php.net/distributions/php-5.4.6.tar.bz2
http://cn.php.net/distributions/php-5.3.16.tar.bz2
------解决方案--------------------
收到!看一下
------解决方案--------------------
还是楼主细心点。
------解决方案--------------------
没用新版本,正打算用呢,不错
------解决方案--------------------
一直用5.2.17的路过

APHPDependencyInjectionContainerisatoolthatmanagesclassdependencies,enhancingcodemodularity,testability,andmaintainability.Itactsasacentralhubforcreatingandinjectingdependencies,thusreducingtightcouplingandeasingunittesting.

Select DependencyInjection (DI) for large applications, ServiceLocator is suitable for small projects or prototypes. 1) DI improves the testability and modularity of the code through constructor injection. 2) ServiceLocator obtains services through center registration, which is convenient but may lead to an increase in code coupling.

PHPapplicationscanbeoptimizedforspeedandefficiencyby:1)enablingopcacheinphp.ini,2)usingpreparedstatementswithPDOfordatabasequeries,3)replacingloopswitharray_filterandarray_mapfordataprocessing,4)configuringNginxasareverseproxy,5)implementingcachingwi

PHPemailvalidationinvolvesthreesteps:1)Formatvalidationusingregularexpressionstochecktheemailformat;2)DNSvalidationtoensurethedomainhasavalidMXrecord;3)SMTPvalidation,themostthoroughmethod,whichchecksifthemailboxexistsbyconnectingtotheSMTPserver.Impl

TomakePHPapplicationsfaster,followthesesteps:1)UseOpcodeCachinglikeOPcachetostoreprecompiledscriptbytecode.2)MinimizeDatabaseQueriesbyusingquerycachingandefficientindexing.3)LeveragePHP7 Featuresforbettercodeefficiency.4)ImplementCachingStrategiessuc

ToimprovePHPapplicationspeed,followthesesteps:1)EnableopcodecachingwithAPCutoreducescriptexecutiontime.2)ImplementdatabasequerycachingusingPDOtominimizedatabasehits.3)UseHTTP/2tomultiplexrequestsandreduceconnectionoverhead.4)Limitsessionusagebyclosin

Dependency injection (DI) significantly improves the testability of PHP code by explicitly transitive dependencies. 1) DI decoupling classes and specific implementations make testing and maintenance more flexible. 2) Among the three types, the constructor injects explicit expression dependencies to keep the state consistent. 3) Use DI containers to manage complex dependencies to improve code quality and development efficiency.

DatabasequeryoptimizationinPHPinvolvesseveralstrategiestoenhanceperformance.1)Selectonlynecessarycolumnstoreducedatatransfer.2)Useindexingtospeedupdataretrieval.3)Implementquerycachingtostoreresultsoffrequentqueries.4)Utilizepreparedstatementsforeffi


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
