3v4l.org

run code in 300+ PHP versions simultaneously
<?php $RawValue = '1535346790853${ "uid": 399, "orderInfo": { "id": "252533517261475840", "productId": 2 }, "userInfo": { "mobile": "18513102162", "idNumber": "3271015712830010", "jobType": 2, "idFrontPhoto": "CHEETAH_FINANCIAL-5b8011c7b2f5f2134ec70f46.jpeg", "handHeldPhoto": "CHEETAH_FINANCIAL-5b8011c7b2f5f2134ec70f46.jpeg", "birthPlace": "ji.marsha", "education": 4, "loanPurpose": 5, "monthlyIncome": 4000000, "religion": 1, "deviceInfo": { "Application": [ { "FirstInstallTime": "1524699795000", "Flags": "13123141", "LastUpdateTime": "1524699795000", "PackageName": "com.sonymobile.whitebalance", "VersionCode": "4194305", "VersionName": "2.0.A.0.1" }, { "FirstInstallTime": "1524699795000", "Flags": "13123141", "LastUpdateTime": "1524699795000", "PackageName": "com.sonymobile.whitebalance", "VersionCode": "4194305", "VersionName": "2.0.A.0.1" } ], "AudioExternal": [ { "date_added": "1525731290", "date_modified": "1217592000", "duration": "80043", "year": "", "is_music": "0", "is_notification": "0", "is_ringtone": "0", "is_alarm": "1", "mime_type": "application/ogg" }, { "date_added": "1525731290", "date_modified": "1217592000", "duration": "80043", "year": "", "is_music": "0", "is_notification": "0", "is_ringtone": "0", "is_alarm": "1", "mime_type": "application/ogg" } ], "AudioInternal": [ { "date_added": "1525731290", "date_modified": "1217592000", "duration": "80043", "year": "", "is_music": "0", "is_notification": "0", "is_ringtone": "0", "is_alarm": "1", "mime_type": "application/ogg" }, { "date_added": "1525731290", "date_modified": "1217592000", "duration": "80043", "year": "", "is_music": "0", "is_notification": "0", "is_ringtone": "0", "is_alarm": "1", "mime_type": "application/ogg" } ], "Browser_Android": [ { "title": "5 Pertanyaan ", "url": "https://magazine.job-like.com/5-pertanyaan-yang/", "date": "1532448005045", "bookmark": "0", "visits": "2" }, { "title": "5 Pertanyaan ", "url": "https://magazine.job-like.com/5-pertanyaan-yang/", "date": "1532448005045", "bookmark": "0", "visits": "2" } ], "Browser_Chrome": [ { "title": "5 Pertanyaan ", "url": "https://magazine.job-like.com/5-pertanyaan-yang/", "date": "1532448005045", "bookmark": "0", "visits": "2" }, { "title": "5 Pertanyaan ", "url": "https://magazine.job-like.com/5-pertanyaan-yang/", "date": "1532448005045", "bookmark": "0", "visits": "2" } ], "CalendarAttendees": [ { "attendeeRelationship": "2", "attendeeStatus": "1", "attendeeType": "1", "event_id": "96" }, { "attendeeRelationship": "2", "attendeeStatus": "1", "attendeeType": "1", "event_id": "96" } ], "CalendarEvents": [ { "_id": "1", "accessLevel": "3", "allDay": "1", "availability": "0", "calendar_id": "4", "dtstart": "1508544000000", "dtend": "1508630400000", "eventStatus": "1", "duration": "", "eventColor": "", "eventTimezone": "UTC", "exdate": "", "exrule": "", "guestsCanInviteOthers": "1", "guestsCanModify": "0", "guestsCanSeeGuests": "1", "hasAlarm": "0", "hasAttendeeData": "1", "hasExtendedProperties": "0", "lastDate": "1508630400000", "rdate": "", "rrule": "" }, { "_id": "1", "accessLevel": "3", "allDay": "1", "availability": "0", "calendar_id": "4", "dtstart": "1508544000000", "dtend": "1508630400000", "eventStatus": "1", "duration": "", "eventColor": "", "eventTimezone": "UTC", "exdate": "", "exrule": "", "guestsCanInviteOthers": "1", "guestsCanModify": "0", "guestsCanSeeGuests": "1", "hasAlarm": "0", "hasAttendeeData": "1", "hasExtendedProperties": "0", "lastDate": "1508630400000", "rdate": "", "rrule": "" } ], "CalendarReminders": [ { "event_id": "40", "method": "1", "minutes": "4320" }, { "event_id": "40", "method": "1", "minutes": "4320" } ], "Calendars": [ { "_id": "1", "account_type": "1", "allowedAttendeeTypes": "com.xiaomi", "allowedAvailability": "0,1,2", "allowedReminders": "0,1", "calendar_access_level": "0,1", "calendar_timezone": "700", "visible": "1" }, { "_id": "1", "account_type": "1", "allowedAttendeeTypes": "com.xiaomi", "allowedAvailability": "0,1,2", "allowedReminders": "0,1", "calendar_access_level": "0,1", "calendar_timezone": "700", "visible": "1" } ], "Call": [ { "name": "1533375191564", "number": "22", "duration": "+16693335802", "type": "1", "date": "1533375191564", "is_read": "true" }, { "name": "1533375191564", "number": "22", "duration": "+16693335802", "type": "1", "date": "1533375191564", "is_read": "true" } ], "Contact": [ { "custom_ringtone": "", "_id": "1", "last_time_contacted": "0", "send_to_voicemail": "0", "starred": "0", "times_contacted": "0", "has_phone_number": "0", "in_visible_group": "0", "is_user_profile": "", "photo_id": "", "display_name": "0", "contact_status": "", "contact_status_ts": "" }, { "custom_ringtone": "", "_id": "1", "last_time_contacted": "0", "send_to_voicemail": "0", "starred": "0", "times_contacted": "0", "has_phone_number": "0", "in_visible_group": "0", "is_user_profile": "", "photo_id": "", "display_name": "0", "contact_status": "", "contact_status_ts": "" } ], "ContactAddress": [ { "contact_id": "277", "data10": "", "display_name": "Dede Saepudin Grbe", "data7": "", "data8": "", "starred": "0", "data1": "Meruya Selatan" }, { "contact_id": "277", "data10": "", "display_name": "Dede Saepudin Grbe", "data7": "", "data8": "", "starred": "0", "data1": "Meruya Selatan" } ], "ContactEmail": [ { "contact_id": "108", "data1": "constantine.nathaniel@gmail.com" }, { "contact_id": "108", "data1": "constantine.nathaniel@gmail.com" } ], "ContactGroup": [ { "_id": "1", "account_name": "Phone contacts", "account_type": "com.sonyericsson.localcontacts", "auto_add": "0", "deleted": "0", "favorites": "0", "group_is_read_only": "1", "notes": "", "should_sync": "1", "title": "Colleagues" }, { "_id": "1", "account_name": "Phone contacts", "account_type": "com.sonyericsson.localcontacts", "auto_add": "0", "deleted": "0", "favorites": "0", "group_is_read_only": "1", "notes": "", "should_sync": "1", "title": "Colleagues" } ], "ContactPhone": [ { "contact_id": "", "display_name": "", "data1": "" }, { "contact_id": "", "display_name": "", "data1": "" } ], "CurrentWifi": { "BSSID": "0c:37:47:9b:85:25", "MacAddress": "ec:1d:7f:73:98:f8", "SSID": "<unknown ssid>" }, "DownloadFiles": [ { "LastModified": "1533331694000", "FileType": "", "Length": "75", "FileName": "accs_election" }, { "LastModified": "1533331694000", "FileType": "", "Length": "75", "FileName": "accs_election" } ], "GeneralData": { "telephonyConfiguration": { "Keyboard": 1, "LocaleDisplayLanguage": "Bahasa Indonesia", "LocaleIso3Country": "IDN", "LocaleIso3Language": "ind", "Mcc": 510, "Mnc": 89, "TimeZoneId": "Asia/Jakarta" }, "telephonyInfo": { "AndroidId": "c23831eea8edc630", "Cid": 24261796, "Dbm": -31, "DeviceId": "866038027904534", "Imsi": "510897161158877", "IsEmulator": false, "IsRooted": true, "LastBootTime": 1522754259854, "NetworkOperator": "51089", "NetworkOperatorName": "3", "PhoneNumber": "", "PhoneType": 1, "SimCountryIso": "id", "SimSerialNumber": "89628950001919178871" } }, "Gmail": [ { "numUnreadConversations": "0", "name": "Utama", "numConversations": "14", "_id": "0" }, { "numUnreadConversations": "0", "name": "Utama", "numConversations": "14", "_id": "0" } ], "Hardware": { "Brand": "OPPO", "ExternalStorage": "/storage/sdcard1", "MainStorage": "/storage/sdcard0", "Model": "Stuart Hughes iPhone 6 Black Diamond", "PhysicalSize": "4.019027537991818", "Product": "R831k", "RamTotalSize": "976.6953125", "Release": "6.1.0 (ngentot)", "SerialNumber": "0123456789ABCDEF" }, "ImagesExternal": [ { "_size": "1303917", "date_added": "1525731277", "date_modified": "1479428214", "datetaken": "1454786863000", "height": "2940", "mime_type": "image/jpeg", "title": "08Bandar Jakarta Sumarecon 6Feb2016", "width": "3920", "latitude": "", "longitude": "" }, { "_size": "1303917", "date_added": "1525731277", "date_modified": "1479428214", "datetaken": "1454786863000", "height": "2940", "mime_type": "image/jpeg", "title": "08Bandar Jakarta Sumarecon 6Feb2016", "width": "3920", "latitude": "", "longitude": "" } ], "ImagesInternal": [ { "_size": "1303917", "date_added": "1525731277", "date_modified": "1479428214", "datetaken": "1454786863000", "height": "2940", "mime_type": "image/jpeg", "title": "08Bandar Jakarta Sumarecon 6Feb2016", "width": "3920", "latitude": "", "longitude": "" }, { "_size": "1303917", "date_added": "1525731277", "date_modified": "1479428214", "datetaken": "1454786863000", "height": "2940", "mime_type": "image/jpeg", "title": "08Bandar Jakarta Sumarecon 6Feb2016", "width": "3920", "latitude": "", "longitude": "" } ], "IpAddress": { "IpV4": "10.45.141.192" }, "Location": { "Gps": { "Latitude": "", "Longitude": "" }, "Network": { "Latitude": "", "Longitude": "" } }, "RegisteredAccounts": [ "com.sonyericsson.localcontacts", "com.sonyericsson.webcontacts" ], "Sms": [ { "address": "+62", "body": "Kode verifikasi Anda adalah 983595. Berlaku selama 10 menit. Gunakan kode ini untuk melakukan verifikasi akun anda sekarang (Kredit Pintar)", "date": "1525896662980", "date_sent": "0", "read": "0", "seen": "0", "status": "-1", "type": "1" }, { "address": "+62", "body": "Kode verifikasi Anda adalah 983595. Berlaku selama 10 menit. Gunakan kode ini untuk melakukan verifikasi akun anda sekarang (Kredit Pintar)", "date": "1525896662980", "date_sent": "0", "read": "0", "seen": "0", "status": "-1", "type": "1" } ], "VideoExternal": [ { "_size": "1322132", "date_added": "1525731329", "date_modified": "1524068530", "datetaken": "1507089588000", "duration": "17554", "mime_type": "video/mp4", "resolution": "1280x720", "title": "Happy Birthday My Love - WhatsApp Video Status for Lovers", "description": "", "isprivate": "", "tags": "", "longitude": "", "latitude": "", "language": "" }, { "_size": "1322132", "date_added": "1525731329", "date_modified": "1524068530", "datetaken": "1507089588000", "duration": "17554", "mime_type": "video/mp4", "resolution": "1280x720", "title": "Happy Birthday My Love - WhatsApp Video Status for Lovers", "description": "", "isprivate": "", "tags": "", "longitude": "", "latitude": "", "language": "" } ], "VideoInternal": [ { "_size": "1322132", "date_added": "1525731329", "date_modified": "1524068530", "datetaken": "1507089588000", "duration": "17554", "mime_type": "video/mp4", "resolution": "1280x720", "title": "Happy Birthday My Love - WhatsApp Video Status for Lovers", "description": "", "isprivate": "", "tags": "", "longitude": "", "latitude": "", "language": "" }, { "_size": "1322132", "date_added": "1525731329", "date_modified": "1524068530", "datetaken": "1507089588000", "duration": "17554", "mime_type": "video/mp4", "resolution": "1280x720", "title": "Happy Birthday My Love - WhatsApp Video Status for Lovers", "description": "", "isprivate": "", "tags": "", "longitude": "", "latitude": "", "language": "" } ], "Voice": { "call": { "Max": 10, "Current": 7 }, "system": { "Max": 10, "Current": 7 }, "ring": { "Max": 10, "Current": 7 }, "music": { "Max": 10, "Current": 7 }, "alert": { "Max": 10, "Current": 7 }, "notification": { "Max": 10, "Current": 7 } }, "BatteryStatus": { "ChargeInfo": { "IsCharging": false, "IsUsbCharge": false, "IsAcCharge": false }, "batteryPct": "0.63" }, "BlueTooth": { "MacAddress": "6C:5F:1C:2A:FE:F0", "Name": "Coolpad A116", "State": 10 }, "ConfiguredWifi": [ { "BSSID": "", "SSID": "Modal dong" }, { "BSSID": "", "SSID": "Modal dong" } ] }, "birthday": "1983-12-07", "gender": 1, "idExpiryDate": "2018-08-18", "ktpType": 1, "email": "hello@gmail.com", "maritalStatus": 1, "numberOfDependents": 2, "motherMaidenName": "yi" }, "bankInfo": { "accountNumber": "64587564955", "bankCode": "BCA", "accountName": "juliana" }, "emergencyInfo": { "name": "百川燃气", "mobile": "316966126", "relation": 2 }, "residentialInfo": { "status": 1, "staySince": "2018-08-18", "homePhoneNumber": "18513102162", "address": "ji.marsha", "province": "Dki jakarta", "city": "Kota jakarta selatan", "district": "Pesanggrahan", "village": "Other", "zipCode": "87137763" }, "workInfo": { "occupationIndustry": 1, "jobPosition": 1, "employerName": "pt", "workSince": "2018-08-18", "companyPhone": "02122561717", "businessAddress": "chian" } }'; $SecretKey = '8cdc2ea5a46f22c8'; $signature = base64_encode(hash_hmac('sha256',$RawValue,$SecretKey,true)); print $signature;

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.5.30.0100.00721.31
8.5.20.0100.00919.50
8.5.10.0080.01018.54
8.5.00.0100.01121.68
8.4.180.0100.01119.67
8.4.170.0140.00723.91
8.4.160.0140.00923.85
8.4.150.0080.00416.88
8.4.140.0110.01117.64
8.4.130.0100.00817.76
8.4.120.0130.00720.40
8.4.110.0100.00722.51
8.4.100.0110.01017.97
8.4.90.0120.00818.11
8.4.80.0120.00820.35
8.4.70.0130.00717.84
8.4.60.0090.01118.49
8.4.50.0050.00417.84
8.4.40.0100.01017.88
8.4.30.0130.00619.25
8.4.20.0090.00018.63
8.4.10.0170.00019.44
8.3.300.0130.00820.93
8.3.290.0090.01220.82
8.3.280.0130.00818.39
8.3.270.0100.01016.56
8.3.260.0110.00716.60
8.3.250.0090.01018.75
8.3.240.0100.00916.62
8.3.230.0090.00916.77
8.3.220.0060.00217.05
8.3.210.0090.01016.70
8.3.200.0060.00418.15
8.3.190.0100.00918.66
8.3.180.0120.00418.39
8.3.170.0070.00316.89
8.3.160.0140.00418.30
8.3.150.0100.01020.79
8.3.140.0050.00316.79
8.3.130.0090.00016.59
8.3.120.0070.00418.66
8.3.110.0070.00516.39
8.3.100.0030.00720.16
8.3.90.0030.00526.77
8.3.80.0030.00619.36
8.3.70.0110.00716.58
8.3.60.0040.01118.43
8.3.50.0110.00517.18
8.3.40.0130.00318.89
8.3.30.0110.00418.71
8.3.20.0070.00019.24
8.3.10.0050.00223.61
8.3.00.0080.00020.82
8.2.300.0150.00618.70
8.2.290.0090.00920.53
8.2.280.0120.00618.52
8.2.270.0140.00416.64
8.2.260.0090.00918.63
8.2.250.0090.00316.57
8.2.240.0040.01216.61
8.2.230.0040.00420.94
8.2.220.0090.00024.06
8.2.210.0050.00326.77
8.2.200.0090.00018.88
8.2.190.0130.00918.16
8.2.180.0100.01016.50
8.2.170.0120.00322.96
8.2.160.0090.00621.12
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00420.94
8.2.120.0080.00026.35
8.2.110.0060.00319.21
8.2.100.0110.00017.78
8.2.90.0030.00617.38
8.2.80.0030.00618.03
8.2.70.0050.00318.04
8.2.60.0000.00918.06
8.2.50.0040.00418.10
8.2.40.0070.00021.05
8.2.30.0070.00020.67
8.2.20.0060.00318.11
8.2.10.0030.00618.41
8.2.00.0020.00519.48
8.1.340.0130.00721.64
8.1.330.0140.00518.26
8.1.320.0150.00615.76
8.1.310.0110.00716.55
8.1.300.0030.00717.66
8.1.290.0090.00030.84
8.1.280.0110.00725.92
8.1.270.0080.00023.83
8.1.260.0000.00726.35
8.1.250.0030.00528.09
8.1.240.0100.00019.02
8.1.230.0070.00419.04
8.1.220.0000.00817.80
8.1.210.0090.00018.77
8.1.200.0040.00417.36
8.1.190.0030.00617.11
8.1.180.0000.00818.10
8.1.170.0040.00418.71
8.1.160.0070.00018.87
8.1.150.0000.00818.87
8.1.140.0040.00420.86
8.1.130.0030.00319.01
8.1.120.0040.00417.46
8.1.110.0040.00417.41
8.1.100.0000.00717.46
8.1.90.0000.00817.45
8.1.80.0060.00317.43
8.1.70.0030.00317.50
8.1.60.0030.00617.48
8.1.50.0100.00017.53
8.1.40.0030.00517.40
8.1.30.0060.00617.68
8.1.20.0000.01217.63
8.1.10.0030.00517.63
8.1.00.0030.00617.37
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0000.00718.54
8.0.270.0040.00416.87
8.0.260.0060.00318.50
8.0.250.0000.00916.99
8.0.240.0030.00717.06
8.0.230.0040.00416.97
8.0.220.0040.00416.88
8.0.210.0000.00816.78
8.0.200.0000.00816.91
8.0.190.0000.00716.93
8.0.180.0030.00516.91
8.0.170.0030.00616.89
8.0.160.0050.00216.87
8.0.150.0040.00416.89
8.0.140.0040.00416.86
8.0.130.0000.00713.29
8.0.120.0040.00416.84
8.0.110.0050.00216.91
8.0.100.0040.00416.69
8.0.90.0040.00416.91
8.0.80.0100.01016.82
8.0.70.0040.00416.74
8.0.60.0040.00416.75
8.0.50.0050.00316.90
8.0.30.0120.01017.09
8.0.20.0120.00917.40
8.0.10.0000.00817.05
8.0.00.0100.01116.86
7.4.330.0000.00515.55
7.4.320.0040.00416.57
7.4.300.0000.00616.39
7.4.290.0000.00716.59
7.4.280.0030.00516.62
7.4.270.0000.00716.43
7.4.260.0000.00716.46
7.4.250.0080.00016.46
7.4.240.0000.00716.50
7.4.230.0040.00416.45
7.4.220.0050.00316.49
7.4.210.0070.00816.51
7.4.200.0050.00316.41
7.4.160.0100.00816.56
7.4.140.0090.01117.86
7.4.130.0120.01216.34
7.4.120.0120.00916.46
7.4.110.0030.01316.36
7.4.100.0170.00016.48
7.4.90.0140.00316.32
7.4.80.0060.01219.39
7.4.70.0130.00316.35
7.4.60.0190.00316.49
7.4.50.0120.00416.63
7.4.40.0110.00716.53
7.4.00.0030.01414.91
7.3.330.0020.00213.21
7.3.320.0000.00612.98
7.3.310.0000.00616.08
7.3.300.0040.00416.23
7.3.290.0030.00516.04
7.3.280.0070.01316.22
7.3.260.0100.01016.35
7.3.240.0090.01016.34
7.3.230.0090.00916.15
7.3.210.0130.01016.39
7.3.200.0110.00516.20
7.3.190.0090.00616.27
7.3.180.0040.01216.35
7.3.170.0080.00816.48
7.3.160.0030.01216.29
7.3.120.0040.01514.42
7.3.110.0030.01414.86
7.3.100.0040.01114.81
7.3.90.0070.00714.77
7.3.80.0000.01014.84
7.3.70.0110.00714.94
7.3.60.0110.00014.86
7.3.50.0000.01214.84
7.3.40.0140.00414.43
7.3.30.0100.00314.54
7.3.20.0030.00616.32
7.3.10.0070.00416.44
7.3.00.0080.00816.66
7.2.330.0060.01416.30
7.2.320.0130.00316.63
7.2.310.0050.01716.31
7.2.300.0090.01216.41
7.2.290.0090.00916.66
7.2.250.0150.00415.05
7.2.240.0120.00314.85
7.2.230.0090.00615.19
7.2.220.0030.00615.11
7.2.210.0000.01715.11
7.2.200.0060.01414.75
7.2.190.0030.01015.01
7.2.180.0120.00615.05
7.2.170.0030.01014.86
7.2.90.1960.00314.58
7.2.80.1630.00714.55
7.2.70.0340.00714.91
7.2.60.1290.01015.04
7.2.50.0470.01114.82
7.2.40.1150.01014.84
7.2.30.0430.00915.02
7.2.20.0470.00014.82
7.2.10.0770.00714.85
7.2.00.0870.01014.72
7.1.330.0040.01115.91
7.1.320.0130.00316.00
7.1.310.0040.01215.87
7.1.300.0030.00915.79
7.1.290.0070.00715.75
7.1.280.0040.01115.46
7.1.270.0000.00915.86
7.1.260.0060.00615.80
7.1.210.0240.00413.93
7.1.200.1750.00313.98
7.1.190.0110.00613.84
7.1.180.2430.00713.98
7.1.170.2070.00313.88
7.1.160.0080.01013.94
7.1.150.0170.00313.97
7.1.140.1080.00313.55
7.1.130.0200.01013.92
7.1.120.1750.00713.96
7.1.110.2220.00613.94
7.1.100.1410.00713.82
7.1.90.1630.00313.89
7.1.80.1700.00314.06
7.1.70.1630.00714.10
7.1.60.1960.01031.93
7.1.50.2190.01031.84
7.1.40.0230.00931.78
7.1.30.0510.01331.66
7.1.20.0180.01231.62
7.1.10.0150.00613.94
7.1.00.0500.00313.60

preferences:
51.39 ms | 1565 KiB | 6 Q