3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{ "smartling": { "en_us" : { "files": [ { "fileUri": "/dictionaries/sample_en.json", "stringCount": 100, "wordCount": 12540, "approvedStringCount": 100, "completedStringCount": 40, "lastUploaded": "2014-06-12", "fileType": "json", }, ] }, "ja-jp": { "files":[ { "fileUri": "/dictionaries/sample_jp.json", "stringCount": 100, "wordCount": 12540, "approvedStringCount": 100, "completedStringCount": 40, "lastUploaded": "2014-06-12", "fileType": "json", } ] } } }'; //$dict = json_decode($str); //$count = count($dict['smartling']); var_dump($dict); //echo $count;

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.0100.00718.43
8.3.50.0130.00521.82
8.3.40.0060.00918.75
8.3.30.0130.00018.89
8.3.20.0040.00420.05
8.3.10.0030.00623.41
8.3.00.0080.00020.89
8.2.180.0060.01016.50
8.2.170.0100.00322.96
8.2.160.0060.00920.32
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0030.00520.79
8.2.110.0030.00620.50
8.2.100.0000.01117.55
8.2.90.0050.00319.05
8.2.80.0000.00817.97
8.2.70.0090.00017.63
8.2.60.0040.00417.91
8.2.50.0040.00418.07
8.2.40.0080.00019.72
8.2.30.0070.00018.00
8.2.20.0040.00417.68
8.2.10.0000.00718.12
8.2.00.0040.00417.59
8.1.280.0070.01025.92
8.1.270.0070.01023.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00723.73
8.1.230.0120.00022.64
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0050.00617.22
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0070.00218.36
8.1.160.0000.00721.85
8.1.150.0000.00718.44
8.1.140.0000.00817.29
8.1.130.0000.00717.80
8.1.120.0070.00017.46
8.1.110.0000.00817.34
8.1.100.0000.00717.37
8.1.90.0050.00317.42
8.1.80.0000.00717.42
8.1.70.0030.00317.27
8.1.60.0070.00417.53
8.1.50.0050.00317.45
8.1.40.0050.00317.41
8.1.30.0030.00717.59
8.1.20.0080.00017.41
8.1.10.0000.00717.46
8.1.00.0020.00517.27
8.0.300.0000.00718.77
8.0.290.0000.00716.92
8.0.280.0000.00718.26
8.0.270.0070.00017.15
8.0.260.0000.00617.20
8.0.250.0030.00316.94
8.0.240.0030.00316.88
8.0.230.0000.00716.88
8.0.220.0050.00316.89
8.0.210.0000.00716.79
8.0.200.0080.00016.92
8.0.190.0000.00816.98
8.0.180.0050.00216.95
8.0.170.0030.00516.91
8.0.160.0030.00516.73
8.0.150.0050.00216.81
8.0.140.0000.00716.83
8.0.130.0000.00513.30
8.0.120.0000.00816.75
8.0.110.0000.00716.75
8.0.100.0000.00816.91
8.0.90.0030.00316.83
8.0.80.0150.00016.86
8.0.70.0050.00316.91
8.0.60.0040.00416.75
8.0.50.0040.00416.87
8.0.30.0100.00917.01
8.0.20.0140.00517.40
8.0.10.0000.00817.02
8.0.00.0170.00316.81
7.4.330.0050.00215.00
7.4.320.0060.00016.55
7.4.300.0060.00016.37
7.4.290.0040.00416.47
7.4.280.0030.00616.51
7.4.270.0030.00316.52
7.4.260.0000.00716.52
7.4.250.0040.00416.39
7.4.240.0050.00316.47
7.4.230.0030.00316.41
7.4.220.0040.01416.59
7.4.210.0080.00916.51
7.4.200.0030.00316.61
7.4.190.0000.00616.43
7.4.160.0080.00816.58
7.4.150.0070.01117.40
7.4.140.0130.00517.86
7.4.130.0060.01116.44
7.4.120.0060.01116.35
7.4.110.0060.01316.41
7.4.100.0180.00616.67
7.4.90.0100.00616.45
7.4.80.0040.01819.39
7.4.70.0030.01316.42
7.4.60.0070.01016.51
7.4.50.0050.00316.50
7.4.40.0130.00316.51
7.4.30.0060.00916.17
7.4.10.0110.00714.79
7.4.00.0110.00514.79
7.3.330.0030.00312.89
7.3.320.0000.00612.93
7.3.310.0000.00716.15
7.3.300.0000.00716.23
7.3.290.0090.00516.15
7.3.280.0090.00916.15
7.3.270.0100.00617.40
7.3.260.0110.00616.10
7.3.250.0090.01116.14
7.3.240.0060.01016.17
7.3.230.0090.01216.39
7.3.210.0100.00716.51
7.3.200.0070.01619.39
7.3.190.0060.01616.41
7.3.180.0090.01516.19
7.3.170.0090.00616.27
7.3.160.0080.00816.22
7.3.130.0130.00314.68
7.3.120.0080.01014.54
7.3.110.0050.01314.60
7.3.100.0080.00714.88
7.3.90.0030.01014.65
7.3.80.0020.01014.60
7.3.70.0100.00514.61
7.3.60.0080.00614.54
7.3.50.0050.00614.59
7.3.40.0090.00514.46
7.3.30.0090.00714.51
7.3.20.0050.00616.64
7.3.10.0040.00916.12
7.3.00.0030.00916.44
7.2.330.0200.00316.29
7.2.320.0110.00716.36
7.2.310.0030.01816.44
7.2.300.0060.01216.29
7.2.290.0110.00516.29
7.2.260.0060.01214.62
7.2.250.0080.00814.97
7.2.240.0050.00914.77
7.2.230.0060.00914.81
7.2.220.0070.00914.54
7.2.210.0030.00914.56
7.2.200.0060.00614.73
7.2.190.0020.01014.86
7.2.180.0060.00614.85
7.2.170.0090.00614.77
7.2.160.0030.00914.81
7.2.150.0030.01016.72
7.2.140.0020.00916.56
7.2.130.0050.00916.62
7.2.120.0110.00516.54
7.2.110.0030.01116.68
7.2.100.0090.00516.66
7.2.90.0030.01416.69
7.2.80.0050.00816.66
7.2.70.0090.00716.48
7.2.60.0060.00716.67
7.2.50.0050.00916.66
7.2.40.0060.01116.80
7.2.30.0050.00716.72
7.2.20.0070.00316.47
7.2.10.0040.00916.75
7.2.00.0090.00717.20
7.1.330.0080.00615.79
7.1.320.0060.00815.70
7.1.310.0020.01115.63
7.1.300.0070.00315.64
7.1.290.0010.01015.69
7.1.280.0090.00615.68
7.1.270.0070.00415.56
7.1.260.0110.00515.70
7.1.250.0020.01115.68
7.1.240.0080.00715.66
7.1.230.0050.00815.57
7.1.220.0060.00215.73
7.1.210.0080.00615.70
7.1.200.0060.00515.52
7.1.190.0050.00615.53
7.1.180.0070.00415.67
7.1.170.0000.01515.65
7.1.160.0020.00915.74
7.1.150.0020.00915.62
7.1.140.0060.00615.75
7.1.130.0070.00415.75
7.1.120.0000.01315.61
7.1.110.0050.00915.69
7.1.100.0040.00716.46
7.1.90.0020.01015.50
7.1.80.0030.01015.71
7.1.70.0020.00916.17
7.1.60.0100.00816.90
7.1.50.0080.00816.09
7.1.40.0040.00915.72
7.1.30.0030.00915.78
7.1.20.0030.00815.54
7.1.10.0060.00815.77
7.1.00.0040.03217.95
7.0.330.0100.00015.38
7.0.320.0050.00915.26
7.0.310.0060.00915.18
7.0.300.0000.01415.22
7.0.290.0000.01215.15
7.0.280.0080.00714.92
7.0.270.0040.00615.32
7.0.260.0060.00715.22
7.0.250.0070.00515.17
7.0.240.0070.00515.21
7.0.230.0040.00915.37
7.0.220.0020.01115.35
7.0.210.0020.00915.29
7.0.200.0040.00715.87
7.0.190.0080.00815.32
7.0.180.0070.00615.45
7.0.170.0040.00815.33
7.0.160.0030.01115.24
7.0.150.0070.00715.29
7.0.140.0040.02917.55
7.0.130.0020.01015.33
7.0.120.0080.00315.03
7.0.110.0060.00815.29
7.0.100.0090.00514.89
7.0.90.0050.00915.41
7.0.80.0030.00815.41
7.0.70.0010.01015.27
7.0.60.0060.03316.76
7.0.50.0060.02916.08
7.0.40.0090.02115.58
7.0.30.0160.02815.42
7.0.20.0120.03415.71
7.0.10.0070.01715.78
7.0.00.0090.02815.61
5.6.400.0070.00514.02
5.6.390.0000.01214.03
5.6.380.0050.00814.13
5.6.370.0020.01214.13
5.6.360.0070.00914.17
5.6.350.0020.00814.16
5.6.340.0060.00714.26
5.6.330.0080.00514.41
5.6.320.0070.00513.97
5.6.310.0050.01114.15
5.6.300.0060.00314.15
5.6.290.0020.00914.12
5.6.280.0060.02516.54
5.6.270.0050.00814.28
5.6.260.0120.00513.95
5.6.250.0030.01014.18
5.6.240.0040.01014.19
5.6.230.0030.00914.07
5.6.220.0060.00714.19
5.6.210.0050.02116.34
5.6.200.0060.01815.31
5.6.190.0050.02016.30
5.6.180.0050.01716.34
5.6.170.0110.01716.21
5.6.160.0060.03316.05
5.6.150.0090.02715.41
5.6.140.0040.01915.51
5.6.130.0080.03015.45
5.6.120.0070.03216.45
5.6.110.0050.03416.55
5.6.100.0050.02816.44
5.6.90.0090.02116.28
5.6.80.0050.03316.29
5.6.70.0040.00913.87
5.6.60.0050.00813.97
5.6.50.0080.00313.93
5.6.40.0050.01013.86
5.6.30.0030.01013.83
5.6.20.0120.00014.10
5.6.10.0060.00913.83
5.6.00.0020.01114.12
5.5.380.0060.00614.16
5.5.370.0030.01114.19
5.5.360.0050.00713.90
5.5.350.0030.03216.15
5.5.340.0100.01415.29
5.5.330.0020.02216.12
5.5.320.0050.03216.21
5.5.310.0170.02616.04
5.5.300.0080.03215.23
5.5.290.0080.02615.29
5.5.280.0020.02016.33
5.5.270.0040.02116.17
5.5.260.0070.02216.08
5.5.250.0060.03416.04
5.5.240.0060.02915.98
5.5.230.0060.00713.97
5.5.220.0080.00613.97
5.5.210.0030.00813.80
5.5.200.0080.00313.91
5.5.190.0060.00613.83
5.5.180.0050.00713.90
5.5.170.0040.00514.05
5.5.160.0070.00313.98
5.5.150.0050.00814.01
5.5.140.0070.00514.14
5.5.130.0060.00913.88
5.5.120.0040.00714.05
5.5.110.0060.00613.98
5.5.100.0090.00314.10
5.5.90.0040.00813.82
5.5.80.0060.00713.90
5.5.70.0060.00613.95
5.5.60.0110.00213.66
5.5.50.0100.00313.86
5.5.40.0080.00013.73
5.5.30.0060.00613.96
5.5.20.0080.00814.00
5.5.10.0060.00913.93
5.5.00.0040.01113.86
5.4.450.0240.01913.88
5.4.440.0270.02013.71
5.4.430.0350.02213.83
5.4.420.0050.02413.78
5.4.410.0260.02613.71
5.4.400.0050.02513.71
5.4.390.0300.03113.66
5.4.380.0070.02413.51
5.4.370.0070.02013.49
5.4.360.0060.02113.52
5.4.350.0060.02413.51
5.4.340.0060.02113.48
5.4.330.0000.00710.82
5.4.320.0040.01611.40
5.4.310.0050.02011.44
5.4.300.0080.01411.46
5.4.290.0070.02611.40
5.4.280.0050.02511.38
5.4.270.0070.01911.39
5.4.260.0060.02411.37
5.4.250.0060.02211.47
5.4.240.0070.02011.38
5.4.230.0060.02611.35
5.4.220.0050.02311.30
5.4.210.0040.02211.43
5.4.200.0040.02411.38
5.4.190.0080.02011.40
5.4.180.0070.02311.31
5.4.170.0070.02111.30
5.4.160.0060.01411.35
5.4.150.0050.01511.39
5.4.140.0060.01711.29
5.4.130.0090.02011.33
5.4.120.0080.01911.27
5.4.110.0050.02011.29
5.4.100.0060.02311.30
5.4.90.0050.02111.27
5.4.80.0080.01911.19
5.4.70.0050.02011.33
5.4.60.0070.01611.31
5.4.50.0070.01411.29
5.4.40.0040.01811.27
5.4.30.0030.01711.28
5.4.20.0060.01511.23
5.4.10.0020.01911.28
5.4.00.0030.02111.13
5.3.290.0040.02311.43
5.3.280.0050.01511.38
5.3.270.0080.01411.38
5.3.260.0030.01811.38
5.3.250.0060.01611.39
5.3.240.0040.01811.34
5.3.230.0050.01811.34
5.3.220.0060.01511.29
5.3.210.0060.02011.30
5.3.200.0030.01611.34
5.3.190.0080.01411.35
5.3.180.0040.01811.34
5.3.170.0060.01511.42
5.3.160.0070.01411.41
5.3.150.0050.02111.38
5.3.140.0060.01811.32
5.3.130.0020.01811.39
5.3.120.0070.01711.38
5.3.110.0050.01711.36
5.3.100.0050.01511.14
5.3.90.0050.01611.23
5.3.80.0090.01611.11
5.3.70.0050.01611.12
5.3.60.0060.01511.15
5.3.50.0030.01711.11
5.3.40.0040.01711.10
5.3.30.0060.01411.09
5.3.20.0050.01811.04
5.3.10.0050.01510.97
5.3.00.0080.02210.95
5.2.170.0050.0379.18
5.2.160.0030.0319.18
5.2.150.0040.0319.18
5.2.140.0040.0319.18
5.2.130.0070.0279.14
5.2.120.0080.0279.13
5.2.110.0040.0309.14
5.2.100.0070.0269.14
5.2.90.0040.0309.14
5.2.80.0040.0349.13
5.2.70.0050.0379.13
5.2.60.0090.0289.09
5.2.50.0030.0339.06
5.2.40.0040.0309.04
5.2.30.0060.0299.00
5.2.20.0140.0469.00
5.2.10.0090.0418.92
5.2.00.0080.0408.78
5.1.60.0080.0328.06
5.1.50.0050.0468.06
5.1.40.0080.0258.04
5.1.30.0070.0248.39
5.1.20.0020.0308.41
5.1.10.0030.0278.14
5.1.00.0020.0288.14
5.0.50.0020.0236.61
5.0.40.0030.0206.48
5.0.30.0030.0316.29
5.0.20.0040.0196.25
5.0.10.0020.0216.24
5.0.00.0060.0286.23
4.4.90.0020.0164.78
4.4.80.0020.0164.75
4.4.70.0040.0154.76
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0030.0254.71
4.4.30.0020.0164.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0030.0284.76
4.3.110.0040.0144.67
4.3.100.0030.0154.67
4.3.90.0030.0154.63
4.3.80.0030.0244.58
4.3.70.0030.0144.63
4.3.60.0040.0134.63
4.3.50.0050.0134.63
4.3.40.0070.0254.54
4.3.30.0060.0143.28
4.3.20.0030.0153.25
4.3.10.0020.0173.22
4.3.00.0030.0236.87

preferences:
43.46 ms | 400 KiB | 5 Q