3v4l.org

run code in 300+ PHP versions simultaneously
<?php $RawValue = '1535342243812${ "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.0110.00621.16
8.5.20.0120.00619.40
8.5.10.0110.00718.39
8.5.00.0130.00921.50
8.4.180.0130.01019.57
8.4.170.0150.00623.76
8.4.160.0150.00823.95
8.4.150.0070.00616.83
8.4.140.0180.00517.94
8.4.130.0090.00417.64
8.4.120.0110.01020.69
8.4.110.0160.00522.58
8.4.100.0110.00917.88
8.4.90.0100.01118.62
8.4.80.0100.00517.83
8.4.70.0100.00917.84
8.4.60.0030.00618.72
8.4.50.0050.00318.45
8.4.40.0130.00317.98
8.4.30.0100.01019.31
8.4.20.0060.00318.53
8.4.10.0070.01319.63
8.3.300.0130.00920.75
8.3.290.0100.01218.73
8.3.280.0110.01018.21
8.3.270.0140.01216.49
8.3.260.0140.00416.53
8.3.250.0130.00618.95
8.3.240.0130.00716.45
8.3.230.0120.00616.52
8.3.220.0120.00517.10
8.3.210.0100.01016.37
8.3.200.0050.00516.45
8.3.190.0080.01017.00
8.3.180.0060.00318.73
8.3.170.0150.00416.84
8.3.160.0040.01118.70
8.3.150.0160.00318.92
8.3.140.0040.00420.56
8.3.130.0000.01016.48
8.3.120.0160.00319.18
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0070.01126.77
8.3.80.0070.00418.56
8.3.70.0120.00618.43
8.3.60.0120.00318.31
8.3.50.0120.00617.19
8.3.40.0030.01318.37
8.3.30.0090.00618.54
8.3.20.0050.00319.34
8.3.10.0000.00723.43
8.3.00.0040.00420.64
8.2.300.0090.01118.07
8.2.290.0110.00820.42
8.2.280.0060.01418.53
8.2.270.0090.00916.48
8.2.260.0040.00416.57
8.2.250.0090.00618.16
8.2.240.0040.00417.29
8.2.230.0090.00022.58
8.2.220.0090.00037.54
8.2.210.0070.00326.77
8.2.200.0000.01016.63
8.2.190.0140.00018.21
8.2.180.0070.00716.38
8.2.170.0120.00619.08
8.2.160.0140.00022.96
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0060.00321.18
8.2.120.0050.00326.35
8.2.110.0030.00619.24
8.2.100.0060.00617.84
8.2.90.0080.00317.84
8.2.80.0000.00817.97
8.2.70.0000.00818.05
8.2.60.0060.00318.07
8.2.50.0060.00318.10
8.2.40.0040.00419.26
8.2.30.0080.00020.59
8.2.20.0040.00718.18
8.2.10.0040.00418.28
8.2.00.0000.00719.38
8.1.340.0140.01017.64
8.1.330.0130.00722.07
8.1.320.0140.00416.25
8.1.310.0040.01516.25
8.1.300.0100.01016.61
8.1.290.0110.00030.84
8.1.280.0100.01025.92
8.1.270.0060.00323.83
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0030.01117.39
8.1.230.0040.00720.88
8.1.220.0040.00417.74
8.1.210.0030.00519.03
8.1.200.0050.00417.36
8.1.190.0000.00817.23
8.1.180.0060.00618.10
8.1.170.0040.00418.53
8.1.160.0040.00418.91
8.1.150.0070.00018.92
8.1.140.0030.00620.83
8.1.130.0030.00318.93
8.1.120.0050.00217.46
8.1.110.0000.00717.46
8.1.100.0070.00017.48
8.1.90.0030.00517.45
8.1.80.0050.00517.40
8.1.70.0030.00317.33
8.1.60.0040.00417.45
8.1.50.0030.00717.53
8.1.40.0000.00717.46
8.1.30.0030.00717.53
8.1.20.0040.00817.50
8.1.10.0030.00517.42
8.1.00.0040.00417.54
8.0.300.0030.00619.66
8.0.290.0030.00716.63
8.0.280.0070.00018.34
8.0.270.0050.00316.77
8.0.260.0060.00021.99
8.0.250.0060.00316.96
8.0.240.0030.00716.99
8.0.230.0070.00016.84
8.0.220.0030.00316.84
8.0.210.0040.00416.89
8.0.200.0000.00716.92
8.0.190.0050.00216.93
8.0.180.0000.00816.91
8.0.170.0040.00416.94
8.0.160.0030.00616.88
8.0.150.0000.00716.81
8.0.140.0030.00516.72
8.0.130.0030.00313.20
8.0.120.0040.00416.83
8.0.110.0020.00516.77
8.0.100.0000.00716.91
8.0.90.0000.00816.89
8.0.80.0100.00816.80
8.0.70.0070.00016.75
8.0.60.0070.00016.83
8.0.50.0070.00016.82
8.0.30.0110.00817.16
8.0.20.0110.00817.40
8.0.10.0040.00417.00
8.0.00.0130.00616.79
7.4.330.0000.00515.55
7.4.320.0040.00416.57
7.4.300.0030.00316.37
7.4.290.0080.00016.43
7.4.280.0030.00616.52
7.4.270.0040.00416.38
7.4.260.0000.00716.54
7.4.250.0040.00416.57
7.4.240.0000.00716.43
7.4.230.0050.00316.32
7.4.220.0000.00716.64
7.4.210.0030.01416.54
7.4.200.0050.00216.63
7.4.160.0090.01116.52
7.4.140.0110.01117.86
7.4.130.0090.00916.34
7.4.120.0080.01216.50
7.4.110.0030.01416.46
7.4.100.0100.01016.46
7.4.90.0030.01616.54
7.4.80.0090.00919.39
7.4.70.0130.00316.38
7.4.60.0130.00316.39
7.4.50.0070.00716.26
7.4.40.0130.00716.51
7.4.00.0060.00915.15
7.3.330.0000.00513.14
7.3.320.0060.00013.15
7.3.310.0030.00316.07
7.3.300.0030.00316.21
7.3.290.0030.00316.22
7.3.280.0080.01116.24
7.3.260.0090.01216.31
7.3.240.0080.01216.37
7.3.230.0140.00316.61
7.3.210.0000.01816.24
7.3.200.0120.00616.39
7.3.190.0100.00616.54
7.3.180.0130.00616.49
7.3.170.0060.01316.26
7.3.160.0060.00916.53
7.2.330.0090.00916.77
7.2.320.0100.00716.45
7.2.310.0100.01316.67
7.2.300.0030.01416.36
7.2.290.0140.00316.76
7.2.90.1530.01314.69
7.2.80.1180.00414.64
7.2.70.1690.01014.95
7.2.60.0990.01015.17
7.2.50.2060.01314.95
7.2.40.1620.00314.95
7.2.30.0990.00314.96
7.2.20.1700.00715.02
7.2.10.1480.00614.88
7.2.00.1980.01314.84
7.1.210.1680.00713.97
7.1.200.1090.00613.80
7.1.190.2600.01313.63
7.1.180.1060.01713.89
7.1.170.1270.01013.89
7.1.160.1030.00313.97
7.1.150.1150.01313.80
7.1.140.1310.00313.83
7.1.130.2290.00713.95
7.1.120.1920.00713.90
7.1.110.2530.01013.87
7.1.100.1600.00714.13
7.1.90.2170.00713.71
7.1.80.1840.01013.88
7.1.70.1970.01014.04
7.1.60.2220.00331.95
7.1.50.3470.01331.55
7.1.40.2830.01331.99
7.1.30.2850.01031.86
7.1.20.4380.01331.87
7.1.10.2850.01013.74
7.1.00.1190.00913.95

preferences:
46.09 ms | 1429 KiB | 5 Q