3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function smarty_function_userpicture( $params, &$smarty ) { if ( empty($params['user']) ) { return ''; } $assign = @$params['assign']; $user = $params['user']; unset($params['club'], $params['user'], $params['src'], $params['assign']); $html = user::picture($user, $params); if ( $assign ) { $smarty->assign($assign, $html); return ''; } return $html; }
Output for 4.3.0 - 7.2.0