3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pivot = array_fill(0, 2, ['is_primary' => false]); $groups = array_combine(['customer','xx'], $pivot); var_dump($pivot); var_dump($groups);