3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = json_decode('[ { "id": 0, "guid": "37c6fa28-9cf2-4955-bf95-bd2fd122e83c", "isActive": false, "balance": "$2,339.00", "picture": "http://placehold.it/32x32", "age": 27, "name": "Melanie Washington", "gender": "female", "company": "Hydrocom", "email": "melaniewashington@hydrocom.com", "phone": "+1 (921) 414-3458", "address": "699 Dank Court, Coaldale, Louisiana, 4570", "about": "Velit ex ullamco non voluptate adipisicing voluptate ut nulla minim consequat esse commodo. Fugiat est cupidatat non quis mollit commodo ipsum eiusmod laboris. Ex eiusmod labore ex eu nostrud minim magna quis minim non consequat cupidatat.\r\n", "registered": "2002-03-23T17:30:23 -02:00", "latitude": -73.577501, "longitude": -93.995272, "catalog": [ { "label": "Books", "list": [ { "label": "ea", "list": [ { "label": "pariatur anim", "list": [ { "label": "mollit anim ad", "author": "Griffith Patel", "rating": 7, "published": "1993-05-27T13:57:14 -03:00" }, { "label": "velit qui exercitation", "author": "Fernandez Dominguez", "rating": 3, "published": "1998-01-14T23:11:03 -02:00" }, { "label": "velit do est", "author": "Esperanza Simon", "rating": 5, "published": "2012-08-07T02:17:24 -03:00" } ] }, { "label": "ex dolor", "list": [ { "label": "eiusmod id exercitation", "author": "Eliza Mejia", "rating": 9, "published": "2010-12-12T11:53:15 -02:00" }, { "label": "est veniam non", "author": "Melva Burton", "rating": 3, "published": "1997-08-28T14:24:43 -03:00" }, { "label": "do exercitation nostrud", "author": "Janelle Kramer", "rating": 5, "published": "2003-10-22T20:32:02 -03:00" } ] }, { "label": "pariatur exercitation", "list": [ { "label": "sint sint esse", "author": "Whitehead Flynn", "rating": 8, "published": "2003-02-08T23:50:56 -02:00" }, { "label": "in esse tempor", "author": "Slater Ford", "rating": 4, "published": "1996-04-28T14:51:15 -03:00" }, { "label": "elit elit minim", "author": "Casey Jefferson", "rating": 3, "published": "1995-02-04T17:17:01 -02:00" } ] } ] } ] } ], "tags": [ "sint", "enim", "est", "reprehenderit", "cillum", "quis", "occaecat" ], "friends": [ { "id": 0, "name": "Angelia Schultz" }, { "id": 1, "name": "Estrada Pierce" }, { "id": 2, "name": "Deanne Burt" } ], "customField": "Hello, Melanie Washington! You have 10 unread messages." } ]'); echo wddx_serialize_vars($list);
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
Fatal error: Uncaught Error: Call to undefined function wddx_serialize_vars() in /in/5S3RR:128 Stack trace: #0 {main} thrown in /in/5S3RR on line 128
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Fatal error: Call to undefined function wddx_serialize_vars() in /in/5S3RR on line 128
Process exited with code 255.
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
<wddxPacket version='1.0'><header/><data><struct></struct></data></wddxPacket>
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/5S3RR on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/5S3RR on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/5S3RR on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/5S3RR on line 2

preferences:
267.1 ms | 401 KiB | 462 Q