3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Dumb { readonly int $unreliable; function __construct() { unset($this->unreliable); } function __get($key) { return random_int(0, 999); } } $rubbish = new Dumb; var_dump($rubbish->unreliable); var_dump($rubbish->unreliable);

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.4.100.0160.00618.65
8.4.90.0150.00620.64
8.4.80.0180.00517.54
8.4.70.0180.00617.54
8.4.60.0170.00617.49
8.4.50.0190.00617.43
8.4.40.0220.00417.27
8.4.30.0220.00417.34
8.4.20.0190.00617.34
8.4.10.0200.00617.37
8.3.230.0180.00316.33
8.3.220.0190.00416.28
8.3.210.0170.00316.42
8.3.200.0180.00416.32
8.3.190.0180.00516.53
8.3.180.0170.00416.32
8.3.170.0200.00416.47
8.3.160.0200.00416.55
8.3.150.0190.00416.36
8.3.140.0200.00516.56
8.3.130.0170.00616.42
8.3.120.0170.00516.50
8.3.110.0170.00516.42
8.3.100.0180.00516.46
8.3.90.0200.00516.38
8.3.80.0200.00416.34
8.3.70.0180.00416.43
8.3.60.0210.00516.30
8.3.50.0200.00516.47
8.3.40.0280.00617.25
8.3.30.0150.00517.20
8.3.20.0210.00517.20
8.3.10.0260.00617.22
8.3.00.0210.00617.23
8.2.290.0100.00518.38
8.2.280.0170.00416.81
8.2.270.0180.00416.47
8.2.260.0160.00316.59
8.2.250.0150.00416.53
8.2.240.0160.00316.41
8.2.230.0170.00316.46
8.2.220.0170.00416.48
8.2.210.0170.00516.52
8.2.200.0160.00516.46
8.2.190.0160.00316.31
8.2.180.0150.00516.48
8.2.170.0180.00417.66
8.2.160.0170.00417.58
8.2.150.0160.00517.43
8.2.140.0140.00617.36
8.2.130.0160.00517.29
8.2.120.0200.00517.37
8.2.110.0220.00617.27
8.2.100.0200.00417.38
8.2.90.0160.00417.48
8.2.80.0160.00417.34
8.2.70.0170.00417.36
8.2.60.0190.00517.37
8.2.50.0180.00517.39
8.2.40.0180.00417.33
8.2.30.0170.00517.41
8.2.20.0200.00417.40
8.2.10.0190.00617.35
8.2.00.0150.00517.45

preferences:
27.28 ms | 403 KiB | 5 Q