<?php
$input = "[{'username': 'lilugalchonok', 'reel_auto_archive': 'on', 'has_anonymous_profile_picture': False, 'profile_pic_url': 'https://scontent-arn2-1.cdninstagram.com/vp/e93a5559683643f796ab4ac6b63e4a74/5BA48EEE/t51.2885-19/s150x150/31210884_2100052600035734_1811221059144253440_n.jpg', 'profile_pic_id': '1771542060405150932_219556076', 'full_name': '', 'pk': 219556076, 'is_verified': False, 'is_private': True}, {'username': 'ksugolubkova', 'reel_auto_archive': 'on', 'has_anonymous_profile_picture': False, 'profile_pic_url': 'https://scontent-arn2-1.cdninstagram.com/vp/ee425edc175cde225cbdf60f0b00a2a0/5BB60817/t51.2885-19/s150x150/29739539_374275989719059_3726697450056974336_n.jpg', 'profile_pic_id': '1752887668172004435_309120714', 'full_name': '', 'pk': 309120714, 'is_verified': False, 'is_private': False}, {'username': 'andrey.ya.anatolich', 'reel_auto_archive': 'unset', 'has_anonymous_profile_picture': False, 'profile_pic_url': 'https://scontent-arn2-1.cdninstagram.com/vp/15131fbd2a449609c3b44a5d1e3ef788/5BC042D5/t51.2885-19/s150x150/13166740_1615702648704847_1957847608_a.jpg', 'profile_pic_id': '1249730063713286719_1728969205', 'full_name': '', 'pk': 1728969205, 'is_verified': False, 'is_private': False}, {'username': 'samosyuk_irina', 'reel_auto_archive': 'unset', 'has_anonymous_profile_picture': False, 'profile_pic_url': 'https://scontent-arn2-1.cdninstagram.com/vp/927bae821bd299ef3af2b9b8b8c46bad/5BBFA9D6/t51.2885-19/11848914_1510248049267132_1307479607_a.jpg', 'full_name': '', 'pk': 399623821, 'is_verified': False, 'is_private': False}, {'username': '_tend_ersteel_', 'reel_auto_archive': 'on', 'has_anonymous_profile_picture': False, 'profile_pic_url': 'https://scontent-arn2-1.cdninstagram.com/vp/54b840f377d9e175d65856bfad71e657/5BA1A9D0/t51.2885-19/s150x150/24253721_1920118598249002_8739424858632355840_n.jpg', 'profile_pic_id': '1660151907631956658_4514722590', 'full_name': '_Tend_ersteel_', 'pk': 4514722590L, 'is_verified': False, 'is_private': True}]";
var_dump( explode(": ", $input) );
- Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
- array(45) {
[0]=>
string(12) "[{'username'"
[1]=>
string(36) "'lilugalchonok', 'reel_auto_archive'"
[2]=>
string(37) "'on', 'has_anonymous_profile_picture'"
[3]=>
string(24) "False, 'profile_pic_url'"
[4]=>
string(178) "'https://scontent-arn2-1.cdninstagram.com/vp/e93a5559683643f796ab4ac6b63e4a74/5BA48EEE/t51.2885-19/s150x150/31210884_2100052600035734_1811221059144253440_n.jpg', 'profile_pic_id'"
[5]=>
string(44) "'1771542060405150932_219556076', 'full_name'"
[6]=>
string(8) "'', 'pk'"
[7]=>
string(24) "219556076, 'is_verified'"
[8]=>
string(19) "False, 'is_private'"
[9]=>
string(18) "True}, {'username'"
[10]=>
string(35) "'ksugolubkova', 'reel_auto_archive'"
[11]=>
string(37) "'on', 'has_anonymous_profile_picture'"
[12]=>
string(24) "False, 'profile_pic_url'"
[13]=>
string(177) "'https://scontent-arn2-1.cdninstagram.com/vp/ee425edc175cde225cbdf60f0b00a2a0/5BB60817/t51.2885-19/s150x150/29739539_374275989719059_3726697450056974336_n.jpg', 'profile_pic_id'"
[14]=>
string(44) "'1752887668172004435_309120714', 'full_name'"
[15]=>
string(8) "'', 'pk'"
[16]=>
string(24) "309120714, 'is_verified'"
[17]=>
string(19) "False, 'is_private'"
[18]=>
string(19) "False}, {'username'"
[19]=>
string(42) "'andrey.ya.anatolich', 'reel_auto_archive'"
[20]=>
string(40) "'unset', 'has_anonymous_profile_picture'"
[21]=>
string(24) "False, 'profile_pic_url'"
[22]=>
string(169) "'https://scontent-arn2-1.cdninstagram.com/vp/15131fbd2a449609c3b44a5d1e3ef788/5BC042D5/t51.2885-19/s150x150/13166740_1615702648704847_1957847608_a.jpg', 'profile_pic_id'"
[23]=>
string(45) "'1249730063713286719_1728969205', 'full_name'"
[24]=>
string(8) "'', 'pk'"
[25]=>
string(25) "1728969205, 'is_verified'"
[26]=>
string(19) "False, 'is_private'"
[27]=>
string(19) "False}, {'username'"
[28]=>
string(37) "'samosyuk_irina', 'reel_auto_archive'"
[29]=>
string(40) "'unset', 'has_anonymous_profile_picture'"
[30]=>
string(24) "False, 'profile_pic_url'"
[31]=>
string(155) "'https://scontent-arn2-1.cdninstagram.com/vp/927bae821bd299ef3af2b9b8b8c46bad/5BBFA9D6/t51.2885-19/11848914_1510248049267132_1307479607_a.jpg', 'full_name'"
[32]=>
string(8) "'', 'pk'"
[33]=>
string(24) "399623821, 'is_verified'"
[34]=>
string(19) "False, 'is_private'"
[35]=>
string(19) "False}, {'username'"
[36]=>
string(37) "'_tend_ersteel_', 'reel_auto_archive'"
[37]=>
string(37) "'on', 'has_anonymous_profile_picture'"
[38]=>
string(24) "False, 'profile_pic_url'"
[39]=>
string(178) "'https://scontent-arn2-1.cdninstagram.com/vp/54b840f377d9e175d65856bfad71e657/5BA1A9D0/t51.2885-19/s150x150/24253721_1920118598249002_8739424858632355840_n.jpg', 'profile_pic_id'"
[40]=>
string(45) "'1660151907631956658_4514722590', 'full_name'"
[41]=>
string(22) "'_Tend_ersteel_', 'pk'"
[42]=>
string(26) "4514722590L, 'is_verified'"
[43]=>
string(19) "False, 'is_private'"
[44]=>
string(6) "True}]"
}
- Output for 8.3.5
- Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
array(45) {
[0]=>
string(12) "[{'username'"
[1]=>
string(36) "'lilugalchonok', 'reel_auto_archive'"
[2]=>
string(37) "'on', 'has_anonymous_profile_picture'"
[3]=>
string(24) "False, 'profile_pic_url'"
[4]=>
string(178) "'https://scontent-arn2-1.cdninstagram.com/vp/e93a5559683643f796ab4ac6b63e4a74/5BA48EEE/t51.2885-19/s150x150/31210884_2100052600035734_1811221059144253440_n.jpg', 'profile_pic_id'"
[5]=>
string(44) "'1771542060405150932_219556076', 'full_name'"
[6]=>
string(8) "'', 'pk'"
[7]=>
string(24) "219556076, 'is_verified'"
[8]=>
string(19) "False, 'is_private'"
[9]=>
string(18) "True}, {'username'"
[10]=>
string(35) "'ksugolubkova', 'reel_auto_archive'"
[11]=>
string(37) "'on', 'has_anonymous_profile_picture'"
[12]=>
string(24) "False, 'profile_pic_url'"
[13]=>
string(177) "'https://scontent-arn2-1.cdninstagram.com/vp/ee425edc175cde225cbdf60f0b00a2a0/5BB60817/t51.2885-19/s150x150/29739539_374275989719059_3726697450056974336_n.jpg', 'profile_pic_id'"
[14]=>
string(44) "'1752887668172004435_309120714', 'full_name'"
[15]=>
string(8) "'', 'pk'"
[16]=>
string(24) "309120714, 'is_verified'"
[17]=>
string(19) "False, 'is_private'"
[18]=>
string(19) "False}, {'username'"
[19]=>
string(42) "'andrey.ya.anatolich', 'reel_auto_archive'"
[20]=>
string(40) "'unset', 'has_anonymous_profile_picture'"
[21]=>
string(24) "False, 'profile_pic_url'"
[22]=>
string(169) "'https://scontent-arn2-1.cdninstagram.com/vp/15131fbd2a449609c3b44a5d1e3ef788/5BC042D5/t51.2885-19/s150x150/13166740_1615702648704847_1957847608_a.jpg', 'profile_pic_id'"
[23]=>
string(45) "'1249730063713286719_1728969205', 'full_name'"
[24]=>
string(8) "'', 'pk'"
[25]=>
string(25) "1728969205, 'is_verified'"
[26]=>
string(19) "False, 'is_private'"
[27]=>
string(19) "False}, {'username'"
[28]=>
string(37) "'samosyuk_irina', 'reel_auto_archive'"
[29]=>
string(40) "'unset', 'has_anonymous_profile_picture'"
[30]=>
string(24) "False, 'profile_pic_url'"
[31]=>
string(155) "'https://scontent-arn2-1.cdninstagram.com/vp/927bae821bd299ef3af2b9b8b8c46bad/5BBFA9D6/t51.2885-19/11848914_1510248049267132_1307479607_a.jpg', 'full_name'"
[32]=>
string(8) "'', 'pk'"
[33]=>
string(24) "399623821, 'is_verified'"
[34]=>
string(19) "False, 'is_private'"
[35]=>
string(19) "False}, {'username'"
[36]=>
string(37) "'_tend_ersteel_', 'reel_auto_archive'"
[37]=>
string(37) "'on', 'has_anonymous_profile_picture'"
[38]=>
string(24) "False, 'profile_pic_url'"
[39]=>
string(178) "'https://scontent-arn2-1.cdninstagram.com/vp/54b840f377d9e175d65856bfad71e657/5BA1A9D0/t51.2885-19/s150x150/24253721_1920118598249002_8739424858632355840_n.jpg', 'profile_pic_id'"
[40]=>
string(45) "'1660151907631956658_4514722590', 'full_name'"
[41]=>
string(22) "'_Tend_ersteel_', 'pk'"
[42]=>
string(26) "4514722590L, 'is_verified'"
[43]=>
string(19) "False, 'is_private'"
[44]=>
string(6) "True}]"
}
preferences:
149.6 ms | 409 KiB | 192 Q