PHP 8.3 Release

watch 56s
views 2

12:46, 28.11.2023

Recently, a new major release of PHP 8.3 took place. The version includes a range of updates and a series of new features. However, this version has also a worse compatibility with previous releases due to new features.

The new features of this new version include:

​

  • Deep cloning of read-only properties.
  • The possibility of using constants with type indication in classes, types, and enumerations.
  • ‘"#[Override]’ attribute support.
  • Processing of negative values as array index has been changed.
  • Creating anonymous classes in read-only mode.
  • getBytesFromString, getFloat, and nextFloat methods added to the Randomizer class.
  • Extracting constants using dynamic class syntax.
  • Generating special exceptions options – DateMalformedIntervalStringException, DateInvalidOperationException, DateRangeError.
  • Improved handling of errors occurring while parsing serialized data in the unserialize() function.
  • Changes to the range() function.
  • Changed behavior of types with static properties.
  • Settings to protect against stack overflow.
  • New POSIX functions posix_sysconf(), posix_pathconf(), posix_fpathconf() and posix_eaccess().
  •  mb_str_pad function.
  • Expanded capabilities of array_sum(), array_product(), posix_getrlimit(), gc_status(), class_alias(), mysqli_poll(), array_pad() and proc_get_status() functions.
  • The possibility to pass negative $widths value to mb_strimwidth() is now obsolete.
Share

Was this article helpful to you?

VPS popular offers

-10%

CPU
CPU
6 Epyc Cores
RAM
RAM
8 GB
Space
Space
100 GB NVMe
Bandwidth
Bandwidth
Unlimited
aiKVM-NVMe 8192 Linux

€ 28.47 /mo

€
/mo

Billed annually

-10%

CPU
CPU
4 Epyc Cores
RAM
RAM
4 GB
Space
Space
50 GB NVMe
Bandwidth
Bandwidth
Unlimited
aiKVM-NVMe 4096 Linux

€ 17.77 /mo

€
/mo

Billed annually

sale

-20%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
300 Gb
KVM-HDD HK 8192 Linux

€ 21.79 /mo

€
/mo

Billed monthly

sale

-20%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
2 TB
wKVM-SSD 2048 Metered Windows

€ 24 /mo

€
/mo

Billed monthly

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
MT5 KVM 8192 Windows

€ 29.99 /mo

€
/mo

Billed annually

sale

-20%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 4096 Linux

€ 15.95 /mo

€
/mo

Billed monthly

-10.8%

CPU
CPU
1 Xeon Core
RAM
RAM
1 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
300 GB
wKVM-SSD 1024 HK Windows

€ 17 /mo

€
/mo

Billed annually

sale

-20%

CPU
CPU
6 Epyc Cores
RAM
RAM
16 GB
Space
Space
150 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 16384 Linux

€ 50.49 /mo

€
/mo

Billed monthly

sale

-20%

CPU
CPU
8 Xeon Cores
RAM
RAM
32 GB
Space
Space
200 GB SSD
Bandwidth
Bandwidth
12 TB
KVM-SSD 32768 Metered Linux

€ 150 /mo

€
/mo

Billed monthly

sale

-20%

CPU
CPU
3 Epyc Cores
RAM
RAM
2 GB
Space
Space
20 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 2048 Linux

€ 8.8 /mo

€
/mo

Billed monthly

Other articles on this topic

cookie

Accept cookies & privacy policy?

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the HostZealot website.