3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonString = '"{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"id\": \"0eb3d8a7d9afa466766e90b47f2bd785\",\n \"type\": \"Feature\",\n \"properties\": {\n \"feature-description\": \"<div id=\"content\">html content here</div>\"\n },\n \"geometry\": {\n \"coordinates\": [\n [\n [\n 144.87452272951856,\n -37.72702750630904\n ],\n [\n 145.00292543948336,\n -37.78131678501029\n ],\n [\n 145.12926821291518,\n -37.732458226660285\n ],\n [\n 145.11278872073137,\n -37.70801684893612\n ],\n [\n 144.9184680420177,\n -37.72431199679091\n ],\n [\n 144.87452272951856,\n -37.72702750630904\n ]\n ]\n ],\n \"type\": \"Polygon\"\n }\n }\n ]\n}"'; $json = json_decode( $jsonString ); echo gettype($json); // string

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.0140.00018.55
8.3.50.0100.00716.35
8.3.40.0040.01118.70
8.3.30.0110.01118.68
8.3.20.0070.01121.79
8.3.10.0060.00320.96
8.3.00.0140.00421.51
8.2.180.0070.00725.92
8.2.170.0140.00722.96
8.2.160.0070.01422.03
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0120.00626.16
8.2.110.0060.00322.29
8.2.100.0120.00319.03
8.2.90.0040.00417.63
8.2.80.0030.00517.97
8.2.70.0040.00417.80
8.2.60.0050.00318.03
8.2.50.0040.00419.38
8.2.40.0050.00319.11
8.2.30.0030.00620.30
8.2.20.0030.00618.09
8.2.10.0000.00818.92
8.2.00.0070.00019.84
8.1.280.0070.00725.92
8.1.270.0000.00820.75
8.1.260.0070.01126.35
8.1.250.0030.00628.09
8.1.240.0080.00022.02
8.1.230.0040.00718.98
8.1.220.0080.00017.80
8.1.210.0060.00318.77
8.1.200.0030.00617.25
8.1.190.0020.00518.81
8.1.180.0040.00418.10
8.1.170.0030.00618.36
8.1.160.0040.00418.91
8.1.150.0070.00018.75
8.1.140.0030.00320.15
8.1.130.0030.00320.23
8.1.120.0030.00817.45
8.1.110.0050.00217.45
8.1.100.0050.00317.41
8.1.90.0080.00017.33
8.1.80.0030.00417.44
8.1.70.0050.00517.34
8.1.60.0090.00017.56
8.1.50.0050.00317.50
8.1.40.0030.00517.52
8.1.30.0000.00717.59
8.1.20.0030.00617.61
8.1.10.0000.00917.49
8.1.00.0040.00417.38
8.0.300.0070.00019.77
8.0.290.0080.00016.75
8.0.280.0030.00318.44
8.0.270.0040.00417.12
8.0.260.0030.00318.36
8.0.250.0000.00716.93
8.0.240.0040.00416.91
8.0.230.0000.00716.90
8.0.220.0030.00316.71
8.0.210.0000.00716.68
8.0.200.0000.00716.75
8.0.190.0030.00616.72
8.0.180.0000.00716.83
8.0.170.0040.00416.85
8.0.160.0040.00416.90
8.0.150.0140.00416.64
8.0.140.0000.00716.72
8.0.130.0060.00013.32
8.0.120.0050.00216.76
8.0.110.0040.00316.83
8.0.100.0070.00016.87
8.0.90.0080.00016.79
8.0.80.0050.00916.77
8.0.70.0000.00816.88
8.0.60.0000.00916.91
8.0.50.0030.00516.91
8.0.30.0030.01416.85
8.0.20.0090.00917.16
8.0.10.0000.00817.09
8.0.00.0060.01516.79
7.4.330.0000.00415.55
7.4.320.0000.00716.56
7.4.300.0000.00616.63
7.4.290.0020.00516.43
7.4.280.0000.00616.49
7.4.270.0000.00716.55
7.4.260.0040.00416.47
7.4.250.0070.00016.46
7.4.240.0000.00816.50
7.4.230.0040.00416.50
7.4.220.0000.00716.54
7.4.210.0080.00716.57
7.4.200.0000.00816.25
7.4.160.0110.00816.53
7.4.140.0120.00517.86
7.4.130.0100.00716.60
7.4.120.0120.00616.66
7.4.110.0080.00816.58
7.4.100.0150.00616.48
7.4.90.0070.01416.66
7.4.80.0130.01019.39
7.4.70.0000.01616.59
7.4.60.0030.01316.69
7.4.50.0040.01216.45
7.4.40.0080.00816.48
7.4.10.0030.01415.11
7.4.00.0050.01014.67
7.3.330.0000.00513.07
7.3.320.0030.00312.95
7.3.310.0070.00016.25
7.3.300.0030.00316.03
7.3.290.0060.00916.15
7.3.280.0050.01116.17
7.3.260.0100.01016.33
7.3.240.0070.01116.26
7.3.230.0110.00816.46
7.3.210.0110.00616.30
7.3.200.0100.00616.37
7.3.190.0000.01516.32
7.3.180.0140.00416.25
7.3.170.0030.01316.36
7.3.160.0070.01116.15
7.3.130.0030.01014.74
7.3.120.0000.01214.45
7.3.110.0130.00314.80
7.3.100.0110.00314.97
7.3.90.0100.00314.84
7.3.80.0030.00814.88
7.3.70.0040.00814.74
7.3.60.0000.00814.86
7.3.50.0090.00514.67
7.3.40.0100.00614.66
7.3.30.0080.00514.64
7.3.20.0120.00615.56
7.3.10.0080.00615.71
7.3.00.0100.00915.44
7.2.330.0100.00716.62
7.2.320.0120.00916.76
7.2.310.0140.00316.39
7.2.300.0080.00916.75
7.2.290.0120.00716.57
7.2.260.0070.01114.78
7.2.250.0040.01215.07
7.2.240.0140.00015.04
7.2.230.0040.01214.92
7.2.220.0040.01114.89
7.2.210.0100.00014.93
7.2.200.0130.00314.92
7.2.190.0100.00015.03
7.2.180.0130.00515.00
7.2.170.0110.00614.92
7.2.160.0110.00514.99
7.2.150.0080.00716.04
7.2.140.0090.00715.92
7.2.130.0110.01315.76
7.2.120.0170.00515.89
7.2.110.0150.00615.75
7.2.100.0080.00715.92
7.2.90.0120.00615.64
7.2.80.0130.00816.11
7.2.70.0070.00916.03
7.2.60.0110.01115.95
7.2.50.0170.01515.86
7.2.40.0110.00716.06
7.2.30.0190.00316.93
7.2.20.0070.01016.94
7.2.10.0080.00416.88
7.2.00.0080.00416.74
7.1.330.0040.00815.95
7.1.320.0030.00715.67
7.1.310.0000.01315.43
7.1.300.0070.00315.76
7.1.290.0000.01515.75
7.1.280.0080.00714.79
7.1.270.0060.01014.81
7.1.260.0150.00514.81
7.1.250.0150.00614.69
7.1.240.0100.00615.90
7.1.230.0080.00515.87
7.1.220.0060.00615.54
7.1.210.0060.00315.68
7.1.200.0070.00715.69
7.1.190.0040.01115.60
7.1.180.0110.00315.73
7.1.170.0070.00715.48
7.1.160.0060.00615.71
7.1.150.0000.01515.66
7.1.140.0040.01115.46
7.1.130.0060.00615.52
7.1.120.0080.00315.52
7.1.110.0000.01415.68
7.1.100.0040.01115.94
7.1.90.0000.01315.74
7.1.80.0110.00415.66
7.1.70.0040.00415.61
7.1.60.0070.00315.61
7.1.50.0000.00815.90
7.1.40.0070.00715.70
7.1.30.0060.00915.73
7.1.20.0000.01315.71
7.1.10.0030.01015.69
7.1.00.0000.01015.87

preferences:
56.94 ms | 401 KiB | 5 Q