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

-29.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
30 GB SSD
Bandwidth
Bandwidth
2 TB
KVM-SSD 2048 Metered Linux

17 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 8192 Linux

25.25 /mo

/mo

Billed annually

-10%

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 annually

-8.8%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
400 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 16384 Windows

44.35 /mo

/mo

Billed annually

-16.3%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
30 GB SSD
Bandwidth
Bandwidth
40 Mbps
DDoS Protected SSD-KVM 2048 Linux

48 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-KVM-SSD 8192 Linux

115.5 /mo

/mo

Billed annually

-10%

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

20 /mo

/mo

Billed annually

-10%

CPU
CPU
10 Epyc Cores
RAM
RAM
64 GB
Space
Space
400 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 65536 Linux

135.49 /mo

/mo

Billed annually

-15%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
80 Mbps
DDoS Protected SSD-wKVM 8192 Windows

101 /mo

/mo

Billed annually

-4.8%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
40 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 1024 Windows

10.04 /mo

/mo

Billed annually

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.