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

-15.5%

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

95 /mo

/mo

Billed annually

-21.5%

CPU
CPU
2 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
300 GB
wKVM-SSD 2048 HK Windows

26 /mo

/mo

Billed annually

-22.2%

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

33 /mo

/mo

Billed annually

-18.6%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
4 TB
wKVM-SSD 4096 Metered Windows

38 /mo

/mo

Billed annually

CPU
CPU
6 Epyc Cores
RAM
RAM
8 GB
Space
Space
100 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 8192
OS
CentOS
Software
Software
Keitaro
/mo

Billed monthly

-21.4%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
500 GB
wKVM-SSD 8192 HK Windows

67 /mo

/mo

Billed annually

-10%

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

25.9 /mo

/mo

Billed annually

CPU
CPU
6 Epyc Cores
RAM
RAM
16 GB
Space
Space
150 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 16384
OS
CentOS
Software
Software
Keitaro
/mo

Billed monthly

-5.6%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
60 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 2048 Windows

13.7 /mo

/mo

Billed annually

-15.6%

CPU
CPU
2 Xeon Cores
RAM
RAM
512 MB
Space
Space
10 GB SSD
Bandwidth
Bandwidth
1 TB
KVM-SSD 512 Metered Linux

5.33 /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.