<?php
'99-01[10-10-2010]',
'29-02[10-11-2011]',
'95-03[10-12-2013]',
'88-04[10-10-2015]',
'59-06[11-12-2016]'
);
foreach( $strings as $s ) echo 'ALL'.strstr( $s, '-' ) . "\n";
PD9waHAKCiAgICAkc3RyaW5ncyA9IGFycmF5KAogICAgICAgICc5OS0wMVsxMC0xMC0yMDEwXScsCiAgICAgICAgJzI5LTAyWzEwLTExLTIwMTFdJywKICAgICAgICAnOTUtMDNbMTAtMTItMjAxM10nLAogICAgICAgICc4OC0wNFsxMC0xMC0yMDE1XScsCiAgICAgICAgJzU5LTA2WzExLTEyLTIwMTZdJwogICAgKTsKICAgIAogICAgZm9yZWFjaCggJHN0cmluZ3MgYXMgJHMgKSBlY2hvICdBTEwnLnN0cnN0ciggJHMsICctJyApIC4gIlxuIjs=