3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __destruct() { } } gc_disable(); $a1 = new A; $a2 = new A; $a1->ref = $a2; $a2->ref = $a1; $a1 = $a2 = NULL; echo 'removed cycles: '.gc_collect_cycles()."\n"; echo 'removed cycles: '.gc_collect_cycles()."\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.3.130.0060.01318.69
8.3.120.0040.00719.18
8.3.110.0040.00420.94
8.3.100.0000.00818.38
8.3.90.0120.00626.77
8.3.80.0060.00319.36
8.3.70.0100.01016.75
8.3.60.0110.01118.39
8.3.50.0070.00923.56
8.3.40.0190.00318.67
8.3.30.0110.00418.89
8.3.20.0000.00820.81
8.3.10.0050.00320.21
8.3.00.0000.00721.87
8.2.250.0090.00916.72
8.2.240.0090.00616.93
8.2.230.0110.00722.58
8.2.220.0030.00624.06
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0080.00816.58
8.2.180.0100.00718.18
8.2.170.0070.00719.13
8.2.160.0070.00722.96
8.2.150.0120.00625.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0100.00720.93
8.2.100.0110.00819.37
8.2.90.0190.00718.63
8.2.80.0160.00618.43
8.2.70.0140.00818.46
8.2.60.0140.00618.49
8.2.50.0220.00718.50
8.2.40.0200.00319.29
8.2.30.0190.00518.39
8.2.20.0110.00918.57
8.2.10.0140.00618.89
8.2.00.0170.00819.13
8.1.300.0190.00018.62
8.1.290.0030.00930.84
8.1.280.0110.00725.92
8.1.270.0040.00422.24
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0170.00318.61
8.1.230.0190.00619.47
8.1.220.0170.00818.28
8.1.210.0120.00619.48
8.1.200.0080.00718.21
8.1.190.0190.00218.18
8.1.180.0110.00618.26
8.1.170.0090.00618.51
8.1.160.0070.00518.69
8.1.150.0080.00320.06
8.1.140.0110.00319.40
8.1.130.0080.00418.20
8.1.120.0060.00518.29
8.1.110.0080.00318.29
8.1.100.0090.00418.28
8.1.90.0090.00418.07
8.1.80.0080.00518.10
8.1.70.0080.00418.21
8.1.60.0070.00718.15
8.1.50.0100.00518.17
8.1.40.0070.00518.26
8.1.30.0100.00218.46
8.1.20.0090.00518.32
8.1.10.0090.00418.28
8.1.00.0090.00218.24
8.0.300.0130.00418.27
8.0.290.0090.00717.48
8.0.280.0110.00317.98
8.0.270.0070.00517.85
8.0.260.0120.00317.48
8.0.250.0140.00617.64
8.0.240.0090.00317.63
8.0.230.0100.00617.90
8.0.220.0120.00417.44
8.0.210.0080.00517.39
8.0.200.0110.00517.47
8.0.190.0090.00417.42
8.0.180.0100.00417.46
8.0.170.0100.00717.46
8.0.160.0090.00417.51
8.0.150.0110.00517.35
8.0.140.0100.00217.41
8.0.130.0110.00316.97
8.0.120.0080.00517.43
8.0.110.0120.00217.47
8.0.100.0110.00317.42
8.0.90.0080.00517.31
8.0.80.0110.00617.08
8.0.70.0110.00317.28
8.0.60.0100.00417.24
8.0.50.0080.00317.20
8.0.30.0090.00417.40
8.0.20.0120.00317.24
8.0.10.0110.00317.39
8.0.00.0060.00818.21
7.4.330.0080.00216.10
7.4.320.0050.00517.10
7.4.300.0060.00417.09
7.4.290.0070.00517.14
7.4.280.0160.00117.05
7.4.270.0060.00417.02
7.4.260.0070.00416.41
7.4.250.0060.00317.08
7.4.240.0050.00516.98
7.4.230.0110.00117.07
7.4.220.0050.00316.91
7.4.210.0080.00416.81
7.4.200.0040.00516.96
7.4.190.0100.00417.09
7.4.180.0070.00517.12
7.4.160.0060.00517.07
7.4.150.0070.00416.94
7.4.140.0070.00416.89
7.4.130.0100.00716.73
7.4.120.0100.00516.71
7.4.110.0110.00716.73
7.4.100.0120.00716.60
7.4.90.0110.00716.64
7.4.80.0100.00816.92
7.4.70.0120.00516.69
7.4.60.0110.00716.62
7.4.50.0110.00616.62
7.4.40.0100.00716.66
7.4.30.0130.00516.67
7.4.20.0100.00816.65
7.4.10.0100.00616.56
7.4.00.0090.00616.47
7.3.330.0110.00516.82
7.3.320.0100.00516.18
7.3.310.0090.00516.84
7.3.300.0080.00616.88
7.3.290.0110.00616.84
7.3.280.0150.00516.78
7.3.270.0110.00816.72
7.3.260.0150.00416.71
7.3.250.0110.00616.49
7.3.240.0110.00516.51
7.3.230.0100.01016.60
7.3.220.0110.00716.55
7.3.210.0120.00616.40
7.3.200.0130.00516.43
7.3.190.0100.00716.61
7.3.180.0110.00516.51
7.3.170.0110.00816.52
7.3.160.0110.00616.53
7.3.150.0140.00716.55
7.3.140.0130.00516.59
7.3.130.0100.00916.28
7.3.120.0120.00616.22
7.3.110.0110.00716.14
7.3.100.0090.00816.20
7.3.90.0090.00816.32
7.3.80.0100.00716.29
7.3.70.0120.00716.27
7.3.60.0130.00616.33
7.3.50.0110.00616.35
7.3.40.0100.00616.33
7.3.30.0090.00616.34
7.3.20.0130.00617.25
7.3.10.0100.00617.26
7.3.00.0080.00717.29
7.2.340.0130.00617.09
7.2.330.0120.00716.66
7.2.320.0150.00616.72
7.2.310.0150.00516.74
7.2.300.0170.00716.71
7.2.290.0150.00716.72
7.2.280.0150.00816.70
7.2.270.0130.00716.76
7.2.260.0110.00816.57
7.2.250.0120.00816.44
7.2.240.0140.00716.47
7.2.230.0130.00916.44
7.2.220.0130.00716.48
7.2.210.0130.00916.40
7.2.200.0150.00816.47
7.2.190.0150.00616.39
7.2.180.0140.00816.54
7.2.170.0160.00616.53
7.2.160.0130.00916.69
7.2.150.0150.00717.64
7.2.140.0140.00717.72
7.2.130.0150.00617.79
7.2.120.0150.00517.73
7.2.110.0180.00717.70
7.2.100.0150.00817.75
7.2.90.0150.00717.64
7.2.80.0140.00717.70
7.2.70.0150.00717.73
7.2.60.0150.00717.67
7.2.50.0150.00817.72
7.2.40.0160.00817.77
7.2.30.0170.00617.78
7.2.20.0170.00717.79
7.2.10.0140.00918.08
7.2.00.0140.00717.81

preferences:
26.75 ms | 403 KiB | 5 Q