3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '"\ud834"'; $res = json_decode($test, true); if (json_last_error() != JSON_ERROR_NONE) { die(json_last_error_msg()); } var_dump($res);

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.0170.00316.75
8.3.50.0160.00421.86
8.3.40.0040.01118.75
8.3.30.0070.00718.86
8.3.20.0070.01120.16
8.3.10.0040.00423.52
8.3.00.0030.00619.38
8.2.180.0100.01018.54
8.2.170.0110.00422.96
8.2.160.0030.01020.39
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0090.00319.24
8.2.120.0070.00026.35
8.2.110.0070.00322.25
8.2.100.0090.00317.91
8.2.90.0060.00319.13
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0000.00817.93
8.2.50.0060.00318.07
8.2.40.0080.00019.45
8.2.30.0090.00020.55
8.2.20.0070.00417.68
8.2.10.0000.00718.07
8.2.00.0070.00018.15
8.1.280.0140.00725.92
8.1.270.0040.00422.21
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0040.00422.46
8.1.230.0040.00817.66
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0060.00318.46
8.1.160.0080.00021.88
8.1.150.0030.00618.80
8.1.140.0030.00519.45
8.1.130.0000.00717.65
8.1.120.0070.00017.38
8.1.110.0060.00317.51
8.1.100.0030.00317.50
8.1.90.0000.00817.48
8.1.80.0030.00417.45
8.1.70.0000.00717.42
8.1.60.0090.00017.51
8.1.50.0000.00917.40
8.1.40.0020.00517.50
8.1.30.0000.00817.54
8.1.20.0040.00417.66
8.1.10.0040.00417.52
8.1.00.0060.00317.47
8.0.300.0040.00418.77
8.0.290.0020.00516.63
8.0.280.0070.00018.30
8.0.270.0050.00317.25
8.0.260.0030.00317.07
8.0.250.0040.00416.87
8.0.240.0000.00616.91
8.0.230.0050.00216.96
8.0.220.0030.00316.77
8.0.210.0040.00416.87
8.0.200.0040.00416.99
8.0.190.0040.00416.90
8.0.180.0000.00816.80
8.0.170.0040.00416.80
8.0.160.0000.00716.88
8.0.150.0070.00016.85
8.0.140.0040.00416.71
8.0.130.0030.00313.33
8.0.120.0050.00216.81
8.0.110.0050.00216.88
8.0.100.0000.00716.85
8.0.90.0080.00016.96
8.0.80.0120.00316.86
8.0.70.0000.00716.77
8.0.60.0070.00017.00
8.0.50.0030.00516.95
8.0.30.0170.00517.20
8.0.20.0120.00917.40
8.0.10.0040.00416.94
8.0.00.0140.00616.86
7.4.330.0000.00515.08
7.4.320.0060.00016.61
7.4.300.0040.00416.61
7.4.290.0070.00016.45
7.4.280.0080.00016.55
7.4.270.0070.00016.55
7.4.260.0000.00816.51
7.4.250.0070.00016.57
7.4.240.0060.00116.51
7.4.230.0000.00716.39
7.4.220.0090.00916.44
7.4.210.0080.00716.61
7.4.200.0030.00316.70
7.4.160.0110.00516.44
7.4.150.0110.00617.40
7.4.140.0100.01117.86
7.4.130.0130.00316.35
7.4.120.0070.01016.46
7.4.110.0140.00916.37
7.4.100.0190.00516.46
7.4.90.0100.00716.62
7.4.80.0100.01019.39
7.4.70.0100.01016.43
7.4.60.0000.01616.42
7.4.50.0000.00916.42
7.4.40.0150.00416.37
7.4.30.0150.00616.66
7.4.00.0070.01014.70
7.3.330.0000.00513.05
7.3.320.0000.00512.96
7.3.310.0000.00816.16
7.3.300.0030.00316.30
7.3.290.0000.00716.15
7.3.280.0130.00516.27
7.3.270.0070.01017.40
7.3.260.0140.00316.21
7.3.240.0090.00816.27
7.3.230.0070.01016.50
7.3.210.0030.01416.23
7.3.200.0120.01116.50
7.3.190.0060.00916.15
7.3.180.0040.01216.15
7.3.170.0090.00916.48
7.3.160.0060.01116.31
7.3.120.0030.01014.91
7.3.110.0130.00714.71
7.3.100.0100.00314.75
7.3.90.0060.00315.01
7.3.80.0060.00314.79
7.3.70.0030.01114.47
7.3.60.0000.01014.79
7.3.50.0070.00714.66
7.3.40.0030.00914.82
7.3.30.0080.00514.77
7.3.20.0080.00416.50
7.3.10.0080.00516.60
7.3.00.0070.00516.47
7.2.330.0060.01216.66
7.2.320.0080.00916.41
7.2.310.0100.00716.37
7.2.300.0030.01416.63
7.2.290.0060.01516.37
7.2.250.0040.01414.85
7.2.240.0060.01314.82
7.2.230.0030.01314.95
7.2.220.0060.00914.88
7.2.210.0000.01214.94
7.2.200.0030.00614.82
7.2.190.0070.00715.05
7.2.180.0000.00914.89
7.2.170.0070.00714.99
7.2.130.0050.00916.81
7.2.120.0020.01116.63
7.2.110.0060.00916.91
7.2.100.0110.00316.76
7.2.90.0060.00616.88
7.2.80.0070.00716.81
7.2.70.0050.00516.70
7.2.60.0070.01016.75
7.2.50.0060.00916.81
7.2.40.0020.01316.81
7.2.30.0120.00516.72
7.2.20.0060.00816.89
7.2.10.0050.00816.82
7.2.00.0070.00317.55
7.1.330.0100.00315.61
7.1.320.0040.00415.83
7.1.310.0040.01115.68
7.1.300.0070.00315.58
7.1.290.0000.00915.40
7.1.280.0040.00415.69
7.1.270.0100.00315.82
7.1.260.0040.01115.82
7.1.250.0050.00715.62
7.1.240.0030.00915.72
7.1.230.0100.00715.61
7.1.220.0040.00815.61
7.1.210.0070.00715.46
7.1.200.0060.00815.73
7.1.190.0060.00615.68
7.1.180.0060.00315.78
7.1.170.0030.00915.74
7.1.160.0040.00715.71
7.1.150.0000.00915.88
7.1.140.0130.00315.48
7.1.130.0060.00315.66
7.1.120.0040.00815.73
7.1.110.0040.00815.70
7.1.100.0030.00816.85
7.1.90.0100.00315.93
7.1.80.0110.00315.44
7.1.70.0050.00516.35
7.1.60.0070.01017.67
7.1.50.0050.01016.01
7.1.40.0030.01415.40
7.1.30.0040.01115.55
7.1.20.0100.00315.75
7.1.10.0030.01015.88
7.1.00.0080.03918.99
7.0.330.0070.00715.21
7.0.320.0030.01015.34
7.0.310.0060.00314.98
7.0.300.0000.01415.04
7.0.290.0060.00315.14
7.0.280.0070.00315.21
7.0.270.0060.00615.12
7.0.260.0000.00914.86
7.0.250.0030.00915.34
7.0.240.0070.00714.97
7.0.230.0000.00815.24
7.0.220.0080.00315.28
7.0.210.0050.00515.16
7.0.200.0180.00514.90
7.0.190.0040.00715.15
7.0.180.0060.00615.24
7.0.170.0000.00915.22
7.0.160.0030.01215.24
7.0.150.0070.00715.07
7.0.140.0030.00915.26
7.0.130.0030.00615.42
7.0.120.0100.00715.21
7.0.110.0030.00614.95
7.0.100.0000.01115.14
7.0.90.0060.00614.93
7.0.80.0110.00015.27
7.0.70.0040.00715.06
7.0.60.0030.02717.64
7.0.50.0090.03216.61
7.0.40.0070.03316.88
7.0.30.0030.02716.78
7.0.20.0130.03316.65
7.0.10.0030.05116.78
7.0.00.0080.03816.62
5.6.380.0060.00614.24
5.6.370.0090.00614.19
5.6.360.0030.01014.48
5.6.350.0060.00314.42
5.6.340.0070.00714.35
5.6.330.0030.00614.27
5.6.320.0040.01113.70
5.6.310.0060.00613.85
5.6.300.0030.00813.99
5.6.290.0120.00013.96
5.6.280.0070.03717.56
5.6.270.0000.01513.87
5.6.260.0060.00314.22
5.6.250.0070.00414.10
5.6.240.0060.01014.19
5.6.230.0030.00714.20
5.6.220.0070.00314.23
5.6.210.0090.04017.48
5.6.200.0050.03816.15
5.6.190.0050.02917.36
5.6.180.0100.03217.26
5.6.170.0080.03317.45
5.6.160.0100.04417.28
5.6.150.0030.03316.09
5.6.140.0060.02316.30
5.6.130.0080.04116.12
5.6.120.0030.02717.66
5.6.110.0110.04017.54
5.6.100.0060.04317.62
5.6.90.0090.03517.64
5.6.80.0070.04117.33
5.6.70.0040.00414.09
5.6.60.0030.00913.85
5.6.50.0070.00713.80
5.6.40.0060.00613.89
5.6.30.0040.00414.07
5.6.20.0030.01014.00
5.6.10.0070.00414.29
5.6.00.0000.01114.02
5.5.380.0030.00711.64
5.5.370.0030.00711.64
5.5.360.0040.00411.64
5.5.350.2020.02416.03
5.5.340.0070.02714.81
5.5.330.0120.03516.10
5.5.320.0130.03715.96
5.5.310.0150.02515.98
5.5.300.0030.04314.83
5.5.290.0030.03314.77
5.5.280.0030.03116.20
5.5.270.0020.04516.21
5.5.260.0030.02516.18
5.5.250.0090.04016.16
5.5.240.0030.04015.91
5.5.230.0000.01111.64
5.5.220.0100.00011.64
5.5.210.0030.00311.64
5.5.200.0040.00711.64
5.5.190.0060.00011.64
5.5.180.0030.00311.64
5.5.170.0000.00811.64
5.5.160.0040.00411.64
5.5.150.0030.00311.64
5.5.140.0080.00011.64
5.5.130.0000.00811.64
5.5.120.0040.00811.64
5.5.110.0000.01011.64
5.5.100.0000.00811.64
5.5.90.0000.01011.64
5.5.80.0000.00711.64
5.5.70.0030.00311.64
5.5.60.0090.00011.64
5.5.50.0040.00411.64
5.5.40.0030.00611.64
5.5.30.0000.00711.64
5.5.20.0060.00611.64
5.5.10.0050.00011.64
5.5.00.0000.00711.64

preferences:
45.86 ms | 401 KiB | 5 Q