3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonString = '{"type":"FeatureCollection","features":[{"id":"0eb3d8a7d9afa466766e90b47f2bd785","type":"Feature","properties":{"feature-description":"<div id=\"content\">html content here</div>"},"geometry":{"coordinates":[[[144.87452272951856,-37.72702750630904],[145.00292543948336,-37.78131678501029],[145.12926821291518,-37.732458226660285],[145.11278872073137,-37.70801684893612],[144.9184680420177,-37.72431199679091],[144.87452272951856,-37.72702750630904]]],"type":"Polygon"}}]}'; $json = json_decode( $jsonString,1 ); 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.0150.00718.31
8.3.50.0070.01117.29
8.3.40.0140.00718.70
8.3.30.0120.00318.76
8.3.20.0060.00321.59
8.3.10.0090.00020.97
8.3.00.0190.00021.69
8.2.180.0110.00325.92
8.2.170.0110.01122.96
8.2.160.0100.00322.11
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0060.00322.24
8.2.100.0040.00819.04
8.2.90.0000.00917.75
8.2.80.0060.00319.35
8.2.70.0000.00817.79
8.2.60.0000.00818.22
8.2.50.0000.00719.25
8.2.40.0040.00420.99
8.2.30.0050.00320.43
8.2.20.0060.00317.94
8.2.10.0000.00719.02
8.2.00.0000.00818.17
8.1.280.0090.00625.92
8.1.270.0060.00320.69
8.1.260.0060.00326.35
8.1.250.0040.01328.09
8.1.240.0060.00322.14
8.1.230.0070.00419.09
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0050.00517.22
8.1.190.0000.00819.03
8.1.180.0030.00518.10
8.1.170.0030.00618.55
8.1.160.0030.00518.89
8.1.150.0070.00018.81
8.1.140.0070.00020.19
8.1.130.0070.00020.25
8.1.120.0080.00417.39
8.1.110.0000.00717.35
8.1.100.0030.00617.35
8.1.90.0040.00417.43
8.1.80.0070.00017.46
8.1.70.0030.00717.46
8.1.60.0030.00517.54
8.1.50.0060.00317.45
8.1.40.0050.00317.52
8.1.30.0000.00817.64
8.1.20.0030.00617.63
8.1.10.0050.00317.55
8.1.00.0000.00717.39
8.0.300.0070.00019.69
8.0.290.0040.00416.75
8.0.280.0070.00018.36
8.0.270.0070.00017.25
8.0.260.0000.00618.39
8.0.250.0030.00316.98
8.0.240.0000.00616.88
8.0.230.0030.00316.93
8.0.220.0030.00316.77
8.0.210.0030.00316.70
8.0.200.0000.00716.82
8.0.190.0080.00016.95
8.0.180.0000.00716.87
8.0.170.0080.00016.84
8.0.160.0070.00016.70
8.0.150.0000.01016.72
8.0.140.0000.00716.87
8.0.130.0030.00313.38
8.0.120.0050.00216.89
8.0.110.0000.00716.89
8.0.100.0040.00416.84
8.0.90.0040.00416.74
8.0.80.0060.01116.88
8.0.70.0070.00016.95
8.0.60.0040.00416.90
8.0.50.0040.00416.95
8.0.30.0100.00616.99
8.0.20.0090.01416.76
8.0.10.0040.00417.08
8.0.00.0120.00516.74
7.4.330.0000.00515.55
7.4.320.0040.00416.47
7.4.300.0030.00316.49
7.4.290.0000.00716.40
7.4.280.0000.00716.57
7.4.270.0040.00716.61
7.4.260.0000.00816.42
7.4.250.0030.00316.37
7.4.240.0040.00416.57
7.4.230.0030.00516.68
7.4.220.0050.00316.34
7.4.210.0090.00716.51
7.4.200.0030.00316.34
7.4.160.0090.00716.52
7.4.140.0100.00717.86
7.4.130.0120.00616.50
7.4.120.0060.01116.42
7.4.110.0070.01016.46
7.4.100.0170.00716.61
7.4.90.0080.00816.50
7.4.80.0110.00719.39
7.4.70.0080.00816.34
7.4.60.0030.01316.59
7.4.50.0070.00716.37
7.4.40.0070.01816.52
7.4.00.0050.01115.00
7.3.330.0060.00013.14
7.3.320.0060.00013.13
7.3.310.0030.00316.25
7.3.300.0000.00716.16
7.3.290.0070.00716.25
7.3.280.0070.01016.21
7.3.260.0080.01116.32
7.3.240.0090.01116.35
7.3.230.0130.00416.39
7.3.210.0090.00916.23
7.3.200.0030.01416.55
7.3.190.0080.00816.45
7.3.180.0130.00616.29
7.3.170.0110.00616.34
7.3.160.0070.01116.42
7.3.120.0070.01014.63
7.3.110.0100.00514.77
7.3.100.0090.00814.59
7.3.90.0050.00814.40
7.3.80.0050.01014.63
7.3.70.0090.00314.83
7.3.60.0100.00514.77
7.3.50.0070.00914.80
7.3.40.0070.00414.62
7.3.30.0070.00814.70
7.3.20.0020.01116.47
7.3.10.0080.00616.50
7.3.00.0060.00716.51
7.2.330.0140.00416.43
7.2.320.0060.01016.56
7.2.310.0070.01016.73
7.2.300.0060.01016.76
7.2.290.0060.01316.42
7.2.250.0020.01415.08
7.2.240.0050.00914.84
7.2.230.0020.01514.98
7.2.220.0050.01315.11
7.2.210.0110.00614.95
7.2.200.0090.00715.09
7.2.190.0020.01014.85
7.2.180.0010.01215.02
7.2.170.0010.01214.91
7.2.160.0070.00714.84
7.2.150.0050.01316.72
7.2.140.0130.00516.78
7.2.130.0090.00916.63
7.2.120.0080.00816.78
7.2.110.0060.01016.68
7.2.100.0050.00816.81
7.2.90.0040.00916.81
7.2.80.0080.01016.79
7.2.70.0100.00717.02
7.2.60.0040.01016.82
7.2.50.0080.01016.80
7.2.40.0050.01016.66
7.2.30.0100.00816.92
7.2.20.0100.00716.96
7.2.10.0060.00616.78
7.2.00.0050.01017.00
7.1.330.0060.00815.77
7.1.320.0020.01115.77
7.1.310.0050.01215.62
7.1.300.0020.01215.64
7.1.290.0110.00015.75
7.1.280.0070.00615.48
7.1.270.0070.00515.66
7.1.260.0070.00715.77
7.1.250.0060.01015.67
7.1.240.0070.00715.71
7.1.230.0000.01115.63
7.1.220.0000.01315.69
7.1.210.0050.00515.52
7.1.200.0000.01015.63
7.1.190.0090.00615.76
7.1.180.0110.00315.75
7.1.170.0070.00715.29
7.1.160.0030.01015.66
7.1.150.0030.01015.61
7.1.140.0040.01115.70
7.1.130.0120.00015.45
7.1.120.0120.00015.76
7.1.110.0090.00615.71
7.1.100.0060.01015.57
7.1.90.0090.00315.76
7.1.80.0080.00415.57
7.1.70.0000.00815.84
7.1.60.0040.00415.70
7.1.50.0030.01015.72
7.1.40.0040.01115.43
7.1.30.0030.01015.77
7.1.20.0050.00315.66
7.1.10.0030.00515.80
7.1.00.0080.00415.65

preferences:
57.18 ms | 401 KiB | 5 Q