parsing

  1. H

    Best way to parse json_decoded php array

    What would be the best way to parse stringified one dimensional array? input array $inputArray = array( "id" => "foo", "name" => "bar", "money[0][amount]" => 30, "money[0][countryCode]" => "US", "money[1][amount]" => 25, "money[1][countryCode]" => "CA", ) desired output array...
  2. E

    Parse Date in PHP

    I need some help parsing a date in PHP to a date object. I thought this was 8601 format, but $date = DateTime::createFromFormat(DateTime::ISO8601, "2018-11-14T01:11:36.059Z") is not working. Date Format is: 2018-11-14T01:11:36.059Z
Top