3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("VENUESITE_DEFAULT", 'https://www.'); $post_array = array(); $post_array['venueSite'] = VENUESITE_DEFAULT; echo $post_array['venueSite']; $post_array['venueSite'] = $post_array['venueSite']==VENUSITE_DEFAULT?'':$post_array['venueSite']; echo $post_array['venueSite']; ?>
Output for 4.3.0 - 7.1.0
https://www. Notice: Use of undefined constant VENUSITE_DEFAULT - assumed 'VENUSITE_DEFAULT' in /in/fp4S4 on line 9 https://www.