Skip to content

Tag: deb

control file to PHP array

In Linux, .DEB files have ‘control’ text files that are arranged as follows: What is the best way to get the control file into a PHP array resembling: keeping in mind that the values can be multi-line and include the “:” separator. Thanks! Answer Implemented as described here: http://w…