local na rede Internet:PHP: Pré-processador de hiperextocontente
PHP:HypertextPreprocessorvar_paq=window._paq=window._paq||[];/*trackermethodslike"setCustomDimension"shouldbecalPHP: Pré-processador de hiperextoledbefore"trackPeView"*/_paq.push(["setDoNotTrack",true]);_paq.push(["disableCookies"]);_paq.push(['trackPeView']);_paq.push(['enableLinkTracking']);(function(){varu="analytics.php.net/";_paq.push(['setTrackerUrl',u+'matomo.php']);_paq.push(['setSiteId','1']);vard=document,g=d.createElement('script'),s=d.getElementsByTName('script')[0];g.async=true;g.src=u+'matomo.js';s.parentNode.insertBefore(g,s);})();DownloadsDocumentationGetInvolvedHelpSearchdocsGettingStarted Introduction AsimpletutorialLangueReference Basicsyntax Types Variables Constants Expressions Operators ControlStructures Functions ClassesandObjects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes ReferencesExplained PredefinedVariables PredefinedExceptions PredefinedInterfacesandClasses PredefinedAttributes Contextoptionsandparameters SupportedProtocolsandWrappersSecurity Introduction Generalconsiderations InstalledasCGIbinary InstalledasanApachemodule SessionSecurity FilesystemSecurity DatabaseSecurity ErrorReporting UserSubmittedData HidingPHP KeepingCurrentFeatures HTTPauthenticationwithPHP Cookies Sessions Handlingfileuploads Usingremotefiles Connectionhandling PersistentDatabaseConnections Commandlineuse GarbeCollection DTraceDynamicTracingFunctionReference AffectingPHP'sBehiour AudioFormatsManipulation AuthenticationServices CommandLineSpecificExtensions CompressionandArchiveExtensions CryptographyExtensions DatabaseExtensions DateandTimeRelatedExtensions FileSystemRelatedExtensions HumanLangueandCharacterEncodingSupport ImeProcessingandGeneration MailRelatedExtensions MathematicalExtensions Non-TextMIMEOutput ProcessControlExtensions OtherBasicExtensions OtherServices SearchEngineExtensions ServerSpecificExtensions SessionExtensions TextProcessing VariableandTypeRelatedExtensions WebServices WindowsOnlyExtensions XMLManipulation GUIExtensionsKeyboardShortcuts?ThishelpjNextmenuitemkPreviousmenuitemgpPreviousmanpegnNextmanpeGScrolltobottomggScrolltotopghGotohomepegsGotosearch(currentpe)/FocussearchboxApopulargeneral-purposescriptinglanguethatisespeciallysuitedtowebdevelopment.Fast,flexibleandprmatic,PHPpowerseverythingfromyourblogtothemostpopularwebsitesintheworld.What'snewin8.4Download8.4.2·Changelog·Upgrading8.3.15·Changelog·Upgrading8.2.27·Changelog·Upgrading8.1.31·Changelog·Upgrading19Dec2024PHP8.4.2Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.4.2.Thisisabugfixrelease.AllPHP8.4usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.4.2pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.19Dec2024PHP8.3.15Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.3.15.Thisisabugfixrelease.AllPHP8.3usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.3.15pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.19Dec2024PHP8.2.27Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.2.27.Thisisabugfixrelease.AllPHP8.2usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.2.27pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.Pleasenote,thisisthelastbug-fixreleaseforthe8.2.xseries.Securityfixsupportwillcontinueuntil31Dec2026.Formoreinformation,pleasecheckourSupportedVersionspe.21Nov2024PHP8.4.1Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.4.1.ThisreleasemarksthelatestminorreleaseofthePHPlangue.PHP8.4comeswithnumerousimprovementsandnewfeaturessuchas:PropertyHooksAsymmetricPropertyVisibilityLazyObjectsPDOdriver-specificsubclassesBCMathobjecttypeAndmuchmuchmore...ForsourcedownloadsofPHP8.4.1pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.ThemigrationguideisailableinthePHPManual.Pleaseconsultitforthedetailedlistofnewfeaturesandbackwardincompatiblechanges.Kudostoallthecontributorsandsupporters!21Nov2024PHP8.1.31Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.1.31.Thisisasecurityrelease.AllPHP8.1usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.1.31pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.21Nov2024PHP8.3.14Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.3.14.Thisisasecurityrelease.AllPHP8.3usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.3.14pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.21Nov2024PHP8.2.26Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.2.26.Thisisasecurityrelease.AllPHP8.2usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.2.26pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.07Nov2024PHP8.4.0RC4ailablefortestingThePHPteamispleasedtoannouncethereleaseofPHP8.4.0,RC4.Thisisthefourthreleasecandidate,continuingthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0,RC4pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfileortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.Thenextreleasewillbetheproduction-ready,generalailabilityrelease,plannedfor21November2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.24Oct2024PHP8.4.0RC3ailablefortestingThePHPteamispleasedtoannouncethereleaseofPHP8.4.0,RC3.Thisisthethirdreleasecandidate,continuingthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0,RC3pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfileortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeRC4,plannedfor07November2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.24Oct2024PHP8.2.25Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.2.25.Thisisabugfixrelease.AllPHP8.2usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.2.25pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.24Oct2024PHP8.3.13Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.3.13.Thisisabugfixrelease.AllPHP8.3usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.3.13pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.10Oct2024PHP8.4.0RC2ailablefortestingThePHPteamispleasedtoannouncethereleaseofPHP8.4.0,RC2.Thisisthesecondreleasecandidate,continuingthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0,RC2pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfileortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeRC3,plannedfor24October2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.26Sep2024PHP8.1.30Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.1.30.Thisisasecurityrelease.AllPHP8.1usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.1.30pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.26Sep2024PHP8.4.0RC1nowailablefortestingThePHPteamispleasedtoannouncethereleaseofPHP8.4.0,RC1.Thisisthefirstreleasecandidate,continuingthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0,RC1pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfileortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeRC2,plannedfor10October2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.26Sep2024PHP8.2.24Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.2.24.Thisisasecurityrelease.AllPHP8.2usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.2.24pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.26Sep2024PHP8.3.12Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.3.12.Thisisasecurityrelease.AllPHP8.3usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.3.12pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.12Sep2024PHP8.4.0Beta5ailablefortestingThePHPteamispleasedtoannouncethereleaseofPHP8.4.0,Beta5.Thisisthethirdbetarelease,continuingthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0,Beta5pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfileortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeRC1,plannedfor26September2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.29Aug2024PHP8.3.11Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.3.11.Thisisabugfixrelease.AllPHP8.3usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.3.11pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.29Aug2024PHP8.4.0Beta4nowailablefortestingThePHPteamispleasedtoannouncethereleaseofPHP8.4.0,Beta4.Thisisthesecondbetarelease,continuingthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0,Beta4pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfileortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeBeta5,plannedfor12September2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.29Aug2024PHP8.2.23Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.2.23.Thisisabugfixrelease.AllPHP8.2usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.2.23pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.15Aug2024PHP8.4.0Beta3nowailablefortestingThePHPteamispleasedtoannouncethereleaseofPHP8.4.0,Beta3.Thisisthefirstbetarelease,continuingthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0,Beta3pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfileortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeBeta4,plannedfor29August2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.01Aug2024PHP8.4.0Alpha4ailablefortestingThePHPteamispleasedtoannouncethesecondtestingreleaseofPHP8.4.0,Alpha4.ThiscontinuesthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0Alpha4pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfile,ortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeBeta1,plannedfor15Aug2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.01Aug2024PHP8.2.22Released!ThePHPdevelopmentteamannouncestheimmediateailabilityPHP: Pré-processador de hiperextoofPHP8.2.22.Thisisabugfixrelease.AllPHP8.2usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.2.22pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.01Aug2024PHP8.3.10Released!ThePHPdevelopmentteamannouncestheimmediateailabilityofPHP8.3.10.Thisisabugfixrelease.AllPHP8.3usersareencouredtoupgradetothisversion.ForsourcedownloadsofPHP8.3.10pleasevisitourdownloadspe,Windowssourceandbinariescanbefoundonwindows.php.net/download/.ThelistofchangesisrecordedintheChangeLog.18Jul2024PHP8.4.0Alpha2ailablefortestingThePHPteamispleasedtoannouncethesecondtestingreleaseofPHP8.4.0,Alpha2.ThiscontinuesthePHP8.4releasecycle,theroughoutlineofwhichisspecifiedinthePHPWiki.ForsourcedownloadsofPHP8.4.0Alpha2pleasevisitthedownloadpe.Pleasecarefullytestthisversionandreportanyissuesfoundinthebugreportingsystem.PleaseDONOTusethisversioninproduction,itisanearlytestversion.Formoreinformationonthenewfeaturesandotherchanges,youcanreadtheNEWSfile,ortheUPGRADINGfileforacompletelistofupgradingnotes.Thesefilescanalsobefoundinthereleasearchive.ThenextreleasewillbeAlpha3,plannedfor1Aug2024.ThesignaturesforthereleasecanbefoundinthemanifestorontheQAsite.ThankyouforhelpingusmakePHPbetter.OlderNewsEntriesThePHPFoundationThePHPFoundationisacollectiveofpeopleandorganizations,unitedinthemissiontoensurethelong-termprosperityofthePHPlangue.DonateUpcomingconferencesInternationalPHPConferenceBerlin2025ConFoo2025PHPConferenceNoya2025Conferencescallingforpapersphpday2025UserGroupEventsSpecialThanksSocialmedia@official_php@php@fosstodon.org©2001-2024ThePHPGroupMyPHP.netContactOtherPHP.netsitesPrivacypolicyViewSource↑and↓tonigate•EntertoselePHP: Pré-processador de hiperextoct•EsctoclosePressEnterwithoutselectiontosearchusingGoogle