3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $plannedTodayCount = 0; $class = 'plannedToday' . 'Count'; ${$class} = 1; echo $plannedTodayCount;
based on n5aDi
Output for 5.5.0 - 7.2.6
1