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
8 Xeon Cores
RAM
RAM
32 GB
Space
Space
200 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 32768 Linux

69.99 /mo

/mo

Billed annually

-12.8%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
1 TB
wKVM-SSD 1024 Metered Windows

17 /mo

/mo

Billed annually

-10.2%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
100 Mbps
DDoS Protected SSD-KVM 16384 Linux

123 /mo

/mo

Billed semiannually

-18.4%

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 annually

-8.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-wKVM-SSD 2048 Windows

37.4 /mo

/mo

Billed annually

-13.1%

CPU
CPU
2 Xeon Cores
RAM
RAM
512 MB
Space
Space
10 GB SSD
Bandwidth
Bandwidth
300 GB
KVM-SSD 512 HK Linux

7 /mo

/mo

Billed annually

-10%

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

28.44 /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

45.23 /mo

/mo

Billed annually

-10%

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

26.35 /mo

/mo

Billed annually

-10%

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

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