@ 2018-10-31T10:12:26Z <?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": []
}');
$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'
}");
var_dump($new, $old);
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.6 0.014 0.007 18.32 8.3.5 0.010 0.013 17.81 8.3.4 0.014 0.003 18.71 8.3.3 0.010 0.007 18.54 8.3.2 0.006 0.003 19.04 8.3.1 0.009 0.000 23.64 8.3.0 0.009 0.000 20.45 8.2.18 0.013 0.003 16.63 8.2.17 0.016 0.003 22.96 8.2.16 0.011 0.004 22.13 8.2.15 0.009 0.000 24.18 8.2.14 0.009 0.000 24.66 8.2.13 0.008 0.000 19.70 8.2.12 0.008 0.000 26.35 8.2.11 0.007 0.003 20.56 8.2.10 0.010 0.006 17.66 8.2.9 0.000 0.008 17.50 8.2.8 0.008 0.000 17.97 8.2.7 0.008 0.000 17.80 8.2.6 0.005 0.003 18.09 8.2.5 0.006 0.003 18.10 8.2.4 0.006 0.003 19.27 8.2.3 0.000 0.008 19.20 8.2.2 0.000 0.008 18.07 8.2.1 0.004 0.004 17.89 8.2.0 0.004 0.004 17.51 8.1.28 0.010 0.010 25.92 8.1.27 0.006 0.003 18.88 8.1.26 0.011 0.000 26.35 8.1.25 0.000 0.008 28.09 8.1.24 0.006 0.003 23.97 8.1.23 0.012 0.000 19.22 8.1.22 0.007 0.003 17.74 8.1.21 0.006 0.003 18.77 8.1.20 0.000 0.009 17.22 8.1.19 0.000 0.009 17.22 8.1.18 0.004 0.004 18.10 8.1.17 0.004 0.004 18.59 8.1.16 0.003 0.005 18.79 8.1.15 0.004 0.004 18.75 8.1.14 0.004 0.004 22.06 8.1.13 0.004 0.004 21.96 8.1.12 0.004 0.004 17.28 8.1.11 0.004 0.004 17.29 8.1.10 0.004 0.004 17.37 8.1.9 0.008 0.000 17.29 8.1.8 0.005 0.003 17.29 8.1.7 0.007 0.003 17.29 8.1.6 0.003 0.006 17.46 8.1.5 0.003 0.006 17.40 8.1.4 0.006 0.003 17.48 8.1.3 0.000 0.012 17.43 8.1.2 0.000 0.009 17.57 8.1.1 0.000 0.009 17.38 8.1.0 0.004 0.008 17.44 8.0.30 0.004 0.004 18.77 8.0.29 0.004 0.004 16.75 8.0.28 0.000 0.007 18.52 8.0.27 0.000 0.007 17.20 8.0.26 0.007 0.000 18.39 8.0.25 0.004 0.004 16.80 8.0.24 0.000 0.007 16.79 8.0.23 0.004 0.004 16.92 8.0.22 0.005 0.005 16.79 8.0.21 0.005 0.002 16.85 8.0.20 0.000 0.007 16.89 8.0.19 0.004 0.004 16.93 8.0.18 0.008 0.000 16.91 8.0.17 0.000 0.011 16.91 8.0.16 0.000 0.008 16.89 8.0.15 0.000 0.007 16.79 8.0.14 0.004 0.004 16.85 8.0.13 0.000 0.006 13.20 8.0.12 0.000 0.009 16.83 8.0.11 0.000 0.008 16.71 8.0.10 0.005 0.003 16.72 8.0.9 0.004 0.004 16.90 8.0.8 0.005 0.016 16.88 8.0.7 0.000 0.008 16.89 8.0.6 0.005 0.003 16.74 8.0.5 0.003 0.006 16.69 8.0.3 0.014 0.010 17.06 8.0.2 0.009 0.016 17.40 8.0.1 0.009 0.000 17.05 8.0.0 0.013 0.011 16.79 7.4.33 0.000 0.005 15.55 7.4.32 0.004 0.004 16.55 7.4.30 0.000 0.007 16.57 7.4.29 0.007 0.000 16.36 7.4.28 0.004 0.004 16.44 7.4.27 0.006 0.003 16.59 7.4.26 0.007 0.000 16.46 7.4.25 0.008 0.000 16.46 7.4.24 0.004 0.004 16.47 7.4.23 0.004 0.004 16.55 7.4.22 0.004 0.004 16.54 7.4.21 0.010 0.009 16.48 7.4.20 0.000 0.007 16.34 7.4.16 0.016 0.006 16.41 7.4.14 0.012 0.013 17.86 7.4.13 0.015 0.006 16.36 7.4.12 0.016 0.008 16.40 7.4.11 0.019 0.006 16.49 7.4.10 0.011 0.008 16.38 7.4.9 0.019 0.010 16.37 7.4.8 0.012 0.009 19.39 7.4.7 0.007 0.013 16.45 7.4.6 0.017 0.003 16.37 7.4.5 0.010 0.007 16.45 7.4.4 0.016 0.004 16.36 7.3.33 0.003 0.003 12.91 7.3.32 0.003 0.003 13.13 7.3.31 0.006 0.003 16.00 7.3.30 0.000 0.007 16.05 7.3.29 0.003 0.003 15.99 7.3.28 0.009 0.012 16.17 7.3.26 0.013 0.009 16.38 7.3.24 0.009 0.014 16.25 7.3.23 0.010 0.012 16.24 7.3.21 0.009 0.012 16.45 7.3.20 0.009 0.013 16.61 7.3.19 0.017 0.003 16.57 7.3.18 0.009 0.009 16.46 7.3.17 0.013 0.008 16.11 7.3.16 0.012 0.009 16.41 7.2.33 0.007 0.015 16.53 7.2.32 0.016 0.012 16.51 7.2.31 0.004 0.018 16.21 7.2.30 0.013 0.009 16.31 7.2.29 0.013 0.013 16.43
preferences:dark mode live preview
29.05 ms | 401 KiB | 5 Q