<?php $string = "200#5;300#10";
Standard input is empty
array(3) { [0]=> array(2) { [0]=> string(5) "200#5" [1]=> string(6) "300#10" } [1]=> array(2) { [0]=> string(3) "200" [1]=> string(3) "300" } [2]=> array(2) { [0]=> string(1) "5" [1]=> string(2) "10" } }