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 ); 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.0120.00918.30
8.3.50.0100.00618.13
8.3.40.0150.00618.89
8.3.30.0070.00718.71
8.3.20.0040.00423.61
8.3.10.0080.00020.89
8.3.00.0110.00721.77
8.2.180.0110.00325.92
8.2.170.0150.00622.96
8.2.160.0090.00622.12
8.2.150.0070.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0030.00620.53
8.2.100.0080.00319.63
8.2.90.0090.00017.63
8.2.80.0000.01018.75
8.2.70.0050.00317.63
8.2.60.0040.00417.50
8.2.50.0030.00517.63
8.2.40.0060.00719.26
8.2.30.0090.00419.53
8.2.20.0130.00218.23
8.2.10.0070.00518.73
8.2.00.0100.00218.46
8.1.280.0110.00425.92
8.1.270.0000.00820.48
8.1.260.0000.00826.35
8.1.250.0180.00028.09
8.1.240.0000.00920.62
8.1.230.0090.00320.95
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0060.01018.37
8.1.160.0060.00618.64
8.1.150.0090.00418.52
8.1.140.0070.00519.29
8.1.130.0080.00319.34
8.1.120.0070.00617.91
8.1.110.0060.00617.92
8.1.100.0040.00917.96
8.1.90.0050.00817.86
8.1.80.0030.00917.84
8.1.70.0050.00717.87
8.1.60.0050.00918.00
8.1.50.0080.00517.76
8.1.40.0080.00417.73
8.1.30.0100.00617.75
8.1.20.0090.00617.70
8.1.10.0090.00517.68
8.1.00.0040.00817.57
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0060.00718.04
8.0.270.0100.00217.30
8.0.260.0060.00618.07
8.0.250.0050.00517.29
8.0.240.0060.00617.42
8.0.230.0080.00317.22
8.0.220.0030.00917.20
8.0.210.0060.00517.30
8.0.200.0040.00817.19
8.0.190.0070.00517.38
8.0.180.0080.00417.12
8.0.170.0070.00616.99
8.0.160.0090.00416.86
8.0.150.0080.00617.01
8.0.140.0080.00516.89
8.0.130.0110.00215.97
8.0.120.0110.00516.95
8.0.110.0110.00516.98
8.0.100.0100.00516.96
8.0.90.0120.00417.02
8.0.80.0100.00816.90
8.0.70.0120.00416.84
8.0.60.0100.00416.95
8.0.50.0110.00316.92
8.0.30.0120.00616.93
8.0.20.0120.00617.15
8.0.10.0110.00817.20
8.0.00.0110.00717.08
7.4.330.0060.00216.58
7.4.320.0110.00017.06
7.4.300.0080.00317.12
7.4.290.0070.00416.84
7.4.280.0070.00616.75
7.4.270.0120.00616.72
7.4.260.0080.00816.72
7.4.250.0120.00616.66
7.4.240.0120.00416.60
7.4.230.0120.00516.61
7.4.220.0110.00516.77
7.4.210.0090.00816.59
7.4.200.0120.00416.67
7.4.190.0130.00416.79
7.4.180.0140.00416.84
7.4.160.0120.00616.61
7.4.150.0130.00516.88
7.4.140.0140.00417.10
7.4.130.0130.00716.82
7.4.120.0100.00816.75
7.4.110.0110.00716.81
7.4.100.0100.00716.83
7.4.90.0080.00916.81
7.4.80.0110.00617.26
7.4.70.0080.00816.77
7.4.60.0100.00616.75
7.4.50.0110.00716.74
7.4.40.0110.00716.72
7.4.30.0100.00716.82
7.4.20.0130.00616.84
7.4.10.0130.00816.81
7.4.00.0110.00616.57
7.3.330.0110.00415.71
7.3.320.0100.00615.74
7.3.310.0130.00316.45
7.3.300.0120.00416.49
7.3.290.0110.00516.56
7.3.280.0100.00716.35
7.3.270.0120.00516.85
7.3.260.0100.00816.55
7.3.250.0100.00916.81
7.3.240.0120.00616.60
7.3.230.0120.00616.74
7.3.220.0130.00516.76
7.3.210.0090.01016.71
7.3.200.0110.00716.71
7.3.190.0120.00616.65
7.3.180.0110.00916.69
7.3.170.0110.00816.70
7.3.160.0130.00416.69
7.3.150.0090.00916.72
7.3.140.0140.00816.71
7.3.130.0130.00816.71
7.3.120.0110.00716.47
7.3.110.0120.00716.42
7.3.100.0100.00816.41
7.3.90.0100.00716.59
7.3.80.0100.00816.53
7.3.70.0090.00916.56
7.3.60.0120.00616.52
7.3.50.0100.00716.29
7.3.40.0120.00516.30
7.3.30.0110.00716.36
7.3.20.0120.00717.23
7.3.10.0110.00717.25
7.3.00.0120.00817.23
7.2.340.0200.00516.86
7.2.330.0160.00816.87
7.2.320.0150.00916.79
7.2.310.0170.00716.79
7.2.300.0160.00716.81
7.2.290.0180.00816.83
7.2.280.0170.00716.82
7.2.270.0170.00916.84
7.2.260.0180.00616.80
7.2.250.0190.00516.84
7.2.240.0160.00716.66
7.2.230.0180.00716.56
7.2.220.0150.00716.60
7.2.210.0130.00916.58
7.2.200.0160.00716.67
7.2.190.0160.00716.60
7.2.180.0130.00816.44
7.2.170.0150.00616.46
7.2.160.0160.00616.51
7.2.150.0170.00617.47
7.2.140.0120.01117.49
7.2.130.0130.01017.52
7.2.120.0140.00817.54
7.2.110.0150.00717.50
7.2.100.0170.00617.50
7.2.90.0200.00717.49
7.2.80.0150.00817.53
7.2.70.0170.00817.48
7.2.60.0170.00717.52
7.2.50.0160.00717.44
7.2.40.0140.00817.53
7.2.30.0140.01017.50
7.2.20.0160.01017.50
7.2.10.0140.00817.53
7.2.00.0170.00717.57
7.1.330.0340.00516.77
7.1.320.0170.00516.82
7.1.310.0140.00716.70
7.1.300.0110.01016.75
7.1.290.0150.00716.72
7.1.280.0140.00916.62
7.1.270.0150.00616.59
7.1.260.0180.00416.60
7.1.250.0210.00816.55
7.1.240.0190.00316.87
7.1.230.0160.00716.85
7.1.220.0250.00716.84
7.1.210.0170.00916.86
7.1.200.0140.00916.88
7.1.190.0170.00616.83
7.1.180.0200.00616.81
7.1.170.0180.00616.80
7.1.160.0180.00516.85
7.1.150.0140.00816.84
7.1.140.0160.00716.84
7.1.130.0160.00516.84
7.1.120.0150.00716.89
7.1.110.0190.00516.79
7.1.100.0160.00516.83
7.1.90.0150.00816.79
7.1.80.0160.00616.82
7.1.70.0170.00716.79
7.1.60.0160.00816.81
7.1.50.0160.00516.89
7.1.40.0160.00716.86
7.1.30.0200.00416.85
7.1.20.0150.00716.82
7.1.10.0140.00716.84
7.1.00.0150.00516.82

preferences:
69.04 ms | 401 KiB | 5 Q