3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $heading = 'h2'; echo ++$heading; system('id');
based on VXLuc
Output for 4.3.0, 5.4.42 - 5.6.28, 7.0.0 - 7.1.0
h3
Output for hhvm-3.10.0 - 3.12.0
h3Failed to exec: `id'
Output for 4.3.1 - 5.4.41
h3sh: 1: id: not found