3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '{"smartling": {"en-us": {"files": [{ "fileUri": "/dictionaries/sample_en.json", "stringCount": 100, "wordCount": 12540, "approvedStringCount": 100, "completedStringCount": 40, "lastUploaded": "2014-06-12", "fileType": "json" }] } } }'; $result = json_decode($string); // Result: object(stdClass)#1 (2) { ["foo"]=> string(3) "bar" ["cool"]=> string(4) "attr" } var_dump($result);

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.40.0110.00418.59
8.3.30.0100.01018.96
8.3.20.0070.00020.16
8.3.10.0080.00023.66
8.3.00.0080.00019.14
8.2.170.0090.00622.96
8.2.160.0100.00320.38
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0090.00020.63
8.2.110.0000.00922.11
8.2.100.0090.00317.72
8.2.90.0080.00019.22
8.2.80.0050.00317.97
8.2.70.0090.00017.63
8.2.60.0000.00817.80
8.2.50.0050.00318.07
8.2.40.0040.00419.95
8.2.30.0000.00718.18
8.2.20.0030.00517.61
8.2.10.0000.00717.97
8.2.00.0070.00017.68
8.1.270.0070.00721.89
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00324.03
8.1.230.0040.00819.03
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0070.00317.23
8.1.190.0050.00317.13
8.1.180.0090.00018.10
8.1.170.0030.00618.65
8.1.160.0040.00421.93
8.1.150.0050.00318.44
8.1.140.0000.00717.42
8.1.130.0000.00717.82
8.1.120.0040.00417.39
8.1.110.0030.00517.36
8.1.100.0040.00417.43
8.1.90.0000.00817.37
8.1.80.0000.00717.41
8.1.70.0000.00717.41
8.1.60.0040.00417.45
8.1.50.0040.00417.40
8.1.40.0060.00317.36
8.1.30.0060.00517.61
8.1.20.0050.00217.52
8.1.10.0050.00217.44
8.1.00.0000.00717.33
8.0.300.0050.00218.77
8.0.290.0070.00017.15
8.0.280.0050.00218.43
8.0.270.0030.00517.07
8.0.260.0060.00018.39
8.0.250.0040.00416.91
8.0.240.0040.00716.84
8.0.230.0000.00716.80
8.0.220.0000.00716.70
8.0.210.0070.00016.87
8.0.200.0030.00316.78
8.0.190.0000.00816.91
8.0.180.0000.00716.85
8.0.170.0040.00416.82
8.0.160.0000.00716.70
8.0.150.0040.00416.75
8.0.140.0070.00016.67
8.0.130.0050.00013.18
8.0.120.0000.00816.78
8.0.110.0000.00716.66
8.0.100.0030.00616.71
8.0.90.0000.00716.83
8.0.80.0090.00616.74
8.0.70.0080.00016.75
8.0.60.0070.00016.95
8.0.50.0040.00416.82
8.0.30.0110.01217.15
8.0.20.0130.01017.40
8.0.10.0040.00417.01
8.0.00.0100.01016.80
7.4.330.0030.00315.00
7.4.320.0000.00716.46
7.4.300.0030.00316.55
7.4.290.0070.00016.46
7.4.280.0040.00416.43
7.4.270.0000.00716.47
7.4.260.0030.00316.52
7.4.250.0050.00316.52
7.4.240.0000.00716.48
7.4.230.0030.00316.41
7.4.220.0070.01016.63
7.4.210.0050.00916.62
7.4.200.0030.00316.45
7.4.190.0030.00316.51
7.4.160.0070.01316.34
7.4.150.0170.01017.40
7.4.140.0140.01017.86
7.4.130.0080.00816.38
7.4.120.0070.01016.35
7.4.110.0110.01116.55
7.4.100.0050.02016.40
7.4.90.0080.01216.42
7.4.80.0040.01419.39
7.4.70.0060.01016.34
7.4.60.0080.01116.50
7.4.50.0030.00516.51
7.4.40.0060.01416.28
7.4.30.0140.00316.43
7.4.00.0070.00914.86
7.3.330.0000.00712.90
7.3.320.0050.00012.93
7.3.310.0030.00316.10
7.3.300.0000.00716.13
7.3.290.0110.00316.14
7.3.280.0080.01216.17
7.3.270.0080.00817.40
7.3.260.0070.01516.36
7.3.250.0100.00916.26
7.3.240.0120.00416.44
7.3.230.0070.01116.39
7.3.210.0120.00616.10
7.3.200.0140.00319.39
7.3.190.0160.00316.25
7.3.180.0120.00316.13
7.3.170.0070.01116.27
7.3.160.0030.01416.07
7.3.120.0080.00914.78
7.3.110.0110.00714.61
7.3.100.0110.00714.75
7.3.90.0070.00714.67
7.3.80.0040.00814.60
7.3.70.0030.01014.57
7.3.60.0070.00414.50
7.3.50.0060.01014.63
7.3.40.0060.00914.59
7.3.30.0030.01314.37
7.3.20.0000.00916.64
7.3.10.0080.00716.35
7.3.00.0070.01016.46
7.2.330.0090.00916.29
7.2.320.0080.01116.72
7.2.310.0120.00816.65
7.2.300.0070.01416.44
7.2.290.0100.01016.30
7.2.250.0070.01114.98
7.2.240.0060.01214.81
7.2.230.0120.00315.08
7.2.220.0030.01015.07
7.2.210.0000.01014.82
7.2.200.0060.00614.77
7.2.190.0070.00714.61
7.2.180.0060.00915.02
7.2.170.0100.00714.95
7.2.130.0070.00716.75
7.2.120.0090.00616.65
7.2.110.0040.00916.73
7.2.100.0050.00716.51
7.2.90.0060.00616.67
7.2.80.0070.00716.63
7.2.70.0050.00716.62
7.2.60.0080.00616.63
7.2.50.0040.00816.64
7.2.40.0050.00716.69
7.2.30.0030.00916.78
7.2.20.0050.00916.86
7.2.10.0070.00416.77
7.2.00.0070.00417.49
7.1.330.0030.01015.70
7.1.320.0070.00315.53
7.1.310.0080.00815.71
7.1.300.0030.00915.81
7.1.290.0030.01015.57
7.1.280.0130.00315.39
7.1.270.0060.00615.46
7.1.260.0030.00715.49
7.1.250.0030.01015.76
7.1.230.0090.00315.86
7.1.220.0030.00715.66
7.1.210.0030.01015.70
7.1.200.0070.00515.59
7.1.190.0040.00715.62
7.1.180.0040.00715.54
7.1.170.0070.00315.74
7.1.160.0040.00815.84
7.1.150.0060.00615.70
7.1.140.0000.01115.56
7.1.130.0040.00415.64
7.1.120.0030.00715.73
7.1.110.0030.00615.76
7.1.100.0080.00816.93
7.1.90.0050.00515.80
7.1.80.0080.00415.89
7.1.70.0000.01216.39
7.1.60.0110.00917.73
7.1.50.0120.00316.37
7.1.40.0080.00815.79
7.1.30.0070.01015.86
7.1.20.0130.00315.91
7.1.10.0000.01015.73
7.1.00.0010.04419.02
7.0.310.0090.00615.08
7.0.300.0130.00015.31
7.0.290.0040.00715.37
7.0.280.0080.00315.27
7.0.270.0060.00315.38
7.0.260.0040.00715.27
7.0.250.0030.00615.35
7.0.240.0040.00415.27
7.0.230.0050.00315.46
7.0.220.0080.00414.96
7.0.210.0030.00715.41
7.0.200.0020.00615.91
7.0.190.0030.00715.40
7.0.180.0030.00615.13
7.0.170.0000.00815.01
7.0.160.0110.00015.39
7.0.150.0000.00915.27
7.0.140.0080.03718.87
7.0.130.0000.00815.30
7.0.120.0000.00915.17
7.0.110.0070.00315.39
7.0.100.0080.00315.46
7.0.90.0050.00515.26
7.0.80.0070.00315.40
7.0.70.0080.00315.16
7.0.60.0060.04417.61
7.0.50.0050.03216.50
7.0.40.0090.03516.83
7.0.30.0180.03816.77
7.0.20.0200.03916.80
7.0.10.0060.04416.76
7.0.00.0030.04716.59
5.6.380.0000.01014.48
5.6.370.0080.00414.02
5.6.360.0060.00913.97
5.6.350.0040.00714.26
5.6.340.0000.00714.50
5.6.330.0060.00314.24
5.6.320.0080.00414.30
5.6.310.0080.00414.23
5.6.300.0100.00314.26
5.6.290.0030.00814.32
5.6.280.0040.04017.60
5.6.270.0060.00613.90
5.6.260.0040.00714.06
5.6.250.0030.00514.27
5.6.240.0040.00814.27
5.6.230.0030.00714.16
5.6.220.0030.01014.21
5.6.210.0100.02517.52
5.6.200.0070.04616.31
5.6.190.0030.03717.47
5.6.180.0300.03917.56
5.6.170.0230.02817.30
5.6.160.0080.02917.31
5.6.150.0060.03316.38
5.6.140.0090.02716.02
5.6.130.0130.04016.11
5.6.120.0020.02517.71
5.6.110.0060.03417.65
5.6.100.0050.02517.54
5.6.90.0100.03617.57
5.6.80.0070.03817.24
5.6.70.0070.00714.18
5.6.60.0140.00013.94
5.6.50.0030.01013.99
5.6.40.0030.01314.19
5.6.30.0030.01013.79
5.6.20.0030.01014.15
5.6.10.0080.00314.34
5.6.00.0060.00614.04
5.5.380.0000.00812.79
5.5.370.0030.00612.79
5.5.360.0030.00312.79
5.5.350.0170.03716.62
5.5.340.0040.02315.38
5.5.330.0030.04516.47
5.5.320.0130.04616.53
5.5.310.0220.03516.60
5.5.300.0080.04215.38
5.5.290.0030.04315.38
5.5.280.0070.02316.82
5.5.270.0060.03016.87
5.5.260.0070.04716.71
5.5.250.0070.03816.68
5.5.240.0080.04116.43
5.5.230.0040.00712.79
5.5.220.0060.00612.79
5.5.210.0030.00312.79
5.5.200.0000.01012.79
5.5.190.0030.00312.79
5.5.180.0040.00412.79
5.5.170.0100.00313.79
5.5.160.0000.00912.79
5.5.150.0030.00712.79
5.5.140.0000.01212.79
5.5.130.0030.00312.79
5.5.120.0000.00712.79
5.5.110.0040.00812.79
5.5.100.0040.00812.79
5.5.90.0080.00312.79
5.5.80.0070.00312.79
5.5.70.0070.00012.79
5.5.60.0060.00612.79
5.5.50.0000.01112.79
5.5.40.0060.00612.79
5.5.30.0000.01212.79
5.5.20.0000.01112.79
5.5.10.0000.00812.79
5.5.00.0030.00712.79
5.4.450.0230.03616.04
5.4.440.0470.02515.95
5.4.430.0570.03015.98
5.4.420.0480.03716.11
5.4.410.0450.02816.15
5.4.400.0120.02215.91
5.4.390.0430.03215.94
5.4.380.0090.03115.64
5.4.370.0070.03315.76
5.4.360.0070.02815.76
5.4.350.0090.02815.79
5.4.340.0100.02915.64
5.4.330.0000.00912.79
5.4.320.0040.02212.62
5.4.310.0040.02212.62
5.4.300.0040.02512.62
5.4.290.0040.02612.62
5.4.280.0080.01912.57
5.4.270.0060.02012.57
5.4.260.0070.02012.57
5.4.250.0040.02112.57
5.4.240.0060.02012.57
5.4.230.0040.02312.56
5.4.220.0060.02012.56
5.4.210.0020.02112.56
5.4.200.0040.02112.56
5.4.190.0070.01812.56
5.4.180.0080.01712.56
5.4.170.0040.02312.57
5.4.160.0070.01912.57
5.4.150.0050.02012.56
5.4.140.0060.02012.41
5.4.130.0050.02312.40
5.4.120.0050.02012.38
5.4.110.0040.02212.38
5.4.100.0050.02012.38
5.4.90.0050.01912.38
5.4.80.0040.02312.38
5.4.70.0040.02012.38
5.4.60.0040.01912.38
5.4.50.0040.02212.38
5.4.40.0030.02312.37
5.4.30.0050.02112.37
5.4.20.0020.02712.37
5.4.10.0040.02112.37
5.4.00.0060.02012.12
5.3.290.0050.02312.79
5.3.280.0040.02112.75
5.3.270.0050.02312.76
5.3.260.0030.02512.75
5.3.250.0050.02312.75
5.3.240.0040.02212.76
5.3.230.0080.01912.75
5.3.220.0040.02412.74
5.3.210.0080.01912.73
5.3.200.0050.02912.74
5.3.190.0070.02712.73
5.3.180.0060.02112.73
5.3.170.0010.02612.73
5.3.160.0070.02012.73
5.3.150.0070.01812.73
5.3.140.0050.02312.72
5.3.130.0040.02312.72
5.3.120.0040.02312.72
5.3.110.0040.02412.72
5.3.100.0050.02012.45
5.3.90.0020.02412.44
5.3.80.0040.02812.43
5.3.70.0030.02312.43
5.3.60.0050.02212.42
5.3.50.0040.02312.40
5.3.40.0030.02312.40
5.3.30.0020.02312.37
5.3.20.0030.02212.26
5.3.10.0050.02112.24
5.3.00.0090.01812.23
5.2.170.0040.01710.98
5.2.160.0020.01710.98
5.2.150.0080.01410.98
5.2.140.0070.01610.98
5.2.130.0030.01710.96
5.2.120.0060.01410.96
5.2.110.0020.01910.97
5.2.100.0050.01510.96
5.2.90.0030.01710.96
5.2.80.0050.02010.96
5.2.70.0050.02110.96
5.2.60.0040.02010.94
5.2.50.0050.02010.92
5.2.40.0050.01710.91
5.2.30.0020.01710.90
5.2.20.0060.01410.89
5.2.10.0050.01610.86
5.2.00.0020.01810.78
5.1.60.0040.01410.43
5.1.50.0030.01510.43
5.1.40.0060.01210.41
5.1.30.0010.01710.59
5.1.20.0070.01410.60
5.1.10.0020.01610.46
5.1.00.0020.01910.46
5.0.50.0030.0129.70
5.0.40.0010.0149.63
5.0.30.0010.0199.54
5.0.20.0040.0109.53
5.0.10.0030.0129.51
5.0.00.0050.0159.51
4.4.90.0030.0098.79
4.4.80.0030.0098.77
4.4.70.0020.0108.77
4.4.60.0020.0108.77
4.4.50.0030.0098.78
4.4.40.0040.0148.75
4.4.30.0020.0108.77
4.4.20.0020.0108.82
4.4.10.0050.0078.82
4.4.00.0030.0138.78
4.3.110.0020.0098.73
4.3.100.0020.0118.73
4.3.90.0040.0078.71
4.3.80.0040.0138.69
4.3.70.0040.0108.71
4.3.60.0030.0118.71
4.3.50.0020.0108.71
4.3.40.0050.0178.66
4.3.30.0050.0078.04
4.3.20.0020.0118.02
4.3.10.0010.0128.01
4.3.00.0080.01110.06

preferences:
49.2 ms | 400 KiB | 5 Q