3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $presets[1] = array( 'filename' => array( 'main' => 'kn{$film_id}.mp4', 'trailer' => 'kn{$film_id}_preview.mp4', 'meta' => '1355871_Kinonation_{$now["YYMMDD"]}_NEW.xlsx', ) ); $main_tpl = $presets[1]['filename']['main']; $film_id = 99; $now["YYMMDD"] = date("YYMMDD"); echo $now["YYMMDD"];
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
20132013SepSepTueTue