1<?xml version="1.0" encoding="utf-8"?> 2<entry xmlns="http://www.w3.org/2005/Atom"> 3 <title>PHP 8.1.0 Released!</title> 4 <id>https://www.php.net/archive/2021.php#2021-11-25-1</id> 5 <published>2021-11-25T17:43:08+01:00</published> 6 <updated>2021-11-25T21:02:32+00:00</updated> 7 <link href="https://www.php.net/index.php#id2021-11-25-1" rel="alternate" type="text/html"/> 8 <link href="https://www.php.net/archive/2021.php#2021-11-25-1" rel="via" type="text/html"/> 9 <category term="releases" label="New PHP release"/> 10 <category term="frontpage" label="PHP.net frontpage news"/> 11 <content type="xhtml"> 12 <div xmlns="http://www.w3.org/1999/xhtml"> 13<p>The PHP development team announces the immediate availability of PHP 8.1.0. This release marks the latest minor release of the PHP language.</p> 14 15<p>PHP 8.1 comes with numerous improvements and new features such as:</p> 16 17<ul> 18 <li><a href="https://www.php.net/manual/en/language.enumerations.php">Enumerations</a></li> 19 <li><a href="https://wiki.php.net/rfc/readonly_properties_v2">Readonly properties</a></li> 20 <li><a href="https://wiki.php.net/rfc/fibers">Fibers</a></li> 21 <li><a href="https://wiki.php.net/rfc/pure-intersection-types">Pure Intersection Types</a></li> 22 <li><a href="https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.core.never-type">never</a> return type</li> 23 <li><a href="https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.core.callable-syntax">First-class Callable Syntax</a></li> 24 <li>"final" modifier for class constants</li> 25 <li>New <a href="https://www.php.net/manual/en/function.fsync.php">fsync</a> and <a href="https://www.php.net/manual/en/function.fdatasync.php">fdatasync</a> functions</li> 26 <li>New <a href="https://www.php.net/manual/en/function.array-is-list.php">array_is_list</a> function</li> 27 <li>Explicit <a href="https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.core.octal-literal-prefix">Octal numeral notation</a></li> 28 <li>And much much more...</li> 29</ul> 30<p>Take a look at the <a href="https://www.php.net/releases/8.1/">PHP 8.1 Announcement Addendum</a> for more information.</p> 31 32<p>For source downloads of PHP 8.1.0 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>, 33Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>. 34The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.1.0">ChangeLog</a>. 35</p> 36 37<p>The <a href="http://php.net/manual/en/migration81.php">migration guide</a> is available in the PHP Manual. 38Please consult it for the detailed list of new features and backward incompatible changes.</p> 39 40<p>Many thanks to all the contributors and supporters!</p> 41 </div> 42 </content> 43</entry> 44