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", }, ] } } }'; $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.70.0120.00616.58
8.3.60.0070.01416.63
8.3.50.0180.00321.95
8.3.40.0040.01118.43
8.3.30.0070.00718.93
8.3.20.0090.00020.08
8.3.10.0060.00323.66
8.3.00.0000.00819.26
8.2.180.0120.00418.29
8.2.170.0100.01022.96
8.2.160.0030.01020.39
8.2.150.0000.00724.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0000.01018.91
8.2.110.0060.00321.97
8.2.100.0040.00817.59
8.2.90.0080.00017.91
8.2.80.0050.00317.97
8.2.70.0000.00917.50
8.2.60.0100.00017.91
8.2.50.0000.00818.07
8.2.40.0030.00619.73
8.2.30.0000.00818.19
8.2.20.0030.00517.62
8.2.10.0000.00717.93
8.2.00.0080.00017.62
8.1.280.0100.01025.92
8.1.270.0080.00023.83
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0030.00622.33
8.1.230.0110.00020.91
8.1.220.0050.00317.74
8.1.210.0040.00418.91
8.1.200.0060.00317.25
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0040.00418.55
8.1.160.0000.00721.95
8.1.150.0000.00718.50
8.1.140.0000.00717.37
8.1.130.0000.00717.74
8.1.120.0000.00817.42
8.1.110.0040.00417.31
8.1.100.0000.00717.41
8.1.90.0040.00417.42
8.1.80.0000.00817.46
8.1.70.0000.00717.27
8.1.60.0000.00717.53
8.1.50.0080.00017.42
8.1.40.0060.00317.37
8.1.30.0100.00017.50
8.1.20.0040.00417.43
8.1.10.0040.00417.31
8.1.00.0000.00717.35
8.0.300.0040.00419.93
8.0.290.0040.00416.75
8.0.280.0070.00018.33
8.0.270.0030.00517.13
8.0.260.0040.00417.08
8.0.250.0000.00716.93
8.0.240.0040.00416.90
8.0.230.0030.00316.90
8.0.220.0030.00416.82
8.0.210.0030.00316.85
8.0.200.0030.00616.93
8.0.190.0000.00816.93
8.0.180.0080.00016.83
8.0.170.0070.00016.76
8.0.160.0040.00416.70
8.0.150.0080.00016.81
8.0.140.0030.00616.71
8.0.130.0000.00613.23
8.0.120.0030.00516.75
8.0.110.0040.00416.86
8.0.100.0000.00716.73
8.0.90.0030.00316.70
8.0.80.0060.00916.86
8.0.70.0050.00316.82
8.0.60.0040.00416.64
8.0.50.0070.00016.68
8.0.30.0080.01016.89
8.0.20.0140.01017.40
8.0.10.0000.00716.93
8.0.00.0100.00816.70
7.4.330.0000.00715.03
7.4.320.0000.00616.42
7.4.300.0000.00716.48
7.4.290.0070.00016.44
7.4.280.0040.00416.44
7.4.270.0030.00316.58
7.4.260.0000.00716.32
7.4.250.0040.00416.45
7.4.240.0020.00516.45
7.4.230.0070.00016.41
7.4.220.0090.00916.61
7.4.210.0100.00816.46
7.4.200.0030.00316.63
7.4.190.0000.00716.70
7.4.160.0040.01116.20
7.4.150.0070.01017.40
7.4.140.0110.01117.86
7.4.130.0100.00716.38
7.4.120.0080.00916.47
7.4.110.0080.01616.44
7.4.100.0080.01116.40
7.4.90.0200.00316.31
7.4.80.0200.00319.39
7.4.70.0100.00716.43
7.4.60.0060.00916.44
7.4.50.0000.00816.28
7.4.40.0040.01316.32
7.4.30.0110.00616.31
7.4.00.0030.01114.82
7.3.330.0060.00013.13
7.3.320.0000.00512.87
7.3.310.0030.00316.23
7.3.300.0030.00316.05
7.3.290.0040.01116.25
7.3.280.0120.00616.21
7.3.270.0100.00717.40
7.3.260.0090.00916.42
7.3.250.0090.01116.32
7.3.240.0060.01016.52
7.3.230.0130.00316.40
7.3.210.0060.01216.30
7.3.200.0170.00319.39
7.3.190.0120.00916.43
7.3.180.0090.00616.13
7.3.170.0060.01016.31
7.3.160.0000.01616.32
7.3.120.0070.01014.94
7.2.330.0130.01016.43
7.2.320.0150.00916.60
7.2.310.0130.00916.30
7.2.300.0060.01116.57
7.2.290.0110.00716.31
7.2.00.0030.00919.25
7.1.100.0070.01117.98
7.1.70.0050.00317.09
7.1.60.0120.01219.46
7.1.50.0100.00617.02
7.1.00.0070.07322.54
7.0.200.0030.00316.65
7.0.140.0070.07022.00
7.0.60.0170.06020.00
7.0.50.0130.07717.77
7.0.40.0030.08020.27
7.0.30.0330.05720.13
7.0.20.0300.09020.16
7.0.10.0030.05020.02
7.0.00.0130.07720.16
5.6.280.0000.07721.12
5.6.210.0070.07020.50
5.6.200.0100.03318.08
5.6.190.0030.05020.56
5.6.180.0000.04020.42
5.6.170.0330.05720.52
5.6.160.0070.05320.52
5.6.150.0030.05318.22
5.6.140.0000.04318.12
5.6.130.0070.08718.23
5.6.120.0130.08020.97
5.6.110.0030.06721.08
5.6.100.0100.08021.13
5.6.90.0130.08020.97
5.6.80.0070.08020.36
5.5.350.0030.08320.39
5.5.340.0000.04317.93
5.5.330.0030.08320.56
5.5.320.0030.06320.30
5.5.310.0400.07020.28
5.5.300.0100.04717.95
5.5.290.0100.05317.91
5.5.280.0000.05320.77
5.5.270.0000.06720.96
5.5.260.0170.06720.75
5.5.250.0070.05720.49
5.5.240.0070.07720.25
5.4.450.0800.05319.34
5.4.440.0370.08319.48
5.4.430.0900.04719.55
5.4.420.0800.05719.16
5.4.410.1070.06019.38
5.4.400.1270.05719.26
5.4.390.1200.05319.19
5.4.380.0200.04718.49
5.4.370.0100.05318.65
5.4.360.0200.06318.72
5.4.350.0170.05018.48
5.4.340.0300.03318.74
5.4.320.0070.03712.46
5.4.310.0030.04212.45
5.4.300.0030.03812.46
5.4.290.0090.03912.45
5.4.280.0100.03612.35
5.4.270.0070.04212.35
5.4.260.0100.03912.35
5.4.250.0050.04412.35
5.4.240.0080.03912.35
5.4.230.0110.03812.34
5.4.220.0080.03812.34
5.4.210.0050.04112.34
5.4.200.0070.04212.34
5.4.190.0070.04212.34
5.4.180.0070.04012.34
5.4.170.0080.05312.35
5.4.160.0060.05112.35
5.4.150.0090.04812.34
5.4.140.0080.05212.03
5.4.130.0120.04512.02
5.4.120.0110.05011.97
5.4.110.0060.05311.97
5.4.100.0080.04811.97
5.4.90.0090.03911.96
5.4.80.0090.04011.97
5.4.70.0040.04011.96
5.4.60.0030.04211.96
5.4.50.0060.03911.96
5.4.40.0060.04211.95
5.4.30.0110.04011.95
5.4.20.0090.04611.95
5.4.10.0100.04711.95
5.4.00.0120.04711.44
5.3.290.0060.03812.80
5.3.280.0090.05012.71
5.3.270.0100.05312.73
5.3.260.0090.05912.72
5.3.250.0080.05112.72
5.3.240.0230.08712.72
5.3.230.0110.05612.71
5.3.220.0150.06012.68
5.3.210.0110.05912.68
5.3.200.0130.07612.68
5.3.190.0120.06012.67
5.3.180.0090.05712.67
5.3.170.0050.06812.67
5.3.160.0070.05212.67
5.3.150.0120.04912.68
5.3.140.0100.05412.66
5.3.130.0130.06912.65
5.3.120.0110.05112.66
5.3.110.0090.05312.66
5.3.100.0090.04112.12
5.3.90.0100.05312.08
5.3.80.0070.05512.07
5.3.70.0150.09112.08
5.3.60.0080.06612.07
5.3.50.0090.07112.00
5.3.40.0100.04912.00
5.3.30.0070.05111.95
5.3.20.0090.05111.73
5.3.10.0100.05211.70
5.3.00.0090.05111.68
5.2.170.0030.0369.18
5.2.160.0060.0329.18
5.2.150.0080.0299.18
5.2.140.0080.0299.17
5.2.130.0070.0419.14
5.2.120.0090.0339.14
5.2.110.0030.0459.15
5.2.100.0100.0349.14
5.2.90.0050.0339.14
5.2.80.0070.0329.13
5.2.70.0090.0279.14
5.2.60.0060.0309.09
5.2.50.0050.0309.06
5.2.40.0060.0289.04
5.2.30.0040.0319.01
5.2.20.0070.0289.00
5.2.10.0060.0318.92
5.2.00.0060.0298.78
5.1.60.0070.0228.06
5.1.50.0070.0238.06
5.1.40.0050.0248.04
5.1.30.0050.0278.39
5.1.20.0050.0298.42
5.1.10.0050.0278.14
5.1.00.0060.0288.14
5.0.50.0040.0246.62
5.0.40.0030.0216.48
5.0.30.0040.0336.29
5.0.20.0040.0216.26
5.0.10.0040.0216.24
5.0.00.0040.0316.23
4.4.90.0030.0154.78
4.4.80.0040.0144.75
4.4.70.0030.0174.75
4.4.60.0020.0204.75
4.4.50.0020.0164.77
4.4.40.0050.0254.71
4.4.30.0060.0234.76
4.4.20.0110.0394.85
4.4.10.0060.0234.84
4.4.00.0070.0394.75
4.3.110.0040.0224.67
4.3.100.0110.0474.66
4.3.90.0050.0204.64
4.3.80.0070.0404.58
4.3.70.0040.0214.63
4.3.60.0030.0164.63
4.3.50.0040.0154.63
4.3.40.0040.0244.54
4.3.30.0050.0143.28
4.3.20.0010.0183.26
4.3.10.0020.0163.22
4.3.00.0130.0236.87

preferences:
54.91 ms | 401 KiB | 5 Q