3v4l.org

run code in 300+ PHP versions simultaneously
<?php class D{ public $flag=True; public function __get($a){ if($this->flag){ echo 'flag'; }else{ echo 'hint'; } } public function __wakeup(){ $this->flag = False; } } class C{ public function __destruct(){ echo $this->c->b; } } @unserialize('O:1:"C":1:{s:1:"c";O:1:"D":0:{};N;}');

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.130.0130.00717.91
8.4.120.0320.00819.19
8.4.110.0290.00818.07
8.4.100.0270.00917.85
8.4.90.0210.00718.74
8.4.80.0230.00518.79
8.4.70.0170.00618.05
8.4.60.0230.00717.89
8.4.50.0270.00617.78
8.4.40.0290.00617.69
8.4.30.0210.00618.16
8.4.20.0180.00718.09
8.4.10.0160.00417.89
8.3.260.0110.00917.01
8.3.250.0180.00617.35
8.3.240.0160.00616.58
8.3.230.0170.00416.80
8.3.220.0180.00417.31
8.3.210.0220.00516.42
8.3.200.0240.00716.54
8.3.190.0230.00716.95
8.3.180.0270.00716.89
8.3.170.0290.00616.51
8.3.160.0150.00916.81
8.3.150.0250.00516.94
8.3.140.0220.00616.64
8.3.130.0160.00716.88
8.3.120.0200.00717.27
8.3.110.0190.00616.53
8.3.100.0210.00816.57
8.3.90.0180.00518.29
8.3.80.0220.00516.88
8.3.70.0180.00616.64
8.3.60.0210.00616.71
8.3.50.0120.00817.14
8.3.40.0180.00617.59
8.3.30.0140.00617.72
8.3.20.0170.00218.59
8.3.10.0180.00519.09
8.3.00.0120.00419.25
8.2.290.0190.00716.78
8.2.280.0190.00617.08
8.2.270.0150.00516.90
8.2.260.0170.00516.49
8.2.250.0170.00517.27
8.2.240.0170.00616.52
8.2.230.0180.00517.07
8.2.220.0200.00418.10
8.2.210.0180.00518.32
8.2.200.0170.00616.59
8.2.190.0170.00616.54
8.2.180.0140.00618.10
8.2.170.0210.00617.89
8.2.160.0190.00618.48
8.2.150.0150.00518.99
8.2.140.0150.00518.73
8.2.130.0120.00718.93
8.2.120.0130.00418.11
8.2.110.0170.00318.06
8.2.100.0160.00417.64
8.2.90.0180.00517.99
8.2.80.0180.00417.94
8.2.70.0180.00417.61
8.2.60.0190.00517.71
8.2.50.0220.00617.91
8.2.40.0180.00517.98
8.2.30.0180.00417.71
8.2.20.0160.00717.98
8.2.10.0170.00517.93
8.2.00.0150.00517.77
8.1.330.0200.00816.17
8.1.320.0220.00515.97
8.1.310.0200.00417.05
8.1.300.0170.00516.73
8.1.290.0180.00618.51
8.1.280.0200.00617.99
8.1.270.0170.00618.36
8.1.260.0170.00418.76
8.1.250.0190.00519.33
8.1.240.0160.00418.21
8.1.230.0160.00417.33
8.1.220.0170.00417.42
8.1.210.0160.00317.58
8.1.200.0170.00317.39
8.1.190.0220.00617.28
8.1.180.0200.00717.40
8.1.170.0200.00617.56
8.1.160.0200.00617.53
8.1.150.0200.00517.58
8.1.140.0180.00717.75
8.1.130.0170.00617.58
8.1.120.0160.00617.42
8.1.110.0170.00417.45
8.1.100.0140.00617.45
8.1.90.0130.00617.41
8.1.80.0150.00617.39
8.1.70.0150.00617.42
8.1.60.0170.00517.51
8.1.50.0130.00717.49
8.1.40.0130.00617.53
8.1.30.0130.00617.57
8.1.20.0150.00417.57
8.1.10.0150.00717.48
8.1.00.0170.00517.33
8.0.300.0260.00617.01
8.0.290.0240.00816.80
8.0.280.0250.00517.03
8.0.270.0230.00716.95
8.0.260.0190.00716.89
8.0.250.0210.00416.93
8.0.240.0180.00316.97
8.0.230.0140.00516.89
8.0.220.0140.00516.80
8.0.210.0160.00716.81
8.0.200.0150.00516.92
8.0.190.0150.00616.87
8.0.180.0160.00616.89
8.0.170.0160.00516.83
8.0.160.0160.00516.85
8.0.150.0140.00716.82
8.0.140.0140.00616.89
8.0.130.0140.00416.62
8.0.120.0150.00516.87
8.0.110.0160.00416.84
8.0.100.0150.00416.87
8.0.90.0130.00516.89
8.0.80.0120.00716.95
8.0.70.0150.00616.95
8.0.60.0140.00616.94
8.0.50.0160.00516.92
8.0.30.0150.00716.96
8.0.20.0160.00517.00
8.0.10.0150.00617.09
8.0.00.0160.00617.13
7.4.330.0190.00516.51
7.4.320.0190.00516.54
7.4.300.0130.00416.46
7.4.290.0130.00616.43
7.4.280.0150.00516.50
7.4.270.0130.00616.45
7.4.260.0120.00516.22
7.4.250.0140.00516.44
7.4.240.0140.00416.46
7.4.230.0120.00416.45
7.4.220.0130.00516.46
7.4.210.0120.00516.45
7.4.200.0130.00516.48
7.4.190.0120.00516.46
7.4.180.0130.00416.50
7.4.160.0130.00516.49
7.4.150.0130.00516.42
7.4.140.0120.00616.44
7.4.130.0130.00516.54
7.4.120.0150.00516.54
7.4.110.0130.00516.44
7.4.100.0140.00516.48
7.4.90.0130.00516.54
7.4.80.0120.00516.55
7.4.70.0130.00616.44
7.4.60.0140.00516.49
7.4.50.0110.00616.37
7.4.40.0130.00516.42
7.4.30.0120.00516.44
7.4.20.0110.00616.43
7.4.10.0110.00716.46
7.4.00.0120.00516.43
7.3.330.0150.00416.39
7.3.320.0140.00516.16
7.3.310.0140.00416.46
7.3.300.0120.00516.39
7.3.290.0130.00516.46
7.3.280.0120.00716.36
7.3.270.0130.00616.34
7.3.260.0140.00616.35
7.3.250.0160.00416.39
7.3.240.0130.00616.33
7.3.230.0150.00416.36
7.3.220.0150.00516.28
7.3.210.0140.00516.29
7.3.200.0130.00516.29
7.3.190.0130.00516.29
7.3.180.0140.00516.30
7.3.170.0120.00616.27
7.3.160.0130.00716.29
7.3.150.0150.00516.28
7.3.140.0130.00616.29
7.3.130.0130.00516.27
7.3.120.0140.00516.29
7.3.110.0130.00516.23
7.3.100.0140.00416.21
7.3.90.0130.00516.52
7.3.80.0120.00716.29
7.3.70.0130.00516.33
7.3.60.0140.00416.42
7.3.50.0130.00616.37
7.3.40.0140.00516.40
7.3.30.0130.00416.38
7.3.20.0150.00617.27
7.3.10.0150.00517.20
7.3.00.0150.00417.25

preferences:
30.56 ms | 403 KiB | 5 Q