3v4l.org

run code in 500+ PHP versions simultaneously
<?php $students = [ [ "country" => "japan", "school" => "kyoto university", "name" => "Naruto Uzumaki" ], [ "country" => "usa", "school" => "harvard university", "name" => "Naruto Uzumaki" ], [ "country" => "japan", "school" => "tokyo university", "name" => "sasuke Uchiha" ], [ "country" => "japan", "school" => "tokyo university", "name" => "kakashi hatake" ], ]; $result = []; foreach ($students as $student) { extract($student); $result[$country][$school] = $student; } var_export($result);

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.60.0050.00316.74
8.5.50.0100.00816.67
8.5.30.0090.00919.40
8.5.20.0110.00919.49
8.5.10.0100.00622.08
8.5.00.0120.01119.96
8.4.210.0120.00921.38
8.4.180.0120.01021.68
8.4.170.0150.00623.80
8.4.160.0140.00923.82
8.4.150.0070.00616.72
8.4.140.0120.01117.39
8.4.130.0090.00817.73
8.4.120.0100.01120.70
8.4.110.0110.00919.00
8.4.100.0120.00917.63
8.4.90.0110.00917.57
8.4.80.0120.00717.59
8.4.70.0150.00517.64
8.4.60.0130.00618.74
8.4.50.0040.00517.71
8.4.40.0000.01419.55
8.4.30.0060.01018.80
8.4.20.0160.00319.59
8.4.10.0090.00023.85
8.3.300.0130.00820.79
8.3.290.0100.01220.82
8.3.280.0090.00316.25
8.3.270.0090.01016.52
8.3.260.0110.00816.43
8.3.250.0060.00419.11
8.3.240.0070.00716.60
8.3.230.0130.00616.56
8.3.220.0050.00316.86
8.3.210.0100.00616.77
8.3.200.0030.00516.67
8.3.190.0090.00317.07
8.3.180.0090.01016.80
8.3.170.0000.01817.00
8.3.160.0090.00916.76
8.3.150.0110.00817.04
8.3.140.0120.00316.67
8.3.130.0030.00616.86
8.3.120.0040.00418.77
8.3.110.0030.00620.94
8.3.100.0100.00624.06
8.3.90.0050.00326.77
8.3.80.0090.00016.75
8.3.70.0170.00316.58
8.3.60.0090.00616.75
8.3.50.0100.00718.44
8.3.40.0150.00019.92
8.3.30.0030.01018.50
8.3.20.0050.00224.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.300.0120.00822.18
8.2.290.0100.00820.48
8.2.280.0070.01122.60
8.2.270.0090.00918.47
8.2.260.0040.01118.65
8.2.250.0030.00916.53
8.2.240.0030.00618.90
8.2.230.0000.00822.58
8.2.220.0060.00337.54
8.2.210.0120.00326.77
8.2.200.0030.00616.63
8.2.190.0090.00616.58
8.2.180.0070.01025.92
8.2.170.0110.00718.97
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0040.00426.16
8.2.110.0030.00722.30
8.2.100.0060.00617.73
8.2.90.0080.00017.84
8.2.80.0000.00817.97
8.2.70.0030.00517.48
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0040.00418.16
8.2.30.0040.00418.15
8.2.20.0000.00819.18
8.2.10.0040.00418.11
8.2.00.0080.00019.35
8.1.340.0100.00917.60
8.1.330.0120.00816.91
8.1.320.0110.00516.34
8.1.310.0060.00316.71
8.1.300.0050.00515.94
8.1.290.0060.00318.88
8.1.280.0110.00325.92
8.1.270.0050.00324.66
8.1.260.0040.00426.35
8.1.250.0040.00828.09
8.1.240.0030.00622.23
8.1.230.0040.00720.84
8.1.220.0050.00317.77
8.1.210.0040.00418.79
8.1.200.0090.00017.48
8.1.190.0030.00517.36
8.1.180.0000.00819.05
8.1.170.0050.00318.55
8.1.160.0000.00719.01
8.1.150.0030.00618.62
8.1.140.0000.00817.36
8.1.130.0050.00217.49
8.1.120.0040.00718.72
8.1.110.0130.00318.67
8.1.100.0100.00718.54
8.1.90.0090.00918.65
8.1.80.0060.01018.68
8.1.70.0100.00518.61
8.1.60.0180.00018.83
8.1.50.0190.00018.66
8.1.40.0150.00218.75
8.1.30.0140.00518.82
8.1.20.0090.00918.70
8.1.10.0130.00518.80
8.1.00.0110.01118.70
8.0.300.0040.00419.89
8.0.290.0000.00716.63
8.0.280.0030.00518.49
8.0.270.0070.00016.82
8.0.260.0040.00416.89
8.0.250.0100.00518.16
8.0.240.0100.00717.98
8.0.230.0130.00418.13
8.0.220.0120.00317.97
8.0.210.0150.00017.98
8.0.200.0090.00517.97
8.0.190.0140.00017.95
8.0.180.0140.00317.96
8.0.170.0170.00018.07
8.0.160.0130.00218.05
8.0.150.0130.00318.03
8.0.140.0130.00617.98
8.0.130.0120.00418.04
8.0.120.0130.00318.00
8.0.110.0080.00817.98
8.0.100.0130.00317.91
8.0.90.0090.00517.90
8.0.80.0120.00517.98
8.0.70.0090.00518.00
8.0.60.0150.00018.01
8.0.50.0070.00818.05
8.0.30.0130.00318.04
8.0.20.0120.00318.06
8.0.10.0050.01018.00
7.4.330.0100.00215.55
7.4.320.0130.00317.71
7.4.300.0140.00017.70
7.4.290.0110.00417.65
7.4.280.0120.00417.52
7.4.270.0130.00317.65
7.4.260.0160.00217.63
7.4.250.0120.00817.65
7.4.240.0090.00717.60
7.4.230.0090.00317.73
7.4.220.0000.00717.75
7.4.210.0030.00917.61
7.4.200.0150.00017.71
7.4.190.0180.00017.62
7.4.180.0120.00217.68
7.4.160.0150.00017.58
7.4.150.0110.00417.57
7.4.140.0080.00817.46
7.4.130.0070.00717.64
7.4.120.0110.00417.49
7.4.110.0150.00017.46
7.4.100.0110.00417.70
7.4.90.0070.00717.49
7.4.80.0150.00017.46
7.4.70.0120.00317.64
7.4.60.0120.00217.46
7.4.50.0130.00317.53
7.4.40.0080.00817.43
7.4.30.0150.00017.49
7.4.20.0050.01017.52
7.4.10.0080.00517.49
7.4.00.0040.01017.46

preferences:
90.94 ms | 1354 KiB | 5 Q