index.js
function (source) {
  var ast = parser.parseEval(source)
  var array = ast.children.find((child) => child.kind === 'array')
  return parseValue(array)
}
function (source) {
  var ast = parser.parseEval(source)
  var array = ast.children.find((child) => child.kind === 'array')
  return parseValue(array)
}
function ( source ) { var ast = parser . parseEval ( source ) var array = ast . children . find ( ( child ) => child . kind === 'array' ) return parseValue ( array ) }
The PHP array parser.
@param  {String} source The PHP source contents.
@return {Object}        The parsed contents.
The PHP array parser .