---
layout: docs
title: valueArray
id: class.Facebook.HackCodegen.HackBuilderValues.valueArray
docid: class.Facebook.HackCodegen.HackBuilderValues.valueArray
permalink: /docs/reference/class.Facebook.HackCodegen.HackBuilderValues.valueArray/
---
# Facebook\\HackCodegen\\HackBuilderValues::valueArray()




Render a [` vec `](<class.Facebook.HackCodegen.HackBuilderValues.vec.md>)-like PHP array literal




``` Hack
public static function valueArray<Tv>(
      IHackBuilderValueRenderer<Tv> $vr,
): IHackBuilderValueRenderer<array<Tv>>;
```




## Parameters




- ` IHackBuilderValueRenderer<Tv> $vr `




## Returns




+ ` IHackBuilderValueRenderer<array<Tv>> `