3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $c =1;$value =1; ${'day'.$c.'_hours'} = $value; var_dump(${'day'.$c.'_hours'});
Output for 4.3.0 - 7.2.0
int(1)