@ 2018-10-31T10:12:10Z <?php
$new = json_decode('{
"id": 100,
"owner": {
"id": 719,
"name": "test",
"logo": null,
"naf": "3202A",
"siren": "123465687",
"phone": "000000000",
"speEntity": {
"strKey": "01",
"label": "Entreprise priv\u00e9e"
},
"industry": {
"strKey": "01.agri _sylvi_ peche",
"label": "Agriculture - Sylviculture - P\u00eache"
},
"speIndustry": {
"strKey": "01.agri _sylvi_ peche.agri _sylvi_ peche",
"label": "Agriculture - Sylviculture - P\u00eache"
},
"owner": null,
"workspace": {},
"siege": {}
},
"workspace": {},
"dateCreate": null,
"dateModify": "2018-10-30T16:27:02+0100",
"serialNumber": "tgnpettinoto",
"gender": {
"strKey": "01",
"label": "Monsieur"
},
"firstName": "Tristan",
"lastName": "Pettinotti",
"birthName": "Pettinotti",
"birthDate": "2990-03-12T00:00:00+0100",
"birthCity": "Trois",
"birthDepartment": {
"strKey": "25",
"label": "Doubs"
},
"birthCountry": {
"strKey": "FO",
"label": "F\u00c9RO\u00c9ILES"
},
"codificationEU": {
"strKey": "03",
"label": "EEE"
},
"nationality": {
"strKey": "AD",
"label": "ANDORRE"
},
"primaryLanguage": {
"strKey": "fo",
"label": "F\u00e9ro\u00efen"
},
"secondLanguage": {
"strKey": "eo",
"label": "Esp\u00e9ranto"
},
"thirdLanguage": {
"strKey": "kw",
"label": "Cornique"
},
"status": null,
"identityDocs": [{
"id": "2f8cc29a-6901-4f87-8afc-7c1f031ebd5f",
"name": "Note de frais_TRISTAN - OCTOBRE.pdf"
}, {
"id": "a303bd5c-046d-48d3-909f-90ba02cf3595",
"name": "Note de frais_TRISTAN - OCTOBRE.pdf"
}, {
"id": "b802bb29-a22b-41fd-bfc2-762b756cab73",
"name": "Note de frais_TRISTAN - OCTOBRE.pdf"
}, {
"id": "bbeeb24b-3d45-43cb-b704-f429b376c152",
"name": "Note de frais_TRISTAN - OCTOBRE.pdf"
}, {
"id": "c65e0808-c68d-4f98-b26b-f051ce0da117",
"name": "remy.png"
}, {
"id": "dd67c6e9-496e-4e3e-a4f7-a3b363df3c98",
"name": "trollface.png"
}],
"ssNumber": "123456789123000",
"ssDocs": [],
"residStatus": {
"strKey": "01",
"label": "Oui"
},
"residDocs": [{
"id": "94afd016-36c6-4f0b-91ed-8a702b9e7e12",
"name": "Note de frais_TRISTAN - OCTOBRE.pdf"
}],
"driverLicences": ["a", "ed"],
"driverLicDocs": [],
"disabledWorker": false,
"disabledWorkDocs": [],
"adaptedWorker": false,
"adaptedWorkDocs": [{
"id": "3a1f0ac7-e99b-46b2-9e01-c2a36d67c8c7",
"name": "trollface.png"
}, {
"id": "d2c08512-33a8-4184-86a6-7648ef23ad8d",
"name": "6211-1532336916.jpg"
}, {
"id": "f44aacf7-d3ce-4e52-ba79-7a32ad768e66",
"name": "mergeme.jpg"
}],
"civilianStatus": {
"strKey": "viem",
"label": "Vie maritale"
},
"childCount": 305,
"chargedPersons": 0,
"personalAddress": "u10 Route des Maisons",
"personalAdditionalAddress": "1\u00e9me \u00e9tage",
"postalCode": "10250",
"personalCity": "Paris",
"personalCountry": {
"strKey": "FO",
"label": "F\u00c9RO\u00c9ILES"
},
"addressProofDocs": [{
"id": "e0f13e67-94b7-497b-beca-f42f15a28e77",
"name": "CSE.01.6.020_HdvimW.docx"
}],
"proShortPhone": "328",
"proMobile": "0600000012",
"proPhone": "1600000011",
"proEmail": "tristan9@zol.it",
"personalEmail": "tristan8@pro.fr",
"personalPhone": "0600000013",
"emergencyFirstName": "",
"emergencyLastName": "Tata",
"emergencyPhone": "065589870",
"contract": {},
"alerts": []
}');
var_dump($new);
$old = json_decode("{
id: '100',
gender: {
strKey: '02',
label: 'Madame'
},
firstName: 'Test',
lastName: 'Test Name',
birthName: 'Name',
nationality: {
strKey: 'FR',
label: 'FRANCE'
},
birthCity: 'Lyon',
birthDate: '1950-03-10T00:00:00+01:00',
birthDepartment: {
strKey: '38',
label: 'Isère'
},
birthCountry: {
strKey: 'FR',
label: 'FRANCE'
},
category: null,
codificationEU: {
strKey: '02',
label: 'UE'
},
primaryLanguage: {
strKey: 'fr',
label: 'Français'
},
secondLanguage: {
strKey: 'en',
label: 'Anglais'
},
thirdLanguage: {
strKey: 'it',
label: 'Italien'
},
residStatus: {
strKey: '01',
label: 'Oui'
},
disabledWorker: null,
adaptedWorker: true,
driverLicences: [
'b',
'a'
],
ssNumber: '1234567891234',
civilianStatus: {
strKey: 'viem',
label: 'Vie maritale'
},
serialNumber: 'TEST-4224-TE',
childCount: '2',
chargedPersons: null,
personalAddress: '1 Route du Chemin',
personalAdditionalAddress: '2éme étage',
postalCode: '38000',
personalCity: 'Grenoble',
personalCountry: {
strKey: 'FR',
label: 'FRANCE'
},
proShortPhone: '32',
proMobile: '0600000010',
proPhone: '0600000010',
proEmail: 'test@test.fr',
personalEmail: 'test@pro.fr',
personalPhone: '0600000010',
emergencyFirstName: 'Foo',
emergencyLastName: 'Bar',
emergencyPhone: '0600000020'
}");
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
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).
Version System time (s) User time (s) Memory (MiB) 8.3.4 0.007 0.010 18.54 8.3.3 0.011 0.007 18.55 8.3.2 0.000 0.009 19.16 8.3.1 0.006 0.003 23.48 8.3.0 0.006 0.003 20.64 8.2.17 0.018 0.000 22.96 8.2.16 0.006 0.012 22.12 8.2.15 0.005 0.005 24.18 8.2.14 0.006 0.003 24.66 8.2.13 0.006 0.003 19.64 8.2.12 0.006 0.003 26.35 8.2.11 0.007 0.004 21.18 8.2.10 0.013 0.003 17.78 8.2.9 0.010 0.000 17.47 8.2.8 0.004 0.004 17.97 8.2.7 0.000 0.008 17.93 8.2.6 0.006 0.003 18.22 8.2.5 0.004 0.004 18.10 8.2.4 0.008 0.000 19.14 8.2.3 0.009 0.000 19.18 8.2.2 0.004 0.004 18.07 8.2.1 0.003 0.006 18.01 8.2.0 0.005 0.005 17.58 8.1.27 0.000 0.009 18.79 8.1.26 0.008 0.004 26.35 8.1.25 0.006 0.003 28.09 8.1.24 0.006 0.003 23.96 8.1.23 0.006 0.006 19.16 8.1.22 0.000 0.009 17.74 8.1.21 0.006 0.003 18.77 8.1.20 0.010 0.000 17.36 8.1.19 0.006 0.003 17.11 8.1.18 0.006 0.003 18.10 8.1.17 0.005 0.003 18.64 8.1.16 0.003 0.006 18.85 8.1.15 0.004 0.004 18.84 8.1.14 0.008 0.000 22.07 8.1.13 0.008 0.000 21.97 8.1.12 0.000 0.008 17.39 8.1.11 0.003 0.006 17.38 8.1.10 0.004 0.004 17.45 8.1.9 0.004 0.004 17.39 8.1.8 0.000 0.008 17.44 8.1.7 0.003 0.007 17.31 8.1.6 0.004 0.004 17.40 8.1.5 0.000 0.008 17.48 8.1.4 0.005 0.005 17.48 8.1.3 0.006 0.006 17.58 8.1.2 0.000 0.009 17.55 8.1.1 0.008 0.000 17.34 8.1.0 0.003 0.007 17.46 8.0.30 0.000 0.008 18.77 8.0.29 0.005 0.003 16.63 8.0.28 0.005 0.003 18.40 8.0.27 0.000 0.007 17.09 8.0.26 0.007 0.000 18.38 8.0.25 0.000 0.007 16.87 8.0.24 0.000 0.007 16.90 8.0.23 0.000 0.007 16.94 8.0.22 0.000 0.010 16.82 8.0.21 0.005 0.002 16.84 8.0.20 0.000 0.008 16.93 8.0.19 0.008 0.000 16.94 8.0.18 0.004 0.004 16.81 8.0.17 0.000 0.009 16.75 8.0.16 0.004 0.004 16.76 8.0.15 0.007 0.000 16.89 8.0.14 0.008 0.000 16.74 8.0.13 0.003 0.003 13.26 8.0.12 0.006 0.003 16.86 8.0.11 0.000 0.008 16.74 8.0.10 0.003 0.006 16.70 8.0.9 0.000 0.008 16.88 8.0.8 0.009 0.008 16.80 8.0.7 0.006 0.003 16.67 8.0.6 0.003 0.005 16.96 8.0.5 0.007 0.000 16.68 8.0.3 0.016 0.009 17.15 8.0.2 0.009 0.013 17.40 8.0.1 0.000 0.008 16.96 8.0.0 0.017 0.006 16.74 7.4.33 0.000 0.005 15.55 7.4.32 0.000 0.007 16.57 7.4.30 0.009 0.000 16.54 7.4.29 0.003 0.006 16.59 7.4.28 0.003 0.005 16.54 7.4.27 0.003 0.007 16.45 7.4.26 0.004 0.004 16.50 7.4.25 0.004 0.004 16.29 7.4.24 0.007 0.000 16.64 7.4.23 0.004 0.004 16.57 7.4.22 0.000 0.009 16.20 7.4.21 0.012 0.008 16.47 7.4.20 0.000 0.008 16.55 7.4.16 0.012 0.010 16.40 7.4.14 0.014 0.010 17.86 7.4.13 0.007 0.017 16.48 7.4.12 0.011 0.012 16.46 7.4.11 0.014 0.014 16.30 7.4.10 0.010 0.010 16.27 7.4.9 0.006 0.015 16.32 7.4.8 0.016 0.005 19.39 7.4.7 0.005 0.016 16.43 7.4.6 0.006 0.012 16.38 7.4.5 0.013 0.003 16.52 7.4.4 0.008 0.013 16.39 7.3.33 0.005 0.000 12.89 7.3.32 0.006 0.000 13.03 7.3.31 0.010 0.000 15.98 7.3.30 0.000 0.007 16.07 7.3.29 0.003 0.003 16.19 7.3.28 0.015 0.005 16.14 7.3.26 0.014 0.008 16.18 7.3.24 0.010 0.014 16.20 7.3.23 0.007 0.014 16.38 7.3.21 0.007 0.014 16.42 7.3.20 0.011 0.011 16.10 7.3.19 0.010 0.012 16.51 7.3.18 0.015 0.008 16.18 7.3.17 0.017 0.003 16.31 7.3.16 0.016 0.006 16.38 7.2.33 0.014 0.007 16.43 7.2.32 0.017 0.006 16.64 7.2.31 0.006 0.015 16.26 7.2.30 0.011 0.013 16.58 7.2.29 0.011 0.008 16.61
preferences:dark mode live preview
55.68 ms | 400 KiB | 5 Q