3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $vars = array('a1', '1a', 'ačervený'); foreach($vars as $var) { $$var = 'x'; } ${'a1'} = 'y'; ${'1a'} = 'y'; ${'ačervený'} = 'y'; $ačervený = 'a';
based on j6g9O
Output for 4.3.0 - 7.2.0