3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BlogData { public function __construct( public readonly string $title = 'Readonly-свойства', ) {} } $a = new BlogData(); $b = clone $a; var_dump($b);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.1.20.0120.00417.55
8.0.100.0040.00416.67
8.0.90.0020.00516.90
8.0.80.0060.00316.81
8.0.70.0040.00416.88
8.0.60.0000.00816.72
8.0.50.0040.00416.89
8.0.30.0050.00316.86
8.0.20.0070.00016.78
8.0.10.0030.00516.84
8.0.00.0040.00416.90
7.4.230.0040.00416.41
7.4.220.0040.00416.46
7.4.210.0050.00316.55
7.4.200.0000.00716.23
7.4.190.0030.00516.36
7.4.180.0040.00416.57
7.4.160.0000.00716.52
7.4.150.0030.00616.20
7.4.140.0040.00416.36
7.4.130.0040.00416.23
7.4.120.0000.00916.33
7.4.110.0000.00816.09
7.4.100.0030.00516.18
7.4.90.0030.00616.23
7.4.80.0090.00016.33
7.4.70.0070.00216.28
7.4.60.0040.00616.27
7.4.50.0040.00415.96
7.4.40.0030.00716.06
7.4.30.0050.00516.09
7.4.20.0000.00916.35
7.4.10.0040.00716.32
7.4.00.0060.00316.36
7.3.300.0090.00016.05
7.3.290.0030.00516.06
7.3.280.0050.00516.28
7.3.270.0050.00516.07
7.3.260.0090.00016.05
7.3.250.0060.00316.16
7.3.240.0070.00216.16
7.3.230.0040.00416.06
7.3.220.0060.00316.10
7.3.210.0030.00616.15
7.3.200.0030.00616.13
7.3.190.0030.00616.21
7.3.180.0050.00515.95
7.3.170.0000.00916.01
7.3.160.0070.00316.02
7.3.150.0060.00316.09
7.3.140.0020.00616.11
7.3.130.0060.00316.15
7.3.120.0050.00316.13
7.3.110.0050.00416.09
7.3.100.0060.00315.89
7.3.90.0030.00616.32
7.3.80.0090.00016.14
7.3.70.0040.00416.09
7.3.60.0060.00316.18
7.3.50.0060.00316.13
7.3.40.0040.00416.21
7.3.30.0090.00016.17
7.3.20.0100.00316.09
7.3.10.0050.00516.00
7.3.00.0040.00416.25

preferences:
132.83 ms | 1398 KiB | 7 Q