3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $video_id = 'abc'; $vidtype = 'youtube'; if(isset($video_id) && $vidtype == 'youtube') { $lead_in = 'xyz'; } var_dump($lead_in);
Output for 4.3.0 - 7.1.0
string(3) "xyz"