3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '"\u0420\u0430\u0437\u0434\u044b\u043c\u0430\u0445\u043e \u0418\u0433\u043e\u0440\u044c \u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440\u043e\u0432\u0438\u0447"'; var_dump(json_decode($a, true)); var_dump(json_last_error()); var_dump(json_last_error_msg());

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.0120.00318.53
8.3.30.0170.00318.42
8.3.20.0040.00419.25
8.3.10.0040.00423.48
8.3.00.0070.00020.64
8.2.170.0140.00422.96
8.2.160.0100.00722.13
8.2.150.0000.01424.18
8.2.140.0070.00324.66
8.2.130.0000.00719.82
8.2.120.0040.00426.35
8.2.110.0030.00620.97
8.2.100.0060.00617.78
8.2.90.0040.00417.75
8.2.80.0060.00317.97
8.2.70.0000.00817.65
8.2.60.0090.00018.03
8.2.50.0090.00518.10
8.2.40.0040.00419.17
8.2.30.0000.00719.18
8.2.20.0070.00017.87
8.2.10.0030.00518.04
8.2.00.0090.00017.50
8.1.270.0040.00422.14
8.1.260.0050.00326.35
8.1.250.0020.00528.09
8.1.240.0000.00823.83
8.1.230.0080.00417.42
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0040.00416.98
8.1.180.0040.00418.10
8.1.170.0000.00918.59
8.1.160.0000.00718.70
8.1.150.0000.00718.71
8.1.140.0030.00522.18
8.1.130.0040.00422.05
8.1.120.0040.00417.36
8.1.110.0030.00317.37
8.1.100.0050.00217.34
8.1.90.0000.00717.43
8.1.80.0000.00817.32
8.1.70.0040.00417.37
8.1.60.0080.00017.57
8.1.50.0050.00317.46
8.1.40.0050.00317.46
8.1.30.0000.00817.50
8.1.20.0030.00617.60
8.1.10.0030.00617.36
8.1.00.0030.00517.37
8.0.300.0060.00318.77
8.0.290.0030.00516.63
8.0.280.0000.00718.30
8.0.270.0070.00017.20
8.0.260.0030.00318.33
8.0.250.0030.00316.86
8.0.240.0070.00016.89
8.0.230.0060.00316.84
8.0.220.0030.00516.82
8.0.210.0030.00316.79
8.0.200.0000.00716.95
8.0.190.0040.00416.91
8.0.180.0000.00716.82
8.0.170.0060.00316.86
8.0.160.0040.00416.71
8.0.150.0090.00316.83
8.0.140.0030.00516.68
8.0.130.0000.00613.26
8.0.120.0000.00716.78
8.0.110.0070.00016.77
8.0.100.0040.00416.69
8.0.90.0050.00216.70
8.0.80.0110.00616.74
8.0.70.0000.00816.86
8.0.60.0080.00016.84
8.0.50.0070.00016.68
8.0.30.0090.01116.94
8.0.20.0310.01917.40
8.0.10.0040.00416.89
8.0.00.0100.01116.65
7.4.330.0000.00415.55
7.4.320.0060.00016.58
7.4.300.0030.00316.40
7.4.290.0000.00716.44
7.4.280.0040.00416.43
7.4.270.0060.00316.45
7.4.260.0030.00316.37
7.4.250.0040.00416.26
7.4.240.0070.00016.42
7.4.230.0030.00316.25
7.4.220.0000.00716.28
7.4.210.0080.00916.46
7.4.200.0000.00716.63
7.4.160.0110.00716.52
7.4.140.0110.00917.86
7.4.130.0030.01416.29
7.4.120.0090.00916.40
7.4.110.0120.01216.45
7.4.100.0040.01616.46
7.4.90.0060.01216.47
7.4.80.0110.00719.39
7.4.70.0080.00816.45
7.4.60.0120.00916.44
7.4.50.0030.01416.30
7.4.40.0110.00516.39
7.4.10.0090.00914.48
7.4.00.0050.01114.86
7.3.330.0020.00212.89
7.3.320.0030.00312.97
7.3.310.0030.00616.03
7.3.300.0070.00016.17
7.3.290.0050.00316.14
7.3.280.0060.01316.11
7.3.260.0060.01216.33
7.3.240.0100.00816.14
7.3.230.0090.00616.16
7.3.210.0140.00916.36
7.3.200.0040.01216.12
7.3.190.0100.01016.29
7.3.180.0030.01316.31
7.3.170.0040.01816.11
7.3.160.0080.00816.43
7.3.130.0030.01314.87
7.3.120.0050.01114.58
7.3.110.0130.00314.78
7.3.100.0080.00914.60
7.3.90.0070.00614.61
7.3.80.0080.00314.63
7.3.70.0020.00914.50
7.3.60.0050.00714.71
7.3.50.0030.01014.61
7.3.40.0060.00614.76
7.3.30.0060.00814.64
7.3.20.0050.00916.36
7.3.10.0060.00516.49
7.3.00.0060.00416.47
7.2.330.0090.00916.46
7.2.320.0030.01816.23
7.2.310.0130.00616.43
7.2.300.0080.00816.15
7.2.290.0160.00016.42
7.2.260.0040.01414.73
7.2.250.0020.01514.90
7.2.240.0080.01014.71
7.2.230.0060.01014.86
7.2.220.0030.00914.66
7.2.210.0090.00814.84
7.2.200.0080.00714.79
7.2.190.0050.00714.69
7.2.180.0020.01414.88
7.2.170.0050.00714.62
7.2.160.0130.00314.68
7.2.150.0030.00716.47
7.2.140.0050.00516.40
7.2.130.0130.00016.80
7.2.120.0000.01616.52
7.2.110.0170.00315.29
7.2.100.0090.00915.38
7.2.90.0120.01115.60
7.2.80.0130.01015.50
7.2.70.0130.00815.59
7.2.60.0400.00615.67
7.2.50.0110.01015.62
7.2.40.0110.01015.60
7.2.30.0120.00915.79
7.2.20.0160.00615.62
7.2.10.0140.00315.56
7.2.00.0110.00915.72
7.1.330.0080.00615.77
7.1.320.0080.00715.64
7.1.310.0040.00915.84
7.1.300.0070.00515.64
7.1.290.0090.00415.56
7.1.280.0040.00915.62
7.1.270.0070.00615.61
7.1.260.0080.00515.80
7.1.250.0090.00015.62
7.1.240.0040.00415.62
7.1.230.0130.00814.79
7.1.220.0160.00414.62
7.1.210.0130.00814.58
7.1.200.0080.00914.58
7.1.190.0140.00514.64
7.1.180.0130.00614.61
7.1.170.0120.00514.55
7.1.160.0130.00914.46
7.1.150.0110.00914.53
7.1.140.0120.00614.66
7.1.130.0130.01014.52
7.1.120.0140.00314.61
7.1.110.0160.00714.77
7.1.100.0160.00614.75
7.1.90.0130.00814.68
7.1.80.0110.00714.68
7.1.70.0100.00914.46
7.1.60.0260.00723.63
7.1.50.0230.01023.58
7.1.40.0200.00423.64
7.1.30.0200.00823.63
7.1.20.0230.00523.63
7.1.10.0100.00914.60
7.1.00.0140.00914.49
7.0.330.0070.00714.94
7.0.320.0060.00315.54
7.0.310.0030.00515.14
7.0.300.0060.00615.44
7.0.290.0030.01015.05
7.0.280.0070.00715.15
7.0.270.0080.00815.11
7.0.260.0000.01115.30
7.0.250.0070.00315.48
7.0.240.0070.00715.42
7.0.230.0070.00715.45
7.0.220.0070.00715.31
7.0.210.0000.01215.43
7.0.200.0000.01215.15
7.0.190.0030.01215.05
7.0.180.0000.01115.57
7.0.170.0060.00915.55
7.0.160.0000.00915.38
7.0.150.0030.00615.13
7.0.140.0030.00915.31
7.0.130.0110.00315.46
7.0.120.0030.00615.50
7.0.110.0000.01115.35
7.0.100.0060.00615.20
7.0.90.0030.00915.20
7.0.80.0060.00815.37
7.0.70.0030.00715.27
7.0.60.0030.01315.30
7.0.50.0060.00615.23
7.0.40.0070.00713.34
7.0.30.0100.00313.25
7.0.20.0030.01013.42
7.0.10.0030.00913.41
7.0.00.0090.00613.39
5.6.400.0030.00614.07
5.6.390.0030.00714.11
5.6.380.0040.00914.13
5.6.370.0000.01314.04
5.6.360.0100.00714.36
5.6.350.0050.00514.11
5.6.340.0110.00414.19
5.6.330.0040.01113.96
5.6.320.0040.01113.92
5.6.310.0060.00614.16
5.6.300.0040.00814.50
5.6.290.0070.00413.89
5.6.280.0070.00714.12
5.6.270.0000.00814.13
5.6.260.0070.01014.13
5.6.250.0070.00714.04
5.6.240.0070.00714.27
5.6.230.0060.00614.08
5.6.220.0060.00913.99
5.6.210.0040.00713.92
5.6.200.0070.00714.35
5.6.190.0050.00514.27
5.6.180.0000.01414.41
5.6.170.0070.00713.92
5.6.160.0030.01414.07
5.6.150.0100.00314.04
5.6.140.0000.01814.28
5.6.130.0130.00314.27
5.6.120.0080.00814.18
5.6.110.0000.01814.11
5.6.100.0100.00614.29
5.6.90.0100.01013.96
5.6.80.0090.00314.17
5.6.70.0030.00913.88
5.6.60.0060.01014.11
5.6.50.0080.00414.04
5.6.40.0070.00713.89
5.6.30.0070.01014.20
5.6.20.0060.00914.14
5.6.10.0070.01014.07
5.6.00.0090.00614.05

preferences:
38.68 ms | 400 KiB | 5 Q