3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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));
based on VeeQ0
Output for 4.3.0 - 7.1.0
array(32) { [0]=> string(80) "{"articles":[\n{"article_nr":"31208", "deleted":"0", "collection":"M%c3%b6bel"}," [1]=> string(65) "{"article_nr":"31244", "deleted":"0", "collection":"M%c3%b6bel"}," [2]=> string(65) "{"article_nr":"31245", "deleted":"0", "collection":"M%c3%b6bel"}," [3]=> string(65) "{"article_nr":"59978", "deleted":"0", "collection":"M%c3%b6bel"}," [4]=> string(65) "{"article_nr":"60027", "deleted":"0", "collection":"M%c3%b6bel"}," [5]=> string(65) "{"article_nr":"60028", "deleted":"0", "collection":"M%c3%b6bel"}," [6]=> string(65) "{"article_nr":"60029", "deleted":"0", "collection":"M%c3%b6bel"}," [7]=> string(65) "{"article_nr":"60076", "deleted":"0", "collection":"M%c3%b6bel"}," [8]=> string(65) "{"article_nr":"60077", "deleted":"0", "collection":"M%c3%b6bel"}," [9]=> string(65) "{"article_nr":"60078", "deleted":"0", "collection":"M%c3%b6bel"}," [10]=> string(65) "{"article_nr":"60079", "deleted":"0", "collection":"M%c3%b6bel"}," [11]=> string(65) "{"article_nr":"60080", "deleted":"0", "collection":"M%c3%b6bel"}," [12]=> string(65) "{"article_nr":"60081", "deleted":"0", "collection":"M%c3%b6bel"}," [13]=> string(65) "{"article_nr":"60082", "deleted":"0", "collection":"M%c3%b6bel"}," [14]=> string(65) "{"article_nr":"60083", "deleted":"0", "collection":"M%c3%b6bel"}," [15]=> string(65) "{"article_nr":"60084", "deleted":"0", "collection":"M%c3%b6bel"}," [16]=> string(65) "{"article_nr":"60085", "deleted":"0", "collection":"M%c3%b6bel"}," [17]=> string(65) "{"article_nr":"60086", "deleted":"0", "collection":"M%c3%b6bel"}," [18]=> string(65) "{"article_nr":"60087", "deleted":"0", "collection":"M%c3%b6bel"}," [19]=> string(65) "{"article_nr":"60089", "deleted":"0", "collection":"M%c3%b6bel"}," [20]=> string(64) "{"article_nr":"03-0630", "deleted":"0", "collection":"col_(5)"}," [21]=> string(64) "{"article_nr":"03-0633", "deleted":"0", "collection":"col_(5)"}," [22]=> string(64) "{"article_nr":"03-0640", "deleted":"0", "collection":"col_(5)"}," [23]=> string(64) "{"article_nr":"03-0642", "deleted":"0", "collection":"col_(5)"}," [24]=> string(69) "{"article_nr":"05-2074-070", "deleted":"0", "collection":"col_(13)"}," [25]=> string(69) "{"article_nr":"05-2074-080", "deleted":"0", "collection":"col_(13)"}," [26]=> string(69) "{"article_nr":"05-2075-080", "deleted":"0", "collection":"col_(13)"}," [27]=> string(69) "{"article_nr":"05-6361-123", "deleted":"0", "collection":"col_(13)"}," [28]=> string(69) "{"article_nr":"05-6361-198", "deleted":"0", "collection":"col_(13)"}," [29]=> string(68) "{"article_nr":"WE2044-010", "deleted":"0", "collection":"col_(bc)"}," [30]=> string(68) "{"article_nr":"WE2044-040", "deleted":"0", "collection":"col_(bc)"}," [31]=> string(69) "{"article_nr":"WE2044-091", "deleted":"0", "collection":"col_(bc)"}]}" }