3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nested = array( 'key' => 'val', 'key1' => array( 'subkey' => 'subval', 'subkey1' => 'subval1' ), 'key2' => array('a', 'b', 'c', 'd'), '2D_collection_5' => array( array( 'id' => 1, 'name' => 'lorem', 'categoryId' => 5, 'date' => '2013.07.08' ), array( 'id' => 2, 'name' => 'ipsum', 'categoryId' => 3, 'date' => '2013.07.07' ), array( 'id' => 5, 'name' => 'dolor', 'categoryId' => 1, 'date' => '2012.07.08' ), array( 'id' => 6, 'name' => 'sit', 'categoryId' => 3, 'date' => '2013.12.08' ), array( 'id' => 9, 'name' => 'amet', 'categoryId' => 5, 'date' => '2013.10.14' ) ), 'wtfmate' => array( 'lorem' => array( 'id' => 1, 'name' => 'lorem', 'categoryId' => 5, 'date' => '2013.07.08' ), 'ipsum' => array( 'id' => 2, 'name' => 'ipsum', 'categoryId' => 3, 'date' => '2013.07.07' ), 'dolor' => array( 'id' => 5, 'name' => 'dolor', 'categoryId' => 1, 'date' => '2012.07.08' ), 'sit' => array( 'id' => 6, 'name' => 'sit', 'categoryId' => 3, 'date' => '2013.12.08' ), 'amet' => array( 'id' => 9, 'name' => 'amet', 'categoryId' => 5, 'date' => '2013.10.14' ) ) ); echo http_build_query($nested);

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.0070.00718.18
8.3.50.0120.00522.06
8.3.40.0040.01118.66
8.3.30.0040.01119.05
8.3.20.0080.00020.20
8.3.10.0060.00320.49
8.3.00.0000.00819.13
8.2.180.0180.00316.50
8.2.170.0150.00422.96
8.2.160.0200.00020.53
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0050.00322.23
8.2.110.0090.00021.08
8.2.100.0040.00817.61
8.2.90.0030.00519.07
8.2.80.0040.00717.97
8.2.70.0030.00617.50
8.2.60.0030.00517.80
8.2.50.0050.00318.10
8.2.40.0050.00317.94
8.2.30.0050.00219.32
8.2.20.0040.00417.67
8.2.10.0040.00417.91
8.2.00.0000.00817.62
8.1.280.0100.01025.92
8.1.270.0120.00322.17
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00022.74
8.1.230.0100.00017.77
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0080.00017.10
8.1.180.0050.00318.10
8.1.170.0060.00318.58
8.1.160.0000.00821.95
8.1.150.0050.00318.76
8.1.140.0070.00317.43
8.1.130.0000.00617.78
8.1.120.0040.00417.41
8.1.110.0000.00717.41
8.1.100.0030.00317.39
8.1.90.0080.00017.43
8.1.80.0040.00417.38
8.1.70.0030.00317.28
8.1.60.0050.00317.53
8.1.50.0050.00317.48
8.1.40.0030.00617.39
8.1.30.0000.00817.54
8.1.20.0040.00417.58
8.1.10.0080.00017.43
8.1.00.0000.00717.48
8.0.300.0000.00718.77
8.0.290.0030.00516.58
8.0.280.0070.00018.51
8.0.270.0050.00217.24
8.0.260.0060.00017.36
8.0.250.0000.00716.98
8.0.240.0040.00416.86
8.0.230.0000.00716.92
8.0.220.0030.00316.80
8.0.210.0000.00716.71
8.0.200.0060.00016.89
8.0.190.0040.00416.82
8.0.180.0070.00016.85
8.0.170.0040.00416.90
8.0.160.0030.00316.86
8.0.150.0040.00416.76
8.0.140.0000.00716.77
8.0.130.0060.00313.20
8.0.120.0030.00516.81
8.0.110.0000.00716.88
8.0.100.0040.00416.79
8.0.90.0030.00516.70
8.0.80.0060.00916.78
8.0.70.0040.00416.80
8.0.60.0040.00416.67
8.0.50.0000.00716.83
8.0.30.0100.01417.09
8.0.20.0110.01217.40
8.0.10.0030.00516.91
8.0.00.0070.01016.67
7.4.330.0000.00515.00
7.4.320.0060.00016.43
7.4.300.0060.00016.43
7.4.290.0070.00016.42
7.4.280.0040.00416.46
7.4.270.0030.00316.35
7.4.260.0070.00016.41
7.4.250.0070.00016.39
7.4.240.0040.00316.36
7.4.230.0000.00716.50
7.4.220.0100.00716.39
7.4.210.0080.00816.36
7.4.200.0070.00016.54
7.4.160.0040.01116.31
7.4.150.0130.00617.40
7.4.140.0050.01617.86
7.4.130.0120.00516.37
7.4.120.0110.00916.33
7.4.110.0200.00616.35
7.4.100.0000.01716.30
7.4.90.0090.01116.45
7.4.80.0060.01719.39
7.4.70.0100.00716.60
7.4.60.0080.00816.35
7.4.50.0050.00216.38
7.4.40.0080.00816.33
7.4.30.0060.01016.31
7.4.00.0070.00914.95
7.3.330.0030.00312.86
7.3.320.0030.00312.97
7.3.310.0020.00516.15
7.3.300.0000.00716.04
7.3.290.0000.01816.17
7.3.280.0100.00916.16
7.3.270.0070.01117.40
7.3.260.0070.01016.46
7.3.250.0110.00616.38
7.3.240.0070.01016.09
7.3.230.0110.00616.39
7.3.210.0070.01016.18
7.3.200.0030.01919.39
7.3.190.0060.01016.36
7.3.180.0000.01516.20
7.3.170.0130.01016.27
7.3.160.0040.01116.22
7.3.120.0090.00314.91
7.3.110.0060.01214.71
7.3.100.0040.00914.86
7.3.90.0040.00714.66
7.3.80.0090.00614.88
7.3.70.0000.01814.60
7.3.60.0040.01114.69
7.3.50.0080.00814.36
7.3.40.0040.00814.57
7.3.30.0040.01214.50
7.3.20.0030.01416.53
7.3.10.0070.01116.50
7.3.00.0090.00616.35
7.2.330.0100.00716.55
7.2.320.0130.00616.55
7.2.310.0170.00716.51
7.2.300.0160.00716.67
7.2.290.0090.00616.46
7.2.250.0070.01014.54
7.2.240.0080.01115.16
7.2.230.0080.00414.92
7.2.220.0030.01314.95
7.2.210.0040.01114.98
7.2.200.0090.00615.09
7.2.190.0000.01414.92
7.2.180.0030.01014.89
7.2.170.0080.00814.79
7.2.130.0090.00916.57
7.2.120.0120.00816.66
7.2.110.0110.00616.31
7.2.100.0090.00516.61
7.2.90.0060.00616.61
7.2.80.0110.00616.40
7.2.70.0130.00416.69
7.2.60.0030.01316.71
7.2.50.0120.01016.51
7.2.40.0120.00716.58
7.2.30.0110.01116.61
7.2.20.0020.01516.47
7.2.10.0090.01016.49
7.2.00.0130.00516.80
7.1.330.0080.00815.74
7.1.320.0040.00815.66
7.1.310.0030.01015.62
7.1.300.0060.00615.69
7.1.290.0030.00615.54
7.1.280.0030.00915.39
7.1.270.0000.01815.71
7.1.260.0090.00315.91
7.1.250.0140.01015.47
7.1.240.0090.00015.91
7.1.230.0080.00415.67
7.1.220.0110.00415.66
7.1.210.0070.00715.88
7.1.200.0040.00415.80
7.1.190.0030.01015.63
7.1.180.0090.00615.55
7.1.170.0100.00315.50
7.1.160.0100.00315.68
7.1.150.0080.00815.81
7.1.140.0060.00615.56
7.1.130.0030.00615.75
7.1.120.0040.01115.46
7.1.110.0040.01215.64
7.1.100.0040.00815.54
7.1.90.0030.01015.89
7.1.80.0110.00415.73
7.1.70.0060.00516.20
7.1.60.0090.01117.52
7.1.50.0080.01216.20
7.1.40.0060.00615.74
7.1.30.0080.00315.86
7.1.20.0000.00815.87
7.1.10.0070.00415.67
7.1.00.0060.04019.06
7.0.320.0000.01615.27
7.0.310.0040.00815.40
7.0.300.0100.00315.21
7.0.290.0050.00315.26
7.0.280.0030.00915.22
7.0.270.0040.01115.43
7.0.260.0060.00615.11
7.0.250.0090.00615.16
7.0.240.0030.01215.08
7.0.230.0000.01215.43
7.0.220.0090.00315.32
7.0.210.0060.00615.42
7.0.200.0320.00614.98
7.0.190.0100.00315.22
7.0.180.0030.00315.15
7.0.170.0060.00615.46
7.0.160.0000.01215.13
7.0.150.0030.00315.38
7.0.140.0020.04418.85
7.0.130.0100.00315.44
7.0.120.0040.00715.52
7.0.110.0070.02918.63
7.0.100.0100.01818.46
7.0.90.0050.04618.65
7.0.80.0080.04318.57
7.0.70.0090.02118.43
7.0.60.0090.03818.46
7.0.50.0080.04318.61
7.0.40.0100.02016.53
7.0.30.0030.02716.51
7.0.20.0030.04416.61
7.0.10.0010.04816.57
7.0.00.0080.03116.54
5.6.380.0110.00314.34
5.6.370.0050.00514.18
5.6.360.0060.00914.14
5.6.350.0000.00914.22
5.6.340.0120.00414.18
5.6.330.0040.01114.30
5.6.320.0000.01314.28
5.6.310.0060.00614.41
5.6.300.0040.00914.54
5.6.290.0030.01214.04
5.6.280.0070.04017.78
5.6.270.0030.01014.64
5.6.260.0050.04517.55
5.6.250.0030.03017.43
5.6.240.0060.04217.53
5.6.230.0080.04517.54
5.6.220.0070.04417.35
5.6.210.0030.04217.30
5.6.200.0050.04317.42
5.6.190.0050.04017.51
5.6.180.0080.02317.50
5.6.170.0080.02017.38
5.6.160.0000.04417.50
5.6.150.0030.04817.37
5.6.140.0020.04917.38
5.6.130.0080.03717.55
5.6.120.0020.02617.31
5.6.110.0070.04317.41
5.6.100.0050.04817.48
5.6.90.0080.04317.41
5.6.80.0060.04317.18
5.6.70.0090.02717.17
5.6.60.0060.04117.04
5.6.50.0050.04217.21
5.6.40.0120.03817.12
5.6.30.0130.03017.23
5.6.20.0060.02617.04
5.6.10.0070.04117.04
5.6.00.0090.02717.13
5.5.380.0070.04214.38
5.5.370.0070.04214.45
5.5.360.0030.03614.41
5.5.350.0110.03714.46
5.5.340.0050.02514.68
5.5.330.0020.04114.68
5.5.320.0050.04314.59
5.5.310.0070.03814.54
5.5.300.0050.03314.64
5.5.290.0040.04414.56
5.5.280.0020.02114.56
5.5.270.0000.04314.63
5.5.260.0040.04214.55
5.5.250.0020.04514.55
5.5.240.0050.04114.45
5.5.230.0090.03814.25
5.5.220.0080.03514.33
5.5.210.0080.03814.38
5.5.200.0080.03714.19
5.5.190.0090.04014.30
5.5.180.0030.03314.32
5.5.170.0030.01014.28
5.5.160.0030.02814.39
5.5.150.0030.04014.23
5.5.140.0110.03514.24
5.5.130.0070.03814.24
5.5.120.0030.03914.37
5.5.110.0130.03214.38
5.5.100.0040.04214.19
5.5.90.0080.03214.27
5.5.80.0080.03914.30
5.5.70.0010.04114.31
5.5.60.0050.02514.19
5.5.50.0090.03514.30
5.5.40.0110.02814.18
5.5.30.0050.03814.24
5.5.20.0030.04214.18
5.5.10.0080.02514.25
5.5.00.0050.04414.17
5.4.450.0100.04215.27
5.4.440.0050.04615.43
5.4.430.0050.04215.35
5.4.420.0070.04015.30
5.4.410.0150.02515.28
5.4.400.0070.03415.27
5.4.390.0040.04115.14
5.4.380.0070.04015.11
5.4.370.0030.04115.14
5.4.360.0060.03915.22
5.4.350.0100.04115.13
5.4.340.0050.03315.22
5.4.330.0030.01211.27
5.4.320.0100.03515.20
5.4.310.0090.03515.14
5.4.300.0090.04315.13
5.4.290.0090.04015.11
5.4.280.0080.03015.15
5.4.270.0110.03515.10
5.4.260.0070.03815.13
5.4.250.0070.04215.13
5.4.240.0070.04215.26
5.4.230.0080.03615.27
5.4.220.0110.03515.13
5.4.210.0120.03115.19
5.4.200.0120.03315.18
5.4.190.0090.03815.10
5.4.180.0080.03715.18
5.4.170.0040.04115.25
5.4.160.0100.03315.12
5.4.150.0100.03515.18
5.4.140.0090.03913.75
5.4.130.0050.02213.76
5.4.120.0110.03513.79
5.4.110.0050.04013.88
5.4.100.0070.04013.88
5.4.90.0090.03313.78
5.4.80.0090.03613.82
5.4.70.0080.02013.87
5.4.60.0060.04213.87
5.4.50.0080.03813.77
5.4.40.0050.03813.79
5.4.30.0040.04013.69
5.4.20.0080.03313.70
5.4.10.0110.01613.87
5.4.00.0040.03913.47
5.3.290.0100.03712.89
5.3.280.0130.03712.89
5.3.270.0120.03512.89
5.3.260.0060.04012.84
5.3.250.0060.02412.92
5.3.240.0070.02712.98
5.3.230.0070.03212.84
5.3.220.0080.02512.87
5.3.210.0060.04112.89
5.3.200.0090.03512.91
5.3.190.0110.03612.86
5.3.180.0060.02812.88
5.3.170.0080.02812.85
5.3.160.0050.04012.93
5.3.150.0090.03912.89
5.3.140.0080.03012.96
5.3.130.0120.02012.87
5.3.120.0100.02812.92
5.3.110.0120.02212.86
5.3.100.0050.03712.67
5.3.90.0050.03012.59
5.3.80.0040.04012.56
5.3.70.0080.03512.63
5.3.60.0060.02212.68
5.3.50.0050.03312.53
5.3.40.0080.03512.65
5.3.30.0150.03012.65
5.3.20.0040.04012.52
5.3.10.0090.03512.44
5.3.00.0040.03912.41
5.2.170.0060.02311.96
5.2.160.0030.03411.96
5.2.150.0050.03211.96
5.2.140.0030.03111.96
5.2.130.0070.02811.96
5.2.120.0060.01811.96
5.2.110.0050.03411.96
5.2.100.0080.03111.96
5.2.90.0020.03511.96
5.2.80.0070.03311.96
5.2.70.0070.01811.96
5.2.60.0070.03211.96
5.2.50.0000.03811.96
5.2.40.0020.03511.96
5.2.30.0080.02711.96
5.2.20.0050.01811.96
5.2.10.0050.01811.96
5.2.00.0080.02011.96
5.1.60.0020.02511.96
5.1.50.0020.03111.96
5.1.40.0060.01911.96
5.1.30.0040.02011.96
5.1.20.0090.01711.96
5.1.10.0050.03111.96
5.1.00.0040.03111.96
5.0.50.0020.02411.96
5.0.40.0030.02411.96
5.0.30.0020.03411.96
5.0.20.0030.02011.96
5.0.10.0030.02511.96
5.0.00.0060.02611.96
4.4.90.0020.01711.96
4.4.80.0020.01911.96
4.4.70.0020.02211.96
4.4.60.0000.02211.96
4.4.50.0000.01711.96
4.4.40.0010.02311.96
4.4.30.0050.01711.96
4.4.20.0020.01911.96
4.4.10.0030.01711.96
4.4.00.0000.02911.96
4.3.110.0000.02011.96
4.3.100.0020.01811.96
4.3.90.0030.01811.96
4.3.80.0000.02711.96
4.3.70.0040.01011.96
4.3.60.0030.01511.96
4.3.50.0000.01911.96
4.3.40.0020.02811.96
4.3.30.0050.01411.96
4.3.20.0000.01211.96
4.3.10.0030.02011.96
4.3.00.0020.01611.96

preferences:
45.7 ms | 401 KiB | 5 Q