3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = '{\"Contact\":{\"ContactID\":\"pjohnson@sgqastg.com\",\"ContactOrigin\":\"LANDING_PAGE\",\"FirstName\":\"Pete\",\"LastName\":\"Johnson\",\"EmailAddress\":\"pjohnson@sgqastg.com\",\"PhoneNumber\":\"+1 925-225-7775\",\"YY1_JobTitle_MPS\":\"\",\"CountryName\":\"United Kingdom\",\"RegionName\":\"\",\"LanguageName\":\"\",\"CorporateAccountName\":\"Callidus\",\"CorporateAccountOrigin\":\"LANDING_PAGE\",\"CorporateAccountID\":\"Callidus\",\"YY1_LeadSource_MPST\":\"\",\"YY1_NumberofEmployees1_MPS\":\"131\",\"YY1_FormURL_MPS\":\"http:\\\/\\\/www.petejohnson.info\\\/petejohnson\\\/sap\\\/\",\"YY1_FormName_MPS\":\"Callidus Marketing Litmos\",\"MarketingPermissions\":[{\"ContactPermissionID\":\"pjohnson@sgqastg.com\",\"ContactPermissionOrigin\":\"EMAIL\",\"MarketingArea\":\"01\",\"CommunicationMedium\":\"EMAIL\",\"ContactPermission\":\"Y\",\"CommunicationDirection\":\"O\"},{\"ContactPermissionID\":\"+1 925-225-7775\",\"ContactPermissionOrigin\":\"PHONE\",\"MarketingArea\":\"01\",\"CommunicationMedium\":\"PHONE\",\"ContactPermission\":\"Y\",\"CommunicationDirection\":\"O\"}],\"Interactions\":[{\"CommunicationMedium\":\"WEB\",\"InteractionType\":\"Z_TRIAL_REQUEST\",\"MarketingArea\":\"01\",\"CampaignID\":\"\",\"InteractionContactOrigin\":\"LANDING_PAGE\",\"InteractionContactId\":\"pjohnson@sgqastg.com\",\"YY1_AgreedtoTCandPriva_MIA\":true,\"InteractionSourceDataURL\":\"http:\\\/\\\/www.petejohnson.info\\\/petejohnson\\\/sap\\\/\",\"InteractionContentSubject\":\"Callidus Marketing Litmos\",\"InteractionInterests\":[{\"ItemOfInterest\":\"281\"}]}]}}'; $data = stripslashes($data); echo json_encode($data);
Output for 7.3.0rc3
"{\"Contact\":{\"ContactID\":\"pjohnson@sgqastg.com\",\"ContactOrigin\":\"LANDING_PAGE\",\"FirstName\":\"Pete\",\"LastName\":\"Johnson\",\"EmailAddress\":\"pjohnson@sgqastg.com\",\"PhoneNumber\":\"+1 925-225-7775\",\"YY1_JobTitle_MPS\":\"\",\"CountryName\":\"United Kingdom\",\"RegionName\":\"\",\"LanguageName\":\"\",\"CorporateAccountName\":\"Callidus\",\"CorporateAccountOrigin\":\"LANDING_PAGE\",\"CorporateAccountID\":\"Callidus\",\"YY1_LeadSource_MPST\":\"\",\"YY1_NumberofEmployees1_MPS\":\"131\",\"YY1_FormURL_MPS\":\"http:\\\/\\\/www.petejohnson.info\\\/petejohnson\\\/sap\\\/\",\"YY1_FormName_MPS\":\"Callidus Marketing Litmos\",\"MarketingPermissions\":[{\"ContactPermissionID\":\"pjohnson@sgqastg.com\",\"ContactPermissionOrigin\":\"EMAIL\",\"MarketingArea\":\"01\",\"CommunicationMedium\":\"EMAIL\",\"ContactPermission\":\"Y\",\"CommunicationDirection\":\"O\"},{\"ContactPermissionID\":\"+1 925-225-7775\",\"ContactPermissionOrigin\":\"PHONE\",\"MarketingArea\":\"01\",\"CommunicationMedium\":\"PHONE\",\"ContactPermission\":\"Y\",\"CommunicationDirection\":\"O\"}],\"Interactions\":[{\"CommunicationMedium\":\"WEB\",\"InteractionType\":\"Z_TRIAL_REQUEST\",\"MarketingArea\":\"01\",\"CampaignID\":\"\",\"InteractionContactOrigin\":\"LANDING_PAGE\",\"InteractionContactId\":\"pjohnson@sgqastg.com\",\"YY1_AgreedtoTCandPriva_MIA\":true,\"InteractionSourceDataURL\":\"http:\\\/\\\/www.petejohnson.info\\\/petejohnson\\\/sap\\\/\",\"InteractionContentSubject\":\"Callidus Marketing Litmos\",\"InteractionInterests\":[{\"ItemOfInterest\":\"281\"}]}]}}"