<?php
$str = '{"articles":[\n{"article_nr":"31208", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"31244", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"31245", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"59978", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60027", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60028", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60029", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60076", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60077", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60078", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60079", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60080", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60081", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60082", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60083", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60084", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60085", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60086", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60087", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60089", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"03-0630", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"03-0633", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"03-0640", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"03-0642", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"05-2074-070", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-2074-080", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-2075-080", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-6361-123", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-6361-198", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"WE2044-010", "deleted":"0", "collection":"col_(bc)"},
{"article_nr":"WE2044-040", "deleted":"0", "collection":"col_(bc)"},
{"article_nr":"WE2044-091", "deleted":"0", "collection":"col_(bc)"}]}';
var_dump(explode("\\n", $str));
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.16 - 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.6
- array(2) {
[0]=>
string(13) "{"articles":["
[1]=>
string(2137) "{"article_nr":"31208", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"31244", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"31245", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"59978", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60027", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60028", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60029", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60076", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60077", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60078", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60079", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60080", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60081", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60082", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60083", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60084", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60085", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60086", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60087", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"60089", "deleted":"0", "collection":"M%c3%b6bel"},
{"article_nr":"03-0630", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"03-0633", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"03-0640", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"03-0642", "deleted":"0", "collection":"col_(5)"},
{"article_nr":"05-2074-070", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-2074-080", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-2075-080", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-6361-123", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"05-6361-198", "deleted":"0", "collection":"col_(13)"},
{"article_nr":"WE2044-010", "deleted":"0", "collection":"col_(bc)"},
{"article_nr":"WE2044-040", "deleted":"0", "collection":"col_(bc)"},
{"article_nr":"WE2044-091", "deleted":"0", "collection":"col_(bc)"}]}"
}
preferences:
289.92 ms | 413 KiB | 352 Q