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.5.10.0100.00818.39
8.5.00.0110.01119.62
8.4.160.0100.01322.97
8.4.150.0020.00014.05
8.4.140.0120.00917.42
8.4.130.0130.00817.52
8.4.120.0150.00522.63
8.4.110.0090.00922.42
8.4.100.0130.00817.59
8.4.90.0110.00922.50
8.4.80.0060.00319.43
8.4.70.0070.01217.77
8.4.60.0050.00819.06
8.4.50.0090.01017.61
8.4.40.0090.00617.58
8.4.30.0060.00920.30
8.4.20.0070.00319.77
8.4.10.0090.00017.43
8.3.290.0130.00620.76
8.3.280.0150.00518.29
8.3.270.0090.01216.54
8.3.260.0100.00916.55
8.3.250.0110.00818.88
8.3.240.0100.01017.13
8.3.230.0130.00516.66
8.3.220.0110.00817.02
8.3.210.0110.00716.63
8.3.200.0020.00616.74
8.3.190.0130.00617.03
8.3.180.0140.00716.73
8.3.170.0080.00019.14
8.3.160.0060.00318.53
8.3.150.0070.00720.87
8.3.140.0060.00318.87
8.3.130.0060.00318.54
8.3.120.0040.00719.18
8.3.110.0080.00022.58
8.3.100.0080.00020.94
8.3.90.0080.00020.94
8.3.50.0040.00420.94
8.2.300.0080.01217.93
8.2.290.0040.00520.25
8.2.280.0050.00420.34
8.2.270.0140.00416.37
8.2.260.0140.00318.78
8.2.250.0000.00816.59
8.2.240.0050.00517.18
8.2.230.0040.00422.58
8.2.220.0050.00322.58
8.2.210.0030.00622.58
8.1.340.0100.01117.74
8.1.330.0110.00521.87
8.1.320.0060.00316.13
8.1.310.0120.00618.36
8.1.300.0030.00617.90
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:
29.03 ms | 403 KiB | 5 Q