{"id":385,"date":"2024-02-05T21:07:00","date_gmt":"2024-02-05T19:07:00","guid":{"rendered":"https:\/\/hosting.in.ua\/blog\/?p=385"},"modified":"2025-10-16T12:55:19","modified_gmt":"2025-10-16T09:55:19","slug":"whats-new-in-php-8-3","status":"publish","type":"post","link":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/","title":{"rendered":"What&#8217;s new in PHP 8.3"},"content":{"rendered":" <p class=\"wp-block-paragraph\">In November of last year, PHP 8.3 was released. The new version includes a number of improvements \u2014 enhanced performance, better type compatibility, new features, and fixes for previously identified bugs. Let\u2019s look at the most important changes that improved the quality of this release.<\/p>   <h2 class=\"wp-block-heading\">Type System<\/h2>   <p class=\"wp-block-paragraph\">This area has always been one of PHP\u2019s most sensitive parts, so with each release developers continue to gradually refine the type compatibility space. In this version, class constants can now be typed, and the mechanism for accessing class constants and Enum objects has been improved.<\/p>   <hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>   <h3 class=\"wp-block-heading\">Typed Class Constants<\/h3>   <p class=\"wp-block-paragraph\">In previous PHP versions, both the type and value of a constant declared inside a class could be radically changed in child classes or interfaces, which often led to confusion in the code and could cause serious errors.<br>For example, in older PHP versions:<\/p>   <pre class=\"wp-block-preformatted\">class Testing_oldversion {<br> const string NEW_CONSTANT = 'oldversion';<br>}<br><br>class Testing_oldversion {<br> const string NEW_CONSTANT = [];<br>}<\/pre>   <p class=\"wp-block-paragraph\">Here, the <strong>NEW_CONSTANT<\/strong> not only \u201clost\u201d its original value, but also changed from a string to an array \u2014 and yet, the interpreter continued execution without an error.<\/p>   <p class=\"wp-block-paragraph\">Starting from PHP 8.3, such overrides are no longer possible because class constants are now typed. If you try to change a constant\u2019s type in a subclass or interface, the interpreter will throw a <strong>Fatal error<\/strong> and stop execution. This brings more predictability and consistency to your code \u2014 another step toward a more robust type system in PHP.<\/p>   <p class=\"wp-block-paragraph\">You can now declare a constant\u2019s type directly after the <code>const<\/code> keyword, for example:<\/p>   <pre class=\"wp-block-preformatted\">class Testing_newversion {<br> const string NEW_CONSTANT = 'newversion';<br>}<br><br>class Testing_newversion {<br> const string NEW_CONSTANT = [];<br>}<br><br>\/\/ Fatal error: Cannot use array as value for class constant Testing_newversion::NEW_CONSTANT of type string<\/pre>   <p class=\"wp-block-paragraph\">As you can see, the interpreter throws a fatal error and stops code execution.<\/p>   <hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>   <h3 class=\"wp-block-heading\">Dynamic Access to Class Constants and Enum Objects<\/h3>   <p class=\"wp-block-paragraph\">In earlier PHP versions, it was impossible to dynamically access class constants or Enum objects through a variable \u2014 the syntax <code>ClassName::{$varName}<\/code> wasn\u2019t supported, and attempting to use it would result in a syntax error.<\/p>   <h4 class=\"wp-block-heading\">Old example:<\/h4>   <pre class=\"wp-block-preformatted\">enum OldEnum: int {<br> case OldMember = 30;<br>}<br><br>$enumName1 = 'OldMember';<br>echo OldEnum::{$enumName1}->value;<\/pre>   <p class=\"wp-block-paragraph\">Result:<\/p>   <pre class=\"wp-block-preformatted\">Parse error: syntax error, unexpected token \"->\", expecting \"(\"<\/pre>   <h4 class=\"wp-block-heading\">New example in PHP 8.3:<\/h4>   <pre class=\"wp-block-preformatted\">class NewClass {<br> public const NEW_CONST = 35;<br>}<br><br>$constName1 = 'NEW_CONST';<br>echo NewClass::{$constName1};<\/pre>   <p class=\"wp-block-paragraph\">The <code>ClassName::{$varName}<\/code> syntax is now valid, and the code executes without errors.<\/p>   <h2 class=\"wp-block-heading\">Proper Method Override in Classes or Interfaces<\/h2>   <p class=\"wp-block-paragraph\">Before PHP 8.3, a developer could accidentally reuse a method name that already existed in a parent class or interface, leading to an unintended override.<br>To prevent this, PHP 8.3 introduces the <strong>#[\\Override]<\/strong> attribute, which helps avoid accidental method overrides.<\/p>   <p class=\"wp-block-paragraph\">Now, overriding is only allowed if the attribute is explicitly declared before the method. If the attribute is present but no parent method exists, the interpreter throws a <strong>Fatal error<\/strong>.<\/p>   <h4 class=\"wp-block-heading\">Incorrect example:<\/h4>   <pre class=\"wp-block-preformatted\">class OneTest {<br> #[\\Override]<br> public function newMethod(): void {}<br>}<\/pre>   <p class=\"wp-block-paragraph\">Result:<\/p>   <pre class=\"wp-block-preformatted\">Fatal error: OneTest::newMethod() has #[\\Override] attribute, but no matching parent method exists<\/pre>   <h4 class=\"wp-block-heading\">Correct example:<\/h4>   <pre class=\"wp-block-preformatted\">class MainClass {<br> public function newMethod() {}<br>}<br><br>class ChildrenClass extends MainClass {<br> #[\\Override]<br> public function newMethod() {}<br>}<\/pre>   <p class=\"wp-block-paragraph\">The attribute can also be used for <strong>Enum<\/strong> and <strong>Trait<\/strong> methods:<\/p>   <pre class=\"wp-block-preformatted\">interface MainInterface {<br> public function oneMethod(): void;<br>}<br><br>enum ChildrenEnum implements MainInterface {<br> #[\\Override]<br> public function oneMethod(): void {}<br>}<br><br>trait MainTrait {<br> #[\\Override]<br> public function testMethod() {}<br>}<br><br>class NewClass {<br> use MainTrait;<br><br> public function testMethod(): void {}<br>}<\/pre>   <p class=\"wp-block-paragraph\">In both cases, the use of the attribute is valid and helps avoid common mistakes found in earlier PHP versions.<\/p>   <h2 class=\"wp-block-heading\">JSON Format Validation<\/h2>   <p class=\"wp-block-paragraph\">PHP 8.3 introduces a new <strong>json_validate()<\/strong> function that checks whether a string conforms to JSON syntax.<br>Unlike <code>json_decode()<\/code>, this new function <strong>does not parse<\/strong> the string, so it uses significantly fewer CPU and memory resources.<\/p>   <h4 class=\"wp-block-heading\">Examples:<\/h4>   <pre class=\"wp-block-preformatted\">var_dump(json_validate('{ \"onetesting\": { \"less\": \"moo\" } }')); \/\/ true<br>json_validate(\"\"); \/\/ false<br>json_validate(\"null\"); \/\/ true<\/pre>   <p class=\"wp-block-paragraph\">The function does not return an error code, so you can still use <code>json_last_error()<\/code> and <code>json_last_error_msg()<\/code> for that purpose.<\/p>   <h2 class=\"wp-block-heading\">New Methods in the Randomizer Class<\/h2>   <p class=\"wp-block-paragraph\">The <strong>Randomizer<\/strong> class, introduced in the previous PHP release, now includes new methods for generating random numbers in various formats.<\/p>   <h3 class=\"wp-block-heading\">Floating-Point Number Generation<\/h3>   <p class=\"wp-block-paragraph\">The <code>getFloat()<\/code> and <code>nextFloat()<\/code> methods allow you to generate random floating-point numbers within a defined interval, without bias or rounding issues.<\/p>   <pre class=\"wp-block-preformatted\">$rdm = new \\Random\\Randomizer();<br><br>$allvalue = $rdm->getFloat(<br> -5.2,<br> 30.7,<br> \\Random\\IntervalBoundary::ClosedClosed,<br>);<br><br>$valueTrue = 0.1;<br>$mainBool = $rdm->nextFloat() &lt; $valueTrue;<\/pre>   <h3 class=\"wp-block-heading\">Generating Random Bytes<\/h3>   <p class=\"wp-block-paragraph\">The <code>getBytesFromString()<\/code> method allows you to create strings composed of a specific number of bytes \u2014 useful for generating identifiers or random subdomains.<\/p>   <pre class=\"wp-block-preformatted\">$rdm = new \\Random\\Randomizer();<br><br>$randomMyDomain = sprintf(<br> \"%s.site.ua\",<br> $rdm->getBytesFromString(<br> 'abcdefghijk01234567',<br> 7,<br> ),<br>);<br><br>echo $randomMyDomain;<\/pre>   <p class=\"wp-block-paragraph\">In this example, random subdomain names for <strong>site.ua<\/strong> are generated, consisting of seven random characters from a predefined set.<\/p> ","protected":false},"excerpt":{"rendered":"<p>In November of last year, PHP 8.3 was released. The new version includes a number of improvements.<\/p>\n","protected":false},"author":2,"featured_media":378,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[28],"tags":[],"class_list":["post-385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-configuration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What&#039;s new in PHP 8.3 - \u0411\u043b\u043e\u0433 Hosting in Ukraine<\/title>\n<meta name=\"description\" content=\"The new version of PHP 8.3 features improved performance, enhanced type compatibility, new functions, and bug fixes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What&#039;s new in PHP 8.3 - \u0411\u043b\u043e\u0433 Hosting in Ukraine\" \/>\n<meta property=\"og:description\" content=\"The new version of PHP 8.3 features improved performance, enhanced type compatibility, new functions, and bug fixes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0411\u043b\u043e\u0433 Hosting in Ukraine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hostinginua\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-05T19:07:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-16T09:55:19+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2304\" \/>\n\t<meta property=\"og:image:height\" content=\"1536\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tetiana Volkivska\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@HostingInUA\" \/>\n<meta name=\"twitter:site\" content=\"@HostingInUA\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tetiana Volkivska\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u0445\u0432\u0438\u043b\u0438\u043d\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/\"},\"author\":{\"name\":\"Tetiana Volkivska\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/person\\\/7c7764e13cddfc79e79adefcf854a9d2\"},\"headline\":\"What&#8217;s new in PHP 8.3\",\"datePublished\":\"2024-02-05T19:07:00+00:00\",\"dateModified\":\"2025-10-16T09:55:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/\"},\"wordCount\":577,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg\",\"articleSection\":[\"Software configuration\"],\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/\",\"name\":\"What's new in PHP 8.3 - \u0411\u043b\u043e\u0433 Hosting in Ukraine\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg\",\"datePublished\":\"2024-02-05T19:07:00+00:00\",\"dateModified\":\"2025-10-16T09:55:19+00:00\",\"description\":\"The new version of PHP 8.3 features improved performance, enhanced type compatibility, new functions, and bug fixes.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg\",\"contentUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg\",\"width\":2304,\"height\":1536},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/software-configuration\\\/whats-new-in-php-8-3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0411\u043b\u043e\u0433\",\"item\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Software configuration\",\"item\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/en\\\/category\\\/software-configuration\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What&#8217;s new in PHP 8.3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/\",\"name\":\"Blog Hosting in Ukraine\",\"description\":\"\u0411\u043b\u043e\u0433 \u043f\u0440\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433, \u0434\u043e\u043c\u0435\u043d\u0438 \u0442\u0430 \u0441\u0430\u0439\u0442\u0438\",\"publisher\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#organization\",\"name\":\"Blog Hosting in Ukraine\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/black_logo.png\",\"contentUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/black_logo.png\",\"width\":136,\"height\":30,\"caption\":\"Blog Hosting in Ukraine\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hostinginua\",\"https:\\\/\\\/x.com\\\/HostingInUA\",\"https:\\\/\\\/www.instagram.com\\\/hosting.in.ua\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/hostinginukraine\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/#\\\/schema\\\/person\\\/7c7764e13cddfc79e79adefcf854a9d2\",\"name\":\"Tetiana Volkivska\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/ed62fb20806785c1f4f6c2d01a8b9ab4.jpg?ver=1792756621\",\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/ed62fb20806785c1f4f6c2d01a8b9ab4.jpg?ver=1792756621\",\"contentUrl\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/ed62fb20806785c1f4f6c2d01a8b9ab4.jpg?ver=1792756621\",\"caption\":\"Tetiana Volkivska\"},\"sameAs\":[\"http:\\\/\\\/hosting.in.ua\"],\"url\":\"https:\\\/\\\/hosting.in.ua\\\/blog\\\/author\\\/tasha\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What's new in PHP 8.3 - \u0411\u043b\u043e\u0433 Hosting in Ukraine","description":"The new version of PHP 8.3 features improved performance, enhanced type compatibility, new functions, and bug fixes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/","og_locale":"uk_UA","og_type":"article","og_title":"What's new in PHP 8.3 - \u0411\u043b\u043e\u0433 Hosting in Ukraine","og_description":"The new version of PHP 8.3 features improved performance, enhanced type compatibility, new functions, and bug fixes.","og_url":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/","og_site_name":"\u0411\u043b\u043e\u0433 Hosting in Ukraine","article_publisher":"https:\/\/www.facebook.com\/hostinginua","article_published_time":"2024-02-05T19:07:00+00:00","article_modified_time":"2025-10-16T09:55:19+00:00","og_image":[{"width":2304,"height":1536,"url":"http:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg","type":"image\/jpeg"}],"author":"Tetiana Volkivska","twitter_card":"summary_large_image","twitter_creator":"@HostingInUA","twitter_site":"@HostingInUA","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"Tetiana Volkivska","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"4 \u0445\u0432\u0438\u043b\u0438\u043d\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#article","isPartOf":{"@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/"},"author":{"name":"Tetiana Volkivska","@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/person\/7c7764e13cddfc79e79adefcf854a9d2"},"headline":"What&#8217;s new in PHP 8.3","datePublished":"2024-02-05T19:07:00+00:00","dateModified":"2025-10-16T09:55:19+00:00","mainEntityOfPage":{"@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/"},"wordCount":577,"commentCount":0,"publisher":{"@id":"https:\/\/hosting.in.ua\/blog\/#organization"},"image":{"@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#primaryimage"},"thumbnailUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg","articleSection":["Software configuration"],"inLanguage":"uk","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/","url":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/","name":"What's new in PHP 8.3 - \u0411\u043b\u043e\u0433 Hosting in Ukraine","isPartOf":{"@id":"https:\/\/hosting.in.ua\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#primaryimage"},"image":{"@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#primaryimage"},"thumbnailUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg","datePublished":"2024-02-05T19:07:00+00:00","dateModified":"2025-10-16T09:55:19+00:00","description":"The new version of PHP 8.3 features improved performance, enhanced type compatibility, new functions, and bug fixes.","breadcrumb":{"@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/"]}]},{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#primaryimage","url":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg","contentUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/firefly_abstract-3d-concept-of-php-upgrade-\u2014-glowing-php-logo-surrounded-by-digital-data-stre-7572972-1.jpg","width":2304,"height":1536},{"@type":"BreadcrumbList","@id":"https:\/\/hosting.in.ua\/blog\/en\/software-configuration\/whats-new-in-php-8-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0411\u043b\u043e\u0433","item":"https:\/\/hosting.in.ua\/blog\/"},{"@type":"ListItem","position":2,"name":"Software configuration","item":"https:\/\/hosting.in.ua\/blog\/en\/category\/software-configuration\/"},{"@type":"ListItem","position":3,"name":"What&#8217;s new in PHP 8.3"}]},{"@type":"WebSite","@id":"https:\/\/hosting.in.ua\/blog\/#website","url":"https:\/\/hosting.in.ua\/blog\/","name":"Blog Hosting in Ukraine","description":"\u0411\u043b\u043e\u0433 \u043f\u0440\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433, \u0434\u043e\u043c\u0435\u043d\u0438 \u0442\u0430 \u0441\u0430\u0439\u0442\u0438","publisher":{"@id":"https:\/\/hosting.in.ua\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hosting.in.ua\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/hosting.in.ua\/blog\/#organization","name":"Blog Hosting in Ukraine","url":"https:\/\/hosting.in.ua\/blog\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/black_logo.png","contentUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/uploads\/2025\/10\/black_logo.png","width":136,"height":30,"caption":"Blog Hosting in Ukraine"},"image":{"@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hostinginua","https:\/\/x.com\/HostingInUA","https:\/\/www.instagram.com\/hosting.in.ua\/","https:\/\/www.linkedin.com\/company\/hostinginukraine\/"]},{"@type":"Person","@id":"https:\/\/hosting.in.ua\/blog\/#\/schema\/person\/7c7764e13cddfc79e79adefcf854a9d2","name":"Tetiana Volkivska","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/hosting.in.ua\/blog\/wp-content\/litespeed\/avatar\/ed62fb20806785c1f4f6c2d01a8b9ab4.jpg?ver=1792756621","url":"https:\/\/hosting.in.ua\/blog\/wp-content\/litespeed\/avatar\/ed62fb20806785c1f4f6c2d01a8b9ab4.jpg?ver=1792756621","contentUrl":"https:\/\/hosting.in.ua\/blog\/wp-content\/litespeed\/avatar\/ed62fb20806785c1f4f6c2d01a8b9ab4.jpg?ver=1792756621","caption":"Tetiana Volkivska"},"sameAs":["http:\/\/hosting.in.ua"],"url":"https:\/\/hosting.in.ua\/blog\/author\/tasha\/"}]}},"_links":{"self":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/comments?post=385"}],"version-history":[{"count":2,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/posts\/385\/revisions\/445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/media\/378"}],"wp:attachment":[{"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/media?parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/categories?post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.in.ua\/blog\/wp-json\/wp\/v2\/tags?post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}