3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "key": "sendMail", "cartItems": [ { "bezeichnung": "test", "productname": "IGLO 5", "producttype": "Kunststoffsysteme", "windowtype": "Quadratisch", "typeopen": "rechts_kipp_open_mitte", "windowlong": "1000", "windowwide": "500", "dichtungen": "schwarz", "dekorfarbe": "", "outColorIn": "Grau", "outColorOut": "Grau", "selectedGriffe": "Standardgriff", "selectedOrnament": "Keine Angaben", "selectedVerglasung": "Keine Angaben", "selectedKante": "keine", "selectedSprossentyp": "Keine Angaben", "selectedSprossenmuster": "Keine Angaben", "selectedSprossenfarbe": "Keine Angaben", "selectedRahmenLinks": "Keine Angaben", "selectedRahmenRechts": "Keine Angaben", "selectedRahmenOben": "Keine Angaben", "selectedRahmenUnten": "Keine Angaben" } ], "personalData": { "name": "Hans Muster", "email": "hans.muster@email.ch", "tel": "0790012345", "agb": true } }'; $json_obj = json_decode($json); echo $json_obj->personalData->email; echo PHP_EOL; echo $json_obj->cartItems[0]->productname;

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.4.140.0120.00917.48
8.4.130.0070.00219.46
8.4.120.0120.00824.02
8.4.110.0100.01122.33
8.4.100.0150.00618.45
8.4.90.0100.00718.74
8.4.80.0100.01120.31
8.4.70.0070.01117.63
8.4.60.0120.00819.03
8.4.50.0050.00318.80
8.4.40.0040.01819.39
8.4.30.0060.01620.53
8.4.20.0100.01019.69
8.4.10.0030.00617.63
8.3.270.0110.01116.54
8.3.260.0060.00317.08
8.3.250.0050.00318.90
8.3.240.0150.00417.23
8.3.230.0140.00616.60
8.3.220.0060.01220.48
8.3.210.0070.00716.63
8.3.200.0050.00716.67
8.3.190.0090.00717.11
8.3.180.0100.01016.98
8.3.170.0090.00919.01
8.3.160.0000.01017.02
8.3.150.0090.00917.23
8.3.140.0110.00418.37
8.3.130.0100.00718.42
8.3.120.0060.00320.91
8.3.110.0120.00620.94
8.3.100.0030.00624.06
8.3.90.0120.00626.77
8.3.80.0030.00617.97
8.3.70.0060.00816.50
8.3.60.0090.00618.30
8.3.50.0080.00624.44
8.3.40.0090.00618.51
8.3.30.0090.00618.76
8.3.20.0060.00320.65
8.3.10.0050.00320.20
8.3.00.0040.00420.82
8.2.290.0090.00920.15
8.2.280.0100.00818.30
8.2.270.0060.01217.36
8.2.260.0100.00716.57
8.2.250.0040.01916.63
8.2.240.0000.00818.81
8.2.230.0030.00622.58
8.2.220.0040.00437.54
8.2.210.0080.00026.77
8.2.200.0100.00316.63
8.2.190.0070.01116.63
8.2.180.0160.00018.54
8.2.170.0130.00722.96
8.2.160.0100.00322.16
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0030.00526.16
8.2.120.0040.00426.16
8.2.110.0060.00322.25
8.2.100.0120.00017.97
8.2.90.0040.00417.96
8.2.80.0030.00618.75
8.2.70.0000.00817.63
8.2.60.0040.00417.50
8.2.50.0040.00418.10
8.2.40.0040.00419.29
8.2.30.0040.00419.23
8.2.20.0040.00418.17
8.2.10.0070.00019.36
8.2.00.0070.00019.17
8.1.330.0100.00922.04
8.1.320.0140.00716.00
8.1.310.0110.00716.61
8.1.300.0100.01019.54
8.1.290.0030.00618.88
8.1.280.0140.00325.92
8.1.270.0030.00623.73
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.97
8.1.230.0060.00622.70
8.1.220.0000.00717.78
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0090.00017.10
8.1.180.0040.00418.95
8.1.170.0040.00418.50
8.1.160.0000.00718.94
8.1.150.0070.00018.72
8.1.140.0030.00322.04
8.1.130.0030.00320.03
8.1.120.0000.00817.29
8.1.110.0040.00417.39
8.1.100.0050.00217.27
8.1.90.0000.00717.45
8.1.80.0000.00917.42
8.1.70.0060.00317.28
8.1.60.0030.00517.56
8.1.50.0000.00817.46
8.1.40.0040.00417.45
8.1.30.0000.00917.47
8.1.20.0000.00717.62
8.1.10.0070.00017.57
8.1.00.0050.00317.35
8.0.300.0040.00422.07
8.0.290.0000.00716.63
8.0.280.0030.00318.36
8.0.270.0040.00417.25
8.0.260.0060.00020.02
8.0.250.0070.00016.96
8.0.240.0030.00316.95
8.0.230.0030.00416.88
8.0.220.0030.00316.75
8.0.210.0070.00016.77
8.0.200.0000.00616.83
8.0.190.0000.00716.90
8.0.180.0050.00316.83
8.0.170.0000.01016.85
8.0.160.0070.00016.82
8.0.150.0040.00416.64
8.0.140.0040.00416.67
8.0.130.0000.00613.20
8.0.120.0000.00816.80
8.0.110.0040.00416.84
8.0.100.0030.00316.65
8.0.90.0040.00416.89
8.0.80.0060.00916.79
8.0.70.0000.00816.70
8.0.60.0040.00416.72
8.0.50.0000.00716.76
8.0.30.0130.00416.71
8.0.20.0090.00917.32
8.0.10.0040.00416.93
8.0.00.0130.01017.38
7.4.330.0000.00615.55
7.4.320.0050.00316.55
7.4.300.0030.00316.48
7.4.290.0050.00316.59
7.4.280.0080.00416.63
7.4.270.0060.00316.63
7.4.260.0000.00513.21
7.4.250.0070.00016.36
7.4.240.0040.00316.51
7.4.230.0000.00816.64
7.4.220.0030.00316.36
7.4.210.0060.01016.47
7.4.200.0070.00016.44
7.4.130.0120.00616.39
7.4.120.0110.01116.48
7.4.110.0120.01216.35
7.4.100.0150.00916.50
7.4.90.0100.00616.27
7.4.80.0070.01419.39
7.4.70.0090.00616.48
7.4.60.0110.00616.54
7.4.50.0070.00516.47
7.4.40.0130.00316.63
7.4.10.0090.00916.41
7.4.00.0050.01115.40
7.3.330.0000.00816.02
7.3.320.0000.00513.18
7.3.310.0070.00016.20
7.3.300.0070.00016.20
7.3.290.0070.01116.24
7.3.260.0170.00716.44
7.3.240.0090.01216.37
7.3.230.0150.00616.35
7.3.210.0120.00616.26
7.3.200.0060.00916.13
7.3.190.0090.00916.17
7.3.180.0070.01016.38
7.3.170.0090.00916.42
7.3.160.0080.00816.30
7.3.130.0030.01616.25
7.3.120.0070.00815.29
7.3.110.0070.00815.23
7.3.100.0100.00615.39
7.3.90.0070.00715.14
7.3.80.0060.00615.08
7.3.70.0060.00715.21
7.3.60.0060.00715.19
7.3.50.0110.00615.23
7.3.40.0100.00515.27
7.3.30.0040.01015.20
7.3.20.0040.01016.56
7.3.10.0030.00916.43
7.3.00.0060.00916.58
7.2.330.0110.00816.71
7.2.320.0060.01216.53
7.2.310.0040.01216.39
7.2.300.0060.01516.67
7.2.290.0120.00916.65
7.2.260.0100.01016.60
7.2.250.0080.00915.37
7.2.240.0090.00815.51
7.2.230.0060.01015.54
7.2.220.0060.00815.36
7.2.210.0060.00915.47
7.2.200.0040.01015.48
7.2.190.0080.00715.34
7.2.180.0080.00915.51
7.2.170.0050.00715.58
7.2.160.0110.00016.47
7.2.150.0060.00318.20
7.2.140.0040.00918.42
7.2.130.0090.00918.23
7.2.120.0040.00818.34
7.2.110.0030.01318.51
7.2.100.0120.00618.28
7.2.90.0120.00618.54
7.2.80.0100.00318.19
7.2.70.0110.00618.55
7.2.60.0030.01018.40
7.2.50.0140.00018.44
7.2.40.0070.00718.44
7.2.30.0040.01118.39
7.2.20.0070.01018.23
7.2.10.0110.00718.51
7.2.00.0120.00318.38
7.1.330.0070.00814.92
7.1.320.0050.00614.84
7.1.310.0100.00314.79
7.1.300.0110.00514.93
7.1.290.0040.00814.83
7.1.280.0090.00514.88
7.1.270.0070.00814.72
7.1.260.0140.00614.87

preferences:
29.88 ms | 403 KiB | 5 Q