-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If its INS Y then you are correct. Its a new eligible member each time. If its INS N that means its a dependent on the parent INS Y Loop. You can visually "see" this here: https://github.com/michaelachrisco/sublime-834-syntax orange is Member, and Blue is Dependent. If your still confused, you can drop a scrubbed 834 here: https://edi.stedi.com/inspector?value=Q and take a look at the result.
Just FYI, there are better ways than rolling your own solution like that for example: https://github.com/php-edifact/edifact if you want to stay in PHP. There is a host of other services in other languages that are easier to work with and more performant like EDIFact/EDI.Net, pyx12, and a couple of online EDI parsers that make things even easier.