original_string: public static function simpleArrayToObject($array, $object = null) {
          foreach ($array as $key => $value) {
              $object->$key = $value;
          }
          return $object;
      }
code: public static function simpleArrayToObject($array, $object = null) {
          foreach ($array as $key => $value) {
              $object->$key = $value;
          }
          return $object;
      }
code_tokens: public static function simpleArrayToObject ( $ array , $ object = null ) { foreach ( $ array as $ key => $ value ) { $ object -> $ key = $ value ; } return $ object ; }
docstring: utilisation simple array with numeric keys to object
docstring_tokens: utilisation simple array with numeric keys to object