3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ "pentrose_50_rafhan_c_kgs" => 100, "pentrose_50_rafhan_c_issued_kgs" => 300, "pentrose_50_rafhan_c_rskg" => 99.1, "pentrose_50_rafhan_c_amount" => 29730, ]; $newArray[explode('_c_', current(($keys = array_keys($array))))[0]] = array_map(fn($key) => [explode('_c_', $key)[1] => $array[$key]], $keys); var_dump($newArray);

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.140.0110.01317.55
8.4.130.0040.00518.60
8.4.120.0090.00923.86
8.4.110.0030.00622.27
8.4.100.0100.01118.92
8.4.90.0030.00520.65
8.4.80.0080.00618.68
8.4.70.0130.00819.12
8.4.60.0130.00818.83
8.4.50.0110.00920.33
8.4.40.0130.00717.87
8.4.30.0100.01018.88
8.4.20.0050.00517.77
8.4.10.0030.00622.32
8.3.270.0100.01016.43
8.3.260.0090.00916.54
8.3.250.0120.00719.05
8.3.240.0110.01017.27
8.3.230.0150.00416.77
8.3.220.0130.00618.86
8.3.210.0070.00618.35
8.3.200.0050.00416.70
8.3.190.0130.00518.87
8.3.180.0130.00618.78
8.3.170.0090.00916.64
8.3.160.0040.01417.39
8.3.150.0170.00316.66
8.3.140.0090.00619.02
8.3.130.0000.00818.37
8.3.120.0060.00320.68
8.3.110.0060.00320.94
8.3.100.0120.00424.06
8.3.90.0090.00026.77
8.3.80.0060.00318.31
8.3.70.0090.00616.63
8.3.60.0120.00318.56
8.3.50.0150.00420.32
8.3.40.0100.01020.06
8.3.30.0070.00718.52
8.3.20.0040.00424.18
8.3.10.0000.00924.66
8.3.00.0040.00426.16
8.2.290.0090.00820.29
8.2.280.0050.00318.63
8.2.270.0090.00018.52
8.2.260.0030.00616.96
8.2.250.0110.00717.27
8.2.240.0040.00417.30
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0030.00526.77
8.2.200.0060.00316.75
8.2.190.0150.00316.63
8.2.180.0120.00325.92
8.2.170.0110.00718.95
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.78
8.2.110.0070.00322.04
8.2.100.0110.00017.84
8.2.90.0030.00617.75
8.2.80.0030.00617.97
8.2.70.0050.00317.62
8.2.60.0040.00417.63
8.2.50.0040.00417.98
8.2.40.0040.00417.94
8.2.30.0000.00918.11
8.2.20.0040.00419.30
8.2.10.0000.00818.05
8.2.00.0050.00319.19
8.1.330.0090.00921.95
8.1.320.0080.01116.27
8.1.310.0050.00316.31
8.1.300.0100.00718.56
8.1.290.0040.00430.84
8.1.280.0040.01125.92
8.1.270.0090.00024.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.96
8.1.230.0090.00317.83
8.1.220.0030.00617.76
8.1.210.0030.00618.77
8.1.200.0000.00917.35
8.1.190.0030.00617.09
8.1.180.0000.00818.10
8.1.170.0060.00317.62
8.1.160.0040.00418.81
8.1.150.0000.00818.61
8.1.140.0040.00417.36
8.1.130.0070.00019.06
8.1.120.0040.00417.48
8.1.110.0080.00017.43
8.1.100.0000.01017.46
8.1.90.0140.00217.39
8.1.80.0150.00017.23
8.1.70.0070.00717.41
8.1.60.0150.00217.50
8.1.50.0090.00917.41
8.1.40.0080.01017.39
8.1.30.0140.00517.58
8.1.20.0170.00017.63
8.1.10.0130.00417.49
8.1.00.0150.00317.31
8.0.300.0050.00221.51
8.0.290.0040.00416.75
8.0.280.0000.00718.48
8.0.270.0040.00417.91
8.0.260.0040.00418.50
8.0.250.0070.00016.84
8.0.240.0030.00316.89
8.0.230.0100.00016.81
8.0.220.0120.00216.70
8.0.210.0130.00216.79
8.0.200.0080.00816.84
8.0.190.0100.00616.82
8.0.180.0090.00616.86
8.0.170.0140.00016.84
8.0.160.0070.00716.74
8.0.150.0040.01116.66
8.0.140.0100.00316.73
8.0.130.0000.01516.72
8.0.120.0000.01516.78
8.0.110.0070.00716.88
8.0.100.0120.00216.71
8.0.90.0130.00316.70
8.0.80.0100.00516.77
8.0.70.0070.00716.59
8.0.60.0110.00416.63
8.0.50.0110.00416.59
8.0.30.0070.00716.75
8.0.20.0120.00216.80
8.0.10.0110.00416.99
7.4.330.0030.00315.55
7.4.320.0030.00316.41
7.4.300.0030.00316.51
7.4.290.0090.00616.51
7.4.280.0170.00016.35
7.4.270.0130.00316.42
7.4.260.0170.00016.44
7.4.250.0000.01616.37
7.4.240.0130.00316.56
7.4.230.0120.00616.45
7.4.220.0070.00716.55
7.4.210.0080.00616.63
7.4.200.0090.00516.57
7.4.190.0110.00416.58
7.4.180.0140.00016.39
7.4.160.0110.00416.50
7.4.150.0050.00916.38
7.4.140.0140.00016.50
7.4.130.0110.00416.41
7.4.120.0110.00416.40
7.4.110.0050.00916.41
7.4.100.0100.00316.43
7.4.90.0090.00316.36
7.4.80.0090.00416.38
7.4.70.0070.00816.24
7.4.60.0130.00016.48
7.4.50.0000.01316.18
7.4.40.0100.00316.29
7.4.30.0080.00616.47
7.4.20.0120.00016.27
7.4.10.0100.00316.29
7.4.00.0000.00616.46

preferences:
31.32 ms | 403 KiB | 5 Q