3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php quick_authentication_onregistration(true); function quick_authentication_onregistration($app_val = false) { if($app_val == true) { $type = 'celebrityPending'; } else { $type = 'fan'; } echo 'type'.$type; }
Output for 4.3.0 - 7.1.0
typecelebrityPending