3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr_pie = [ 'test', 'another', 'thing', ]; foreach(array_get_keys($arr_pie) AS $int_snuggle_bunny){ $obj_fuckwit = $arr_pie[pow($int_snuggle_bunny * $int_snuggle_bunny, .5)]; var_dump($obj_fuckwit); }

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.60.0190.00316.50
8.3.50.0050.00818.25
8.3.40.0110.01118.86
8.3.30.0150.00018.67
8.3.20.0080.00019.19
8.3.10.0040.00423.56
8.3.00.0040.00420.94
8.2.180.0110.00718.24
8.2.170.0090.00622.96
8.2.160.0100.00620.53
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0050.00320.99
8.2.120.0080.00026.35
8.2.110.0030.00622.09
8.2.100.0030.00917.78
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0040.00417.78
8.2.60.0040.00418.09
8.2.50.0040.00418.10
8.2.40.0040.00420.35
8.2.30.0070.00019.24
8.2.20.0000.00717.93
8.2.10.0000.00718.02
8.2.00.0000.00717.65
8.1.280.0070.00725.92
8.1.270.0040.00422.09
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0040.00422.41
8.1.230.0110.00017.77
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.49
8.1.160.0000.00718.82
8.1.150.0000.00720.28
8.1.140.0000.00719.64
8.1.130.0020.00517.64
8.1.120.0000.00717.43
8.1.110.0050.00317.31
8.1.100.0040.00417.37
8.1.90.0000.01017.32
8.1.80.0000.00817.37
8.1.70.0000.00717.40
8.1.60.0030.00517.53
8.1.50.0000.00817.56
8.1.40.0020.00517.42
8.1.30.0000.00917.52
8.1.20.0050.00317.50
8.1.10.0040.00417.46
8.1.00.0040.00417.53
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.34
8.0.270.0000.00717.20
8.0.260.0060.00017.11
8.0.250.0030.00316.95
8.0.240.0070.00017.00
8.0.230.0000.00616.98
8.0.220.0050.00316.92
8.0.210.0000.00716.88
8.0.200.0030.00316.85
8.0.190.0040.00716.93
8.0.180.0050.00216.96
8.0.170.0070.00016.95
8.0.160.0070.00016.86
8.0.150.0000.00716.73
8.0.140.0030.00316.73
8.0.130.0000.00513.30
8.0.120.0040.00416.80
8.0.110.0000.00716.69
8.0.100.0040.00416.90
8.0.90.0070.00016.79
8.0.80.0070.01316.78
8.0.70.0060.00316.94
8.0.60.0000.00716.91
8.0.50.0040.00416.85
8.0.30.0130.00817.17
8.0.20.0130.00817.40
8.0.10.0030.00516.90
8.0.00.0110.00716.69
7.4.330.0050.00015.55
7.4.320.0000.00616.60
7.4.300.0030.00316.55
7.4.290.0040.00416.50
7.4.280.0030.00616.63
7.4.270.0070.00016.51
7.4.260.0030.00316.58
7.4.250.0030.00316.39
7.4.240.0070.00016.61
7.4.230.0040.00416.49
7.4.220.0070.01016.53
7.4.210.0110.00816.69
7.4.200.0000.00716.31
7.4.160.0120.00816.58
7.4.150.0060.01717.40
7.4.140.0120.00517.86
7.4.130.0080.01016.45
7.4.120.0110.00616.55
7.4.110.0150.00616.54
7.4.100.0040.01316.62
7.4.90.0090.00916.66
7.4.80.0080.00819.39
7.4.70.0090.00616.67
7.4.60.0030.01316.46
7.4.50.0070.01016.50
7.4.40.0120.00316.39
7.4.30.0030.01316.51
7.4.00.0120.00415.09
7.3.330.0050.00013.11
7.3.320.0000.00513.20
7.3.310.0030.00316.26
7.3.300.0030.00316.31
7.3.290.0110.00316.31
7.3.280.0060.01016.25
7.3.270.0090.01017.40
7.3.260.0080.00816.34
7.3.250.0090.01116.39
7.3.240.0090.01216.52
7.3.230.0040.01616.39
7.3.210.0150.00316.42
7.3.200.0070.01516.30
7.3.190.0060.00916.29
7.3.180.0040.01516.53
7.3.170.0060.00916.32
7.3.160.0130.00316.41
7.3.10.0040.01216.51
7.3.00.0000.00916.58
7.2.330.0030.01516.41
7.2.320.0140.00316.38
7.2.310.0060.00916.21
7.2.300.0080.01316.50
7.2.290.0110.00716.32
7.2.130.0060.00316.68
7.2.120.0030.00916.68
7.2.110.0030.01116.51
7.2.100.0040.01116.71
7.2.90.0090.00616.69
7.2.80.0080.00016.68
7.2.70.0030.01316.44
7.2.60.0030.01016.72
7.2.50.0130.00316.81
7.2.40.0000.01416.91
7.2.30.0000.01516.55
7.2.20.0000.00816.85
7.2.10.0030.01016.72
7.2.00.0090.00717.93
7.1.250.0040.00715.53
7.1.200.0040.00715.66
7.1.100.0130.01016.16
7.1.70.0060.00317.03
7.1.60.0060.00617.13
7.1.50.0030.00916.87
7.1.00.0030.07722.51
7.0.200.0020.00516.74
7.0.130.0100.05322.05
7.0.120.0030.06722.09
7.0.110.0130.05721.99
7.0.100.0070.05322.03
7.0.90.0030.06722.03
7.0.80.0070.05722.04
7.0.70.0170.04322.14
7.0.60.0000.06322.11
7.0.50.0100.05322.09
7.0.40.0030.05722.15
7.0.30.0130.07022.11
7.0.20.0300.05722.05
7.0.10.0170.05022.11
7.0.00.0170.05722.11
5.6.280.0170.05020.97
5.6.270.0130.07720.87
5.6.260.0170.05021.03
5.6.250.0130.05320.83
5.6.240.0170.06020.84
5.6.230.0070.06321.05
5.6.220.0070.05320.85
5.6.210.0100.05320.97
5.6.200.0030.06020.88
5.6.190.0130.05321.00
5.6.180.0130.06020.83
5.6.170.0100.06320.84
5.6.160.0030.06020.96
5.6.150.0100.06720.99
5.6.140.0100.05320.86
5.6.130.0130.05020.75
5.6.120.0130.05320.93
5.6.110.0100.05720.81
5.6.100.0130.06020.82
5.6.90.0100.07320.84
5.6.80.0100.05320.30
5.6.70.0100.05320.16
5.6.60.0130.05020.20
5.6.50.0130.05720.21
5.6.40.0100.05020.42
5.6.30.0130.05320.35
5.6.20.0030.05720.36
5.6.10.0030.05320.43
5.6.00.0100.05720.08

preferences:
57.47 ms | 401 KiB | 5 Q