3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( array ( 'text' => 'paris', 'nodes' => array( array( 'text' => 'paris', 'nodes' => array( 'text' => 'so.png', ), ), ), ), array( 'text' => 'charl', 'nodes' => array( array( 'text' => 'charl', 'nodes' => array( 'text' => 'so.png', ), ), ), ) ); for($i = 0; $i <= count($data) -1; $i++) { $data[$i]['nodes'] = array_map(function($node) { return array_values($node); }, $data[$i]['nodes']); } var_dump($data);

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.20.0100.01020.49
8.4.10.0060.00317.84
8.3.150.0000.01418.68
8.3.140.0140.00518.93
8.3.130.0030.00618.50
8.3.120.0060.00320.68
8.3.110.0090.00016.62
8.3.100.0000.00918.39
8.3.90.0110.00726.77
8.3.80.0040.00416.75
8.3.70.0030.01216.58
8.3.60.0140.00718.43
8.3.50.0080.00717.23
8.3.40.0110.01118.67
8.3.30.0090.00618.73
8.3.20.0030.00620.85
8.3.10.0040.00423.38
8.3.00.0070.00021.64
8.2.270.0030.01522.32
8.2.260.0000.01816.79
8.2.250.0160.00617.03
8.2.240.0030.00516.60
8.2.230.0040.00420.94
8.2.220.0070.01024.06
8.2.210.0080.00826.77
8.2.200.0100.00018.41
8.2.190.0110.00416.63
8.2.180.0060.01225.92
8.2.170.0030.01619.09
8.2.160.0110.00422.96
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00420.34
8.2.120.0000.00826.35
8.2.110.0040.00422.20
8.2.100.0110.00017.84
8.2.90.0040.00417.63
8.2.80.0050.00318.82
8.2.70.0040.00417.63
8.2.60.0060.00317.93
8.2.50.0000.00918.07
8.2.40.0040.00418.34
8.2.30.0040.00418.01
8.2.20.0040.00418.09
8.2.10.0040.00419.37
8.2.00.0050.00219.41
8.1.310.0070.01116.63
8.1.300.0100.01016.97
8.1.290.0040.00430.84
8.1.280.0110.01125.92
8.1.270.0050.00318.79
8.1.260.0060.00326.35
8.1.250.0030.00528.09
8.1.240.0060.00323.84
8.1.230.0080.00319.10
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0060.00317.47
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0040.00418.56
8.1.160.0000.00718.91
8.1.150.0040.00418.94
8.1.140.0000.00722.14
8.1.130.0000.00720.06
8.1.120.0000.00717.45
8.1.110.0050.00317.42
8.1.100.0090.00017.47
8.1.90.0040.00417.48
8.1.80.0000.00917.46
8.1.70.0000.01017.35
8.1.60.0030.00517.55
8.1.50.0040.00817.42
8.1.40.0030.00617.55
8.1.30.0030.00517.63
8.1.20.0000.00917.57
8.1.10.0000.00817.53
8.1.00.0030.00517.43
8.0.300.0040.00419.56
8.0.290.0060.00316.63
8.0.280.0000.00918.42
8.0.270.0040.00417.10
8.0.260.0000.00818.38
8.0.250.0000.00716.85
8.0.240.0070.00016.77
8.0.230.0050.00316.88
8.0.220.0040.00416.79
8.0.210.0030.00316.76
8.0.200.0000.00716.96
8.0.190.0050.00316.98
8.0.180.0030.00616.86
8.0.170.0060.00316.93
8.0.160.0050.00216.88
8.0.150.0040.00416.84
8.0.140.0040.00416.77
8.0.130.0000.00613.27
8.0.120.0040.00416.78
8.0.110.0060.00316.93
8.0.100.0040.00416.74
8.0.90.0070.00016.67
8.0.80.0090.00616.84
8.0.70.0030.00616.93
8.0.60.0020.00516.95
8.0.50.0050.00216.86
8.0.30.0050.01317.18
8.0.20.0080.01417.40
8.0.10.0040.00416.92
8.0.00.0050.01416.71
7.4.330.0020.00216.74
7.4.320.0000.00716.43
7.4.300.0000.00616.60
7.4.290.0000.00716.40
7.4.280.0070.00016.52
7.4.270.0000.00816.54
7.4.260.0000.00716.54
7.4.250.0050.00216.46
7.4.240.0000.00816.57
7.4.230.0080.00016.35
7.4.220.0070.00016.68
7.4.210.0080.00716.57
7.4.200.0000.00816.51
7.4.160.0130.00716.47
7.4.140.0100.00917.86
7.4.130.0120.01216.51
7.4.120.0110.01516.70
7.4.110.0100.00716.63
7.4.100.0090.00916.45
7.4.90.0030.01616.37
7.4.80.0140.00719.39
7.4.70.0040.01416.66
7.4.60.0060.01116.47
7.4.50.0050.00816.62
7.4.40.0100.00716.43
7.4.00.0100.00314.93
7.3.330.0000.00513.36
7.3.320.0000.00513.38
7.3.310.0040.00416.39
7.3.300.0000.00716.35
7.3.290.0030.00316.23
7.3.280.0080.00816.37
7.3.260.0100.00816.44
7.3.240.0120.00816.42
7.3.230.0110.00516.57
7.3.210.0090.00916.52
7.3.200.0060.01216.38
7.3.190.0140.00416.57
7.3.180.0140.00716.55
7.3.170.0120.00616.49
7.3.160.0100.00616.58
7.3.00.4470.00714.78
7.2.330.0160.00916.76
7.2.320.0030.01516.52
7.2.310.0110.00716.59
7.2.300.0090.00916.88
7.2.290.0040.01216.68
7.2.130.1210.00714.75
7.2.120.1520.01014.80
7.2.110.5310.00714.73
7.2.100.4970.00714.53
7.2.90.5730.00714.86
7.2.80.5140.00714.93
7.2.70.6050.01014.56
7.2.60.4440.01014.75
7.2.50.1280.00714.95
7.2.40.3560.00715.15
7.2.30.2390.00714.80
7.2.20.5580.00314.80
7.2.10.0820.00714.69
7.2.00.4790.00315.09
7.1.250.1610.00313.67
7.0.330.1170.01313.46
5.6.380.0070.01114.04

preferences:
143.55 ms | 403 KiB | 5 Q