Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 3.0.x
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Environment:
      PHP Environment:
      Database:

      Description

      Hi

      I just ran a Zend code analysis on the Olympus code (phpBB3-CVS_2006-05-21) the results are below. Thought it maybe useful.
      HTH
      Gareth

      \phpBB2\adm\index.php
      Unused global declaration: $db (line 97)
      Unused function argument: $option_ary (line 205)
      The value of variable $option_ary was never used (line 210)
      The value of variable $return was never used (line 283)
      $new is passed by reference without being modified (line 236)

      \phpBB2\common.php
      The value of variable $input was never used (line 54)
      The value of variable $input was never used (line 75)

      \phpBB2\develop\add_permissions.php
      Unreachable code in function main() (line 25)

      \phpBB2\develop\benchmark.php
      Both empty return and return with value used in function get_smallest_topic() (line 188)
      Both empty return and return with value used in function get_topic_count() (line 212)
      Variable $result appears only once (line 225)
      The value of variable $result was never used (line 225)
      Both empty return and return with value used in function make_post() (line 329)
      Both empty return and return with value used in function make_user() (line 460)
      Unreachable code in function main() (line 17)

      \phpBB2\develop\calc_email_hash.php
      Unreachable code in function main() (line 22)

      \phpBB2\develop\change_smiley_ref.php
      Unreachable code in function main() (line 31)

      \phpBB2\develop\create_variable_overview.php
      Unreachable code in function main() (line 28)

      \phpBB2\develop\merge_attachment_tables.php
      Unreachable code in function main() (line 23)

      \phpBB2\develop\merge_post_tables.php
      Unreachable code in function main() (line 31)

      \phpBB2\develop\nuke-db.php
      Unreachable code in function main() (line 21)

      \phpBB2\docs\coding-guidelines.html
      Parsing Error: syntax error, unexpected T_STRING (line 1)

      \phpBB2\download.php
      Unused global declaration: $db (line 152)
      Unused global declaration: $config (line 152)
      The value of variable $browser_version was never used (line 197)
      The value of variable $ip_ary was never used (line 272)

      \phpBB2\includes\acm\acm_db.php
      Variable $var_requested appears only once (line 40)
      The value of variable $var_requested was never used (line 40)
      Variable $void appears only once (line 208)
      The value of variable $void was never used (line 208)

      \phpBB2\includes\acm\acm_file.php
      Both empty return and return with value used in function load() (line 40)
      Variable $m appears only once (line 173)
      Unused function argument: $array (line 226)
      The value of variable $array was never used (line 229)

      \phpBB2\includes\acp\acp_attachments.php
      Variable $null appears only once (line 116)
      The value of variable $null was never used (line 116)
      Variable $key appears only once (line 634)
      The value of variable $key was never used (line 634)
      Variable $num appears only once (line 651)
      The value of variable $num was never used (line 651)
      Variable $padding_inc appears only once (line 700)
      The value of variable $padding_inc was never used (line 700)
      Variable $forum_list appears only once (line 701)
      The value of variable $forum_list was never used (line 701)
      The value of variable $add_files was never used (line 834)
      The value of variable $message_parser was never used (line 877)
      The value of variable $types was never used (line 975)
      The value of variable $types was never used (line 1060)
      Both empty return and return with value used in function upload_file() (line 1134)
      Unreachable code in function perform_site_list() (line 1326)
      Variable $ip_2_fragment appears only once (line 1248)
      The value of variable $ip_2_fragment was never used (line 1248)
      Variable $ip_3_fragment appears only once (line 1261)
      The value of variable $ip_3_fragment was never used (line 1261)
      Variable $ip_4_fragment appears only once (line 1274)
      The value of variable $ip_4_fragment was never used (line 1274)

      \phpBB2\includes\acp\acp_ban.php
      Unused function argument: $id (line 18)
      Unused global declaration: $config (line 20)
      Unused global declaration: $db (line 20)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $table_prefix (line 21)
      Variable $current_time appears only once (line 27)
      The value of variable $current_time was never used (line 27)
      The value of variable $l_ban_cell was never used (line 144)

      \phpBB2\includes\acp\acp_bbcodes.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $config (line 21)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_root_path (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $phpEx (line 21)

      \phpBB2\includes\acp\acp_board.php
      Unused function argument: $id (line 20)
      Unused global declaration: $db (line 22)
      Unused global declaration: $auth (line 22)
      Unused global declaration: $SID (line 23)
      Unused global declaration: $phpbb_admin_path (line 23)
      Variable $action appears only once (line 27)
      The value of variable $action was never used (line 27)
      Variable $null appears only once (line 364)
      The value of variable $null was never used (line 364)
      Variable $key appears only once (line 562)
      The value of variable $key was never used (line 562)
      Variable $key appears only once (line 589)
      The value of variable $key was never used (line 589)
      The value of variable $auth_methods was never used (line 596)
      Variable $key appears only once (line 604)
      The value of variable $key was never used (line 604)
      Variable $key appears only once (line 611)
      The value of variable $key was never used (line 611)
      Unused function argument: $key (line 645)
      The value of variable $user_char_ary was never used (line 651)
      Unused function argument: $key (line 667)
      The value of variable $pass_type_ary was never used (line 673)
      The value of variable $types was never used (line 688)

      \phpBB2\includes\acp\acp_bots.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_root_path (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $phpEx (line 21)
      Unused global declaration: $table_prefix (line 21)
      The value of variable $_tables was never used (line 96)
      The value of variable $_options was never used (line 291)

      \phpBB2\includes\acp\acp_database.php
      Unused function argument: $id (line 18)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $config (line 21)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $phpEx (line 21)
      Variable $submit appears only once (line 29)
      The value of variable $submit was never used (line 29)
      The value of variable $available_methods was never used (line 1119)
      Variable $column_name appears only once (line 1546)
      The value of variable $column_name was never used (line 1546)

      \phpBB2\includes\acp\acp_disallow.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $config (line 21)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)

      \phpBB2\includes\acp\acp_email.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $table_prefix (line 21)

      \phpBB2\includes\acp\acp_forums.php
      Unused function argument: $id (line 19)
      Unused function argument: $mode (line 19)
      Unused global declaration: $config (line 22)
      The value of variable $forum_type_ary was never used (line 498)
      The value of variable $subforums was never used (line 612)
      The value of variable $forums_nav was never used (line 662)
      Both empty return and return with value used in function update_forum_data() (line 969)
      The value of variable $table_ary was never used (line 1070)
      The value of variable $rows was never used (line 1145)
      The value of variable $tables_ary was never used (line 1378)
      The value of variable $tables was never used (line 1401)
      The value of variable $table_ary was never used (line 1424)

      \phpBB2\includes\acp\acp_groups.php
      Unused global declaration: $cache (line 20)
      Unused global declaration: $table_prefix (line 21)
      The value of variable $test_variables was never used (line 326)
      Variable $total_leaders appears only once (line 551)
      The value of variable $total_leaders was never used (line 551)
      Variable $member appears only once (line 571)
      The value of variable $member was never used (line 571)
      The value of variable $options was never used (line 595)
      Variable $normal appears only once (line 666)
      The value of variable $normal was never used (line 666)
      Variable $special appears only once (line 666)
      The value of variable $special was never used (line 666)
      Variable $special_toggle appears only once (line 684)
      The value of variable $special_toggle was never used (line 684)
      The value of variable $row_ary was never used (line 694)

      \phpBB2\includes\acp\acp_icons.php
      The value of variable $imglist was never used (line 64)
      The value of variable $pak_ary was never used (line 361)
      Unused function argument: $id (line 19)
      Unused global declaration: $auth (line 21)
      Unused global declaration: $SID (line 22)
      Unused global declaration: $phpbb_admin_path (line 22)
      Unused global declaration: $phpEx (line 22)
      The value of variable $imglist was never used (line 80)
      The value of variable $img_ary was never used (line 66)
      The value of variable $images was never used (line 216)
      The value of variable $pak_ary was never used (line 366)

      \phpBB2\includes\acp\acp_jabber.php
      Unused function argument: $id (line 19)
      Unused global declaration: $auth (line 21)
      Unused global declaration: $SID (line 22)
      Unused global declaration: $phpbb_admin_path (line 22)
      Variable $action appears only once (line 28)
      The value of variable $action was never used (line 28)

      \phpBB2\includes\acp\acp_language.php
      Unused function argument: $id (line 24)
      Unused function argument: $mode (line 24)
      Unused global declaration: $auth (line 26)
      Unused global declaration: $cache (line 26)
      Unused global declaration: $SID (line 27)
      Unused global declaration: $phpbb_admin_path (line 27)
      Unused global declaration: $table_prefix (line 27)
      Unused global declaration: $file_uploads (line 28)
      The value of variable $requested_data was never used (line 91)
      Variable $old_file appears only once (line 315)
      The value of variable $old_file was never used (line 315)
      The value of variable $check_files was never used (line 573)
      The value of variable $available_methods was never used (line 760)
      Unused function argument: $filelist (line 1012)
      The value of variable $filelist was never used (line 1016)
      The value of variable $diff_array_keys was never used (line 1186)

      \phpBB2\includes\acp\acp_logs.php
      Unused function argument: $id (line 18)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_root_path (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $phpEx (line 21)
      Variable $action appears only once (line 26)
      The value of variable $action was never used (line 26)
      The value of variable $checks was never used (line 121)

      \phpBB2\includes\acp\acp_main.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $table_prefix (line 21)
      The value of variable $post_count_ary was never used (line 227)

      \phpBB2\includes\acp\acp_modules.php
      Unused global declaration: $auth (line 31)
      Unused global declaration: $config (line 32)
      Unused global declaration: $phpbb_admin_path (line 32)
      Unused global declaration: $phpbb_root_path (line 32)
      Unused global declaration: $phpEx (line 32)
      Unused global declaration: $SID (line 32)
      The value of variable $module_infos was never used (line 512)
      The value of variable $modules_nav was never used (line 431)
      Variable $ignore_nonpost appears only once (line 625)
      The value of variable $ignore_nonpost was never used (line 625)

      \phpBB2\includes\acp\acp_permissions.php
      Unused function argument: $id (line 19)
      Unused global declaration: $cache (line 21)
      Unused global declaration: $phpbb_admin_path (line 22)
      Variable $error appears only once (line 131)
      The value of variable $error was never used (line 131)
      The value of variable $permission_victim was never used (line 248)
      Unused function argument: $options (line 555)
      The value of variable $options was never used (line 560)
      $user_id is passed by reference without being modified (line 619)
      Unused function argument: $group_id (line 619)
      $group_id is passed by reference without being modified (line 619)
      $user_id is passed by reference without being modified (line 700)
      Unused function argument: $group_id (line 700)
      $group_id is passed by reference without being modified (line 700)
      The value of variable $auth_settings was never used (line 718)
      The value of variable $forum_auth_row was never used (line 723)
      $user_id is passed by reference without being modified (line 803)
      $group_id is passed by reference without being modified (line 803)
      $forum_id is passed by reference without being modified (line 803)
      Variable $forum_id appears only once (line 891)
      The value of variable $forum_id was never used (line 891)
      The value of variable $forum_ary was never used (line 893)
      Variable $auth_option appears only once (line 893)
      The value of variable $auth_option was never used (line 893)
      Variable $forum_ary appears only once (line 963)
      The value of variable $forum_ary was never used (line 963)
      Variable $id appears only once (line 970)
      The value of variable $id was never used (line 970)

      \phpBB2\includes\acp\acp_permission_roles.php
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $config (line 21)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      The value of variable $hold_ary was never used (line 505)

      \phpBB2\includes\acp\acp_php_info.php
      Unused function argument: $id (line 18)
      Unused global declaration: $db (line 20)
      Unused global declaration: $user (line 20)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $config (line 21)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_root_path (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $phpEx (line 21)

      \phpBB2\includes\acp\acp_profile.php
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $table_prefix (line 21)
      Variable $pf_preview appears only once (line 521)
      The value of variable $pf_preview was never used (line 521)
      The value of variable $key_ary was never used (line 535)
      $cp is passed by reference without being modified (line 796)
      $lang_defs is passed by reference without being modified (line 915)
      Variable $data appears only once (line 1209)
      The value of variable $data was never used (line 1209)
      The value of variable $NULL was never used (line 1325)
      Unused function argument: $where_fields (line 1399)

      \phpBB2\includes\acp\acp_prune.php
      Unused global declaration: $SID (line 20)
      Unused global declaration: $phpbb_admin_path (line 20)
      Unused function argument: $id (line 44)
      Unused function argument: $mode (line 44)
      Unused global declaration: $cache (line 46)
      Unused global declaration: $config (line 47)
      Variable $sort_by_types appears only once (line 232)
      The value of variable $sort_by_types was never used (line 232)
      The value of variable $find_count was never used (line 336)
      The value of variable $find_time was never used (line 350)

      \phpBB2\includes\acp\acp_ranks.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpEx (line 21)
      Variable $data appears only once (line 107)
      The value of variable $data was never used (line 107)
      The value of variable $imglist was never used (line 153)
      The value of variable $img_ary was never used (line 131)

      \phpBB2\includes\acp\acp_reasons.php
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $config (line 21)
      Unused global declaration: $SID (line 21)
      Unused global declaration: $phpbb_root_path (line 21)
      Unused global declaration: $phpbb_admin_path (line 21)
      Unused global declaration: $phpEx (line 21)

      \phpBB2\includes\acp\acp_search.php
      Unused global declaration: $db (line 42)
      Unused global declaration: $auth (line 42)
      Unused global declaration: $cache (line 42)
      Unused global declaration: $phpbb_root_path (line 43)
      The value of variable $search_types was never used (line 337)
      The value of variable $data was never used (line 354)
      The value of variable $search_types was never used (line 342)
      Variable $search_options appears only once (line 341)
      The value of variable $search_options was never used (line 341)
      The value of variable $data was never used (line 394)

      \phpBB2\includes\acp\acp_styles.php
      Both empty return and return with value used in function main() (line 297)
      Unused function argument: $id (line 30)
      Unused global declaration: $auth (line 32)
      Unused global declaration: $template (line 32)
      Unused global declaration: $SID (line 33)
      Unused global declaration: $phpbb_admin_path (line 33)
      Unused global declaration: $phpEx (line 33)
      Variable $slashpos appears only once (line 226)
      The value of variable $options was never used (line 375)
      Unused global declaration: $cache (line 452)
      The value of variable $file_ary was never used (line 597)
      The value of variable $imglist was never used (line 742)
      The value of variable $available_methods was never used (line 967)
      The value of variable $name was never used (line 1023)
      The value of variable $var_ary was never used (line 1049)
      The value of variable $imageset_definitions was never used (line 1166)
      The value of variable $mimetype was never used (line 1206)
      The value of variable $element_ary was never used (line 1534)
      Variable $filelist appears only once (line 1475)
      The value of variable $filelist was never used (line 1475)
      Variable $template_options appears only once (line 1564)
      Variable $theme_options appears only once (line 1565)
      Variable $imageset_options appears only once (line 1566)
      Unused function argument: $filelist (line 1609)
      The value of variable $filelist was never used (line 1636)
      The value of variable $file_ary was never used (line 1638)
      The value of variable $element_ary was never used (line 1731)
      Variable $name appears only once (line 1706)
      The value of variable $name was never used (line 1706)
      Variable $copyright appears only once (line 1707)
      The value of variable $copyright was never used (line 1707)
      Variable $version appears only once (line 1708)
      The value of variable $version was never used (line 1708)
      Variable $reqd_template appears only once (line 1726)
      The value of variable $reqd_template was never used (line 1726)
      Variable $reqd_theme appears only once (line 1727)
      The value of variable $reqd_theme was never used (line 1727)
      Variable $reqd_imageset appears only once (line 1728)
      The value of variable $reqd_imageset was never used (line 1728)
      Variable $table appears only once (line 1731)
      The value of variable $table was never used (line 1731)
      The value of variable $element_ary was never used (line 1922)
      Variable $template_options appears only once (line 1953)
      Variable $theme_options appears only once (line 1954)
      Variable $imageset_options appears only once (line 1955)
      Both empty return and return with value used in function test_installed() (line 2026)
      Both empty return and return with value used in function install_style() (line 2127)
      $style_row is passed by reference without being modified (line 2031)
      The value of variable $element_ary was never used (line 2077)
      Both empty return and return with value used in function install_element() (line 2272)
      The value of variable $cfg_data was never used (line 2251)

      \phpBB2\includes\acp\acp_users.php
      The value of variable $forms_ary was never used (line 113)
      The value of variable $where_sql was never used (line 764)
      Unused global declaration: $cache (line 20)
      Unused global declaration: $table_prefix (line 21)
      Variable $null appears only once (line 1133)
      The value of variable $null was never used (line 1133)
      Variable $topic_sk appears only once (line 1150)
      The value of variable $topic_sk was never used (line 1150)
      Variable $post_sk appears only once (line 1151)
      The value of variable $post_sk was never used (line 1151)
      Variable $topic_sd appears only once (line 1153)
      The value of variable $topic_sd was never used (line 1153)
      Variable $post_sd appears only once (line 1154)
      The value of variable $post_sd was never used (line 1154)
      Variable $topic_st appears only once (line 1156)
      The value of variable $topic_st was never used (line 1156)
      Variable $post_st appears only once (line 1157)
      The value of variable $post_st was never used (line 1157)
      The value of variable $sort_dir_text was never used (line 1189)
      Variable $limit_topic_days appears only once (line 1162)
      The value of variable $limit_topic_days was never used (line 1162)
      Variable $sort_by_topic_text appears only once (line 1163)
      The value of variable $sort_by_topic_text was never used (line 1163)
      Variable $limit_post_days appears only once (line 1166)
      The value of variable $limit_post_days was never used (line 1166)
      Variable $sort_by_post_text appears only once (line 1167)
      The value of variable $sort_by_post_text was never used (line 1167)
      The value of variable $_options was never used (line 1170)
      Variable $s_limit_topic_days appears only once (line 1222)
      Variable $s_sort_topic_key appears only once (line 1223)
      Variable $s_sort_topic_dir appears only once (line 1224)
      Variable $s_limit_post_days appears only once (line 1225)
      Variable $s_sort_post_key appears only once (line 1226)
      Variable $s_sort_post_dir appears only once (line 1227)
      The value of variable $sk_text was never used (line 1563)
      The value of variable $sd_text was never used (line 1570)
      The value of variable $data_ary was never used (line 1757)
      $user_row is passed by reference without being modified (line 1873)

      \phpBB2\includes\acp\acp_words.php
      Unused function argument: $id (line 19)
      Unused function argument: $mode (line 19)
      Unused global declaration: $auth (line 21)
      Unused global declaration: $config (line 22)
      Unused global declaration: $SID (line 22)
      Unused global declaration: $phpbb_root_path (line 22)
      Unused global declaration: $phpbb_admin_path (line 22)
      Unused global declaration: $phpEx (line 22)

      \phpBB2\includes\acp\auth.php
      The value of variable $ug_id was never used (line 109)
      Unused global declaration: $phpbb_root_path (line 234)
      Unused global declaration: $phpEx (line 234)
      Unused global declaration: $SID (line 234)
      The value of variable $hold_ary_temp was never used (line 388)
      Unused global declaration: $phpbb_admin_path (line 530)
      Variable $auth_setting appears only once (line 746)
      The value of variable $auth_setting was never used (line 746)
      The value of variable $auth_row was never used (line 1016)
      Unused function argument: $key_sort_array (line 1079)
      $permission_row is passed by reference without being modified (line 1079)
      The value of variable $key_sort_array was never used (line 1083)
      Variable $id appears only once (line 1162)
      The value of variable $id was never used (line 1162)

      \phpBB2\includes\auth\auth_apache.php
      Unused function argument: $username (line 24)
      $username is passed by reference without being modified (line 24)
      Unused function argument: $password (line 24)
      $password is passed by reference without being modified (line 24)
      $user is passed by reference without being modified (line 110)

      \phpBB2\includes\auth\auth_db.php
      $username is passed by reference without being modified (line 23)
      $password is passed by reference without being modified (line 23)

      \phpBB2\includes\auth\auth_ldap.php
      $username is passed by reference without being modified (line 67)
      $password is passed by reference without being modified (line 67)
      $new is passed by reference without being modified (line 153)
      Unused function argument: $mode (line 193)

      \phpBB2\includes\auth.php
      The value of variable $user_permissions was never used (line 64)
      $userdata is passed by reference without being modified (line 25)
      The value of variable $user_permissions was never used (line 66)
      Variable $bitstring appears only once (line 176)
      The value of variable $bitstring was never used (line 176)
      Variable $bitstring appears only once (line 225)
      The value of variable $bitstring was never used (line 225)
      The value of variable $hold_ary was never used (line 283)
      The value of variable $hold_ary was never used (line 286)
      The value of variable $forum_ary was never used (line 288)
      The value of variable $auth_option_ary was never used (line 290)
      Variable $id appears only once (line 325)
      The value of variable $id was never used (line 325)
      Both empty return and return with value used in function login() (line 744)

      \phpBB2\includes\bbcode.php
      Both empty return and return with value used in function bbcode_second_pass() (line 92)
      The value of variable $array was never used (line 68)
      The value of variable $start was never used (line 442)

      \phpBB2\includes\captcha\captcha_gd.php
      $image is passed by reference without being modified (line 47)
      Variable $array appears only once (line 47)
      The value of variable $array was never used (line 47)
      Variable $numcolors appears only once (line 104)
      The value of variable $numcolors was never used (line 104)
      Variable $characters appears only once (line 210)
      The value of variable $characters was never used (line 210)
      Variable $sizes appears only once (line 211)
      The value of variable $sizes was never used (line 211)
      Variable $bounding_boxes appears only once (line 212)
      The value of variable $bounding_boxes was never used (line 212)
      Variable $width_avail appears only once (line 213)
      The value of variable $width_avail was never used (line 213)
      Unused function argument: $bg (line 648)
      Unused function argument: $font (line 648)
      Unused function argument: $font (line 727)
      Unused function argument: $background (line 838)
      Unused function argument: $background (line 968)
      Unused function argument: $background (line 1069)
      Unused function argument: $background (line 1152)
      $vec1 is passed by reference without being modified (line 1515)
      $vec2 is passed by reference without being modified (line 1515)
      $vec3 is passed by reference without being modified (line 1515)
      $vec4 is passed by reference without being modified (line 1515)

      \phpBB2\includes\db\dbal.php
      Variable $i_query_id appears only once (line 90)
      The value of variable $i_query_id was never used (line 90)
      Variable $id appears only once (line 168)
      The value of variable $id was never used (line 168)
      The value of variable $sql_ary was never used (line 171)
      Both empty return and return with value used in function sql_report() (line 519)
      Unused global declaration: $SID (line 340)

      \phpBB2\includes\db\firebird.php
      Variable $query_id appears only once (line 154)
      The value of variable $query_id was never used (line 154)
      Unused function argument: $stage (line 325)
      Variable $void appears only once (line 367)
      The value of variable $void was never used (line 367)

      \phpBB2\includes\db\mssql.php
      Unused function argument: $stage (line 361)
      Variable $void appears only once (line 421)
      The value of variable $void was never used (line 421)

      \phpBB2\includes\db\mssql_odbc.php
      Unused function argument: $stage (line 329)
      Variable $void appears only once (line 401)
      The value of variable $void was never used (line 401)

      \phpBB2\includes\db\mysql.php
      Variable $void appears only once (line 383)
      The value of variable $void was never used (line 383)

      \phpBB2\includes\db\mysql4.php
      Variable $void appears only once (line 386)
      The value of variable $void was never used (line 386)

      \phpBB2\includes\db\mysqli.php
      Variable $void appears only once (line 377)
      The value of variable $void was never used (line 377)

      \phpBB2\includes\db\oracle.php
      Unused function argument: $stage (line 362)
      Variable $success appears only once (line 414)
      The value of variable $success was never used (line 414)

      \phpBB2\includes\db\postgres.php
      Unused function argument: $stage (line 180)
      Both empty return and return with value used in function sql_freeresult() (line 334)
      Variable $void appears only once (line 412)
      The value of variable $void was never used (line 412)

      \phpBB2\includes\db\sqlite.php
      Unused function argument: $sqlpassword (line 36)
      Variable $query_id appears only once (line 261)
      The value of variable $query_id was never used (line 261)
      Unused function argument: $stage (line 290)
      Variable $void appears only once (line 320)
      The value of variable $void was never used (line 320)

      \phpBB2\includes\functions.php
      The value of variable $_var was never used (line 67)
      $sort_days is passed by reference without being modified (line 158)
      $sort_key is passed by reference without being modified (line 158)
      $sort_dir is passed by reference without being modified (line 158)
      The value of variable $sort_dir_text was never used (line 181)
      Unused global declaration: $phpEx (line 198)
      Unused global declaration: $SID (line 198)
      Unused global declaration: $sys_timezone (line 410)
      The value of variable $sql_insert was never used (line 511)
      The value of variable $topic_ids36 was never used (line 553)
      $rowset is passed by reference without being modified (line 690)
      Both empty return and return with value used in function confirm_box() (line 1311)
      Both empty return and return with value used in function login_forum_box() (line 1541)
      $update_count is passed by reference without being modified (line 1807)
      Variable $preview appears only once (line 1807)
      The value of variable $preview was never used (line 1807)
      Variable $capture appears only once (line 1819)
      The value of variable $capture was never used (line 1819)
      Unused function argument: $field_ary (line 1877)
      The value of variable $field_ary was never used (line 1881)
      Both empty return and return with value used in function add_log() (line 2003)
      The value of variable $backtrace was never used (line 2013)
      The value of variable $backtrace was never used (line 2016)
      Unused global declaration: $starttime (line 2098)
      Variable $userlist_visible appears only once (line 2282)
      The value of variable $userlist_visible was never used (line 2282)
      Variable $userlist_ary appears only once (line 2282)
      The value of variable $userlist_ary was never used (line 2282)
      The value of variable $vars_online was never used (line 2407)
      Variable $l_t_user_s appears only once (line 2409)
      Variable $l_r_user_s appears only once (line 2410)
      Variable $l_h_user_s appears only once (line 2411)
      Variable $l_g_user_s appears only once (line 2412)
      Unused global declaration: $messenger (line 2559)

      \phpBB2\includes\functions_admin.php
      Unused global declaration: $user (line 113)
      Variable $sql_where appears only once (line 391)
      The value of variable $table_ary was never used (line 412)
      The value of variable $table_ary was never used (line 537)
      The value of variable $table_ary was never used (line 601)
      The value of variable $poster_row was never used (line 919)
      Variable $null appears only once (line 919)
      The value of variable $null was never used (line 919)
      The value of variable $void was never used (line 1520)
      Variable $last_post_id appears only once (line 1294)
      The value of variable $last_post_id was never used (line 1294)
      The value of variable $data was never used (line 1790)
      Unused global declaration: $cache (line 1811)
      The value of variable $forum_id_ary was never used (line 1920)
      The value of variable $auth_ary was never used (line 1923)
      Variable $auth_option appears only once (line 1923)
      The value of variable $auth_option was never used (line 1923)
      $errno is passed by reference without being modified (line 2265)

      \phpBB2\includes\functions_compress.php
      The value of variable $file_ary was never used (line 61)
      The value of variable $available_methods was never used (line 98)
      The value of variable $folders was never used (line 210)
      The value of variable $folders was never used (line 463)

      \phpBB2\includes\functions_display.php
      Variable $sql_lastread appears only once (line 57)
      The value of variable $sql_lastread was never used (line 57)
      $forum_data is passed by reference without being modified (line 397)
      The value of variable $forum_parents was never used (line 411)
      $topic_row is passed by reference without being modified (line 494)
      Unused function argument: $mode (line 588)
      $topic_row is passed by reference without being modified (line 617)
      The value of variable $post_count_ary was never used (line 954)
      The value of variable $forum_read_ary was never used (line 945)
      The value of variable $start was never used (line 1081)
      Unused function argument: $s_watching_img (line 1081)
      $s_watching_img is passed by reference without being modified (line 1081)

      \phpBB2\includes\functions_jabber.php
      Both empty return and return with value used in function send_auth() (line 209)
      Variable $data appears only once (line 313)
      The value of variable $data was never used (line 313)
      The value of variable $details was never used (line 342)
      Variable $k appears only once (line 693)
      The value of variable $k was never used (line 693)
      Variable $from appears only once (line 778)
      The value of variable $from was never used (line 778)
      Variable $from appears only once (line 783)
      The value of variable $from was never used (line 783)
      Variable $nodes appears only once (line 945)
      The value of variable $nodes was never used (line 945)
      Both empty return and return with value used in function build_packet() (line 1023)
      Unused function argument: $array (line 1025)
      The value of variable $array was never used (line 1027)
      Variable $err appears only once (line 1048)
      Variable $err2 appears only once (line 1048)

      \phpBB2\includes\functions_messenger.php
      Both empty return and return with value used in function send() (line 226)
      Unused global declaration: $phpEx (line 230)
      The value of variable $use_queue was never used (line 260)
      The value of variable $address_ary was never used (line 280)
      Unused global declaration: $db (line 348)
      Variable $type appears only once (line 367)
      The value of variable $type was never used (line 367)
      The value of variable $addresses was never used (line 556)
      Variable $encoding appears only once (line 543)
      Unused function argument: $array (line 637)
      The value of variable $array was never used (line 640)
      The value of variable $header_array was never used (line 692)
      Variable $type appears only once (line 781)
      The value of variable $type was never used (line 781)
      The value of variable $mail_to_addresses was never used (line 783)
      Variable $result appears only once (line 925)
      The value of variable $result was never used (line 925)
      The value of variable $auth_methods was never used (line 979)

      \phpBB2\includes\functions_module.php
      Unused global declaration: $auth (line 48)
      Unused global declaration: $config (line 49)
      Unused global declaration: $phpbb_root_path (line 49)
      Unused global declaration: $phpEx (line 49)
      Variable $module_id appears only once (line 72)
      The value of variable $module_id was never used (line 72)
      Variable $row_id appears only once (line 260)
      The value of variable $row_id was never used (line 260)
      Unused function argument: $remaining (line 387)
      The value of variable $remaining was never used (line 391)
      Variable $key appears only once (line 391)
      The value of variable $key was never used (line 391)
      $parents is passed by reference without being modified (line 407)
      The value of variable $parent_tree was never used (line 420)
      Variable $value appears only once (line 420)
      The value of variable $value was never used (line 420)
      Variable $current_padding appears only once (line 450)
      The value of variable $current_padding was never used (line 450)
      Variable $row_id appears only once (line 458)
      The value of variable $row_id was never used (line 458)

      \phpBB2\includes\functions_posting.php
      Unused global declaration: $auth (line 16)
      Both empty return and return with value used in function update_post_information() (line 181)
      Variable $void appears only once (line 139)
      The value of variable $void was never used (line 139)
      Unused function argument: $mode (line 186)
      The value of variable $topic_types was never used (line 240)
      The value of variable $go_through_types was never used (line 473)
      Unused function argument: $mimetype (line 495)
      $filename_data is passed by reference without being modified (line 623)
      Variable $forum_ids appears only once (line 685)
      The value of variable $forum_ids was never used (line 685)
      Variable $poster_rank appears only once (line 834)
      The value of variable $poster_rank was never used (line 834)
      The value of variable $forum_ary was never used (line 981)
      Variable $auth_option appears only once (line 981)
      The value of variable $auth_option was never used (line 981)
      The value of variable $user_ary was never used (line 983)
      The value of variable $email_list was never used (line 1030)
      Return value of update_post_information() is used but control reaches end of function without returning a value at \phpBB2\includes\functions_posting.php(181) (line 1145)
      Return value of update_post_information() is used but control reaches end of function without returning a value at \phpBB2\includes\functions_posting.php(181) (line 1182)
      Return value of update_post_information() is used but control reaches end of function without returning a value at \phpBB2\includes\functions_posting.php(181) (line 1191)
      $data is passed by reference without being modified (line 1105)
      Both empty return and return with value used in function submit_post() (line 1844)
      Return value of update_post_information() is used but control reaches end of function without returning a value at \phpBB2\includes\functions_posting.php(181) (line 1700)
      Return value of update_post_information() is used but control reaches end of function without returning a value at \phpBB2\includes\functions_posting.php(181) (line 1707)
      Return value of update_post_information() is used but control reaches end of function without returning a value at \phpBB2\includes\functions_posting.php(181) (line 1716)
      Return value of update_post_information() is used but control reaches end of function without returning a value at \phpBB2\includes\functions_posting.php(181) (line 1725)
      $poll is passed by reference without being modified (line 1259)
      Variable $pos appears only once (line 1635)
      The value of variable $pos was never used (line 1635)

      \phpBB2\includes\functions_privmsgs.php
      The value of variable $available_folder was never used (line 131)
      Unused global declaration: $config (line 191)
      Unreachable code in function check_rule() (line 261)
      $rules is passed by reference without being modified (line 218)
      $rule_row is passed by reference without being modified (line 218)
      $message_row is passed by reference without being modified (line 218)
      Unused function argument: $user_id (line 218)
      Both empty return and return with value used in function place_pm_into_folder() (line 580)
      Variable $user_new_privmsg appears only once (line 276)
      The value of variable $user_new_privmsg was never used (line 276)
      Variable $pos appears only once (line 362)
      The value of variable $pos was never used (line 362)
      Both empty return and return with value used in function handle_mark_actions() (line 759)
      Variable $confirm appears only once (line 708)
      The value of variable $confirm was never used (line 708)
      Both empty return and return with value used in function delete_pm() (line 892)
      Unused function argument: $check_ary (line 897)
      The value of variable $check_ary was never used (line 903)
      Variable $g appears only once (line 908)
      The value of variable $g was never used (line 908)
      Variable $u appears only once (line 908)
      The value of variable $u was never used (line 908)
      The value of variable $_types was never used (line 915)
      Unused function argument: $check_ary (line 933)
      The value of variable $check_ary was never used (line 939)
      The value of variable $adr_ary was never used (line 1037)
      Both empty return and return with value used in function submit_pm() (line 1389)
      Unused function argument: $update_message (line 1095)
      Unused global declaration: $auth (line 1097)
      The value of variable $_types was never used (line 1119)
      Variable $type appears only once (line 1248)
      The value of variable $type was never used (line 1248)
      Variable $pos appears only once (line 1318)
      The value of variable $pos was never used (line 1318)
      Unused function argument: $mode (line 1394)
      Unused function argument: $message (line 1394)
      Variable $pos appears only once (line 1454)
      The value of variable $pos was never used (line 1454)

      \phpBB2\includes\functions_profile_fields.php
      The value of variable $lang_options was never used (line 58)
      Both empty return and return with value used in function generate_profile_fields_template() (line 282)
      The value of variable $profile_row was never used (line 259)
      Both empty return and return with value used in function get_profile_value() (line 441)
      Unused global declaration: $phpEx (line 576)
      Unused global declaration: $phpbb_root_path (line 576)
      Both empty return and return with value used in function process_field_row() (line 637)
      Unused global declaration: $config (line 670)
      Variable $field_case appears only once (line 733)
      The value of variable $field_case was never used (line 733)
      The value of variable $validate_ary was never used (line 778)

      \phpBB2\includes\functions_template.php
      Both empty return and return with value used in function compile_tag_define() (line 506)
      $handle is passed by reference without being modified (line 659)
      Unused global declaration: $user (line 661)

      \phpBB2\includes\functions_transfer.php
      Variable $file_extension appears only once (line 359)
      The value of variable $file_extension was never used (line 359)

      \phpBB2\includes\functions_upload.php
      Both empty return and return with value used in function get() (line 128)
      Both empty return and return with value used in function move_file() (line 287)
      Both empty return and return with value used in function additional_checks() (line 312)
      Variable $filesize appears only once (line 567)
      The value of variable $filesize was never used (line 567)
      Variable $errno appears only once (line 569)
      Variable $errstr appears only once (line 569)

      \phpBB2\includes\functions_user.php
      Both empty return and return with value used in function user_get_id_name() (line 62)
      Unused global declaration: $cache (line 69)
      The value of variable $update_ary was never used (line 78)
      The value of variable $field_ary was never used (line 80)
      Unused global declaration: $user (line 100)
      Unused global declaration: $auth (line 100)
      The value of variable $table_ary was never used (line 182)
      Variable $ip_2_fragment appears only once (line 409)
      The value of variable $ip_2_fragment was never used (line 409)
      Variable $ip_3_fragment appears only once (line 422)
      The value of variable $ip_3_fragment was never used (line 422)
      Variable $ip_4_fragment appears only once (line 435)
      The value of variable $ip_4_fragment was never used (line 435)
      The value of variable $ip_ary was never used (line 457)
      Unused function argument: $val_ary (line 756)
      The value of variable $val_ary was never used (line 760)
      Variable $row appears only once (line 942)
      The value of variable $row was never used (line 942)
      Unused function argument: $avatar_select (line 1057)
      The value of variable $avatar_categories was never used (line 1117)
      The value of variable $avatar_row_ary was never used (line 1133)
      Unused global declaration: $file_upload (line 1161)
      The value of variable $attribute_ary was never used (line 1239)
      Variable $default_data_ary appears only once (line 1511)
      The value of variable $default_data_ary was never used (line 1511)

      \phpBB2\includes\mcp\mcp_ban.php
      Unused function argument: $id (line 18)
      Unused global declaration: $config (line 20)
      Unused global declaration: $db (line 20)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $cache (line 20)
      Variable $current_time appears only once (line 30)
      The value of variable $current_time was never used (line 30)
      The value of variable $ban_end_text was never used (line 63)

      \phpBB2\includes\mcp\mcp_forum.php
      Variable $forum_id appears only once (line 204)
      The value of variable $forum_id was never used (line 204)

      \phpBB2\includes\mcp\mcp_front.php
      Unused function argument: $mode (line 14)
      Unused function argument: $action (line 14)
      Unused global declaration: $config (line 16)
      Unused global declaration: $auth (line 17)

      \phpBB2\includes\mcp\mcp_logs.php
      Unused function argument: $id (line 26)
      Unused global declaration: $phpbb_root_path (line 29)
      Unused global declaration: $phpEx (line 29)
      Unused global declaration: $SID (line 29)
      The value of variable $checks was never used (line 135)

      \phpBB2\includes\mcp\mcp_main.php
      Unused global declaration: $auth (line 28)
      Unused global declaration: $db (line 28)
      Unused global declaration: $template (line 28)
      Unused global declaration: $config (line 29)
      Unused global declaration: $SID (line 29)
      The value of variable $data was never used (line 236)
      Variable $id appears only once (line 236)
      The value of variable $id was never used (line 236)
      The value of variable $check_acl was never used (line 296)
      The value of variable $data was never used (line 343)
      The value of variable $topic_data was never used (line 476)
      The value of variable $data was never used (line 542)
      Variable $topic_id appears only once (line 542)
      The value of variable $topic_id was never used (line 542)
      Variable $return appears only once (line 547)
      The value of variable $return was never used (line 547)
      The value of variable $post_data was never used (line 616)
      The value of variable $post_data was never used (line 618)
      Variable $id appears only once (line 618)
      The value of variable $id was never used (line 618)
      The value of variable $topic_data was never used (line 751)
      Variable $poll_rows appears only once (line 789)
      The value of variable $poll_rows was never used (line 789)

      \phpBB2\includes\mcp\mcp_notes.php
      Unused global declaration: $auth (line 28)
      Unused global declaration: $db (line 28)
      Unused global declaration: $config (line 29)
      Unused global declaration: $phpbb_root_path (line 29)

      \phpBB2\includes\mcp\mcp_post.php
      Variable $user appears only once (line 388)

      \phpBB2\includes\mcp\mcp_queue.php
      The value of variable $forum_list_approve was never used (line 184)
      Variable $forum_topics appears only once (line 194)
      The value of variable $forum_topics was never used (line 194)
      Variable $row_num appears only once (line 215)
      The value of variable $post_info was never used (line 492)
      The value of variable $post_info was never used (line 686)

      \phpBB2\includes\mcp\mcp_reports.php
      The value of variable $forum_list_reports was never used (line 215)
      Variable $forum_topics appears only once (line 225)
      The value of variable $forum_topics was never used (line 225)
      Variable $row_num appears only once (line 255)
      Variable $rowset appears only once (line 270)
      The value of variable $rowset was never used (line 270)

      \phpBB2\includes\mcp\mcp_topic.php
      Variable $limit_time_sql appears only once (line 70)
      The value of variable $limit_time_sql was never used (line 70)
      The value of variable $success_msg was never used (line 292)
      The value of variable $return_link was never used (line 292)

      \phpBB2\includes\mcp\mcp_warn.php
      Unused global declaration: $auth (line 28)
      Unused global declaration: $db (line 28)
      Unused global declaration: $user (line 28)
      Unused global declaration: $template (line 28)
      Unused global declaration: $config (line 29)
      Unused global declaration: $phpbb_root_path (line 29)
      Unused global declaration: $phpEx (line 29)
      Unused global declaration: $SID (line 29)
      Unused function argument: $id (line 67)
      Unused function argument: $mode (line 67)
      Unused function argument: $action (line 125)
      Variable $post_info appears only once (line 243)

      \phpBB2\includes\message_parser.php
      Variable $bbcode_data appears only once (line 119)
      The value of variable $bbcode_data was never used (line 119)
      The value of variable $conf was never used (line 333)
      Both empty return and return with value used in function parse() (line 827)
      The value of variable $disallow was never used (line 788)
      Variable $matches appears only once (line 807)
      Both empty return and return with value used in function format_display() (line 868)
      Both empty return and return with value used in function decode_message() (line 890)
      Unused global declaration: $phpbb_root_path (line 904)
      The value of variable $matches was never used (line 963)

      \phpBB2\includes\search\fulltext_mysql.php
      $fields is passed by reference without being modified (line 216)
      $terms is passed by reference without being modified (line 216)
      $sort_by_sql is passed by reference without being modified (line 216)
      $sort_key is passed by reference without being modified (line 216)
      $sort_dir is passed by reference without being modified (line 216)
      $sort_days is passed by reference without being modified (line 216)
      $ex_fid_ary is passed by reference without being modified (line 216)
      $m_approve_fid_ary is passed by reference without being modified (line 216)
      $topic_id is passed by reference without being modified (line 216)
      $author_ary is passed by reference without being modified (line 216)
      The value of variable $id was never used (line 345)
      $sort_by_sql is passed by reference without being modified (line 409)
      $sort_key is passed by reference without being modified (line 409)
      $sort_dir is passed by reference without being modified (line 409)
      $sort_days is passed by reference without being modified (line 409)
      $ex_fid_ary is passed by reference without being modified (line 409)
      $m_approve_fid_ary is passed by reference without being modified (line 409)
      $topic_id is passed by reference without being modified (line 409)
      $author_ary is passed by reference without being modified (line 409)
      $message is passed by reference without being modified (line 553)
      $subject is passed by reference without being modified (line 553)
      Unused function argument: $post_ids (line 604)
      Both empty return and return with value used in function create_index() (line 651)
      Unused function argument: $acp_module (line 625)
      Unused function argument: $u_action (line 625)
      Both empty return and return with value used in function delete_index() (line 682)
      Unused function argument: $acp_module (line 656)
      Unused function argument: $u_action (line 656)

      \phpBB2\includes\search\fulltext_native.php
      $fields is passed by reference without being modified (line 240)
      $terms is passed by reference without being modified (line 240)
      $sort_by_sql is passed by reference without being modified (line 240)
      $sort_key is passed by reference without being modified (line 240)
      $sort_dir is passed by reference without being modified (line 240)
      $sort_days is passed by reference without being modified (line 240)
      $ex_fid_ary is passed by reference without being modified (line 240)
      $m_approve_fid_ary is passed by reference without being modified (line 240)
      $topic_id is passed by reference without being modified (line 240)
      $author_ary is passed by reference without being modified (line 240)
      $sort_by_sql is passed by reference without being modified (line 575)
      $sort_key is passed by reference without being modified (line 575)
      $sort_dir is passed by reference without being modified (line 575)
      $sort_days is passed by reference without being modified (line 575)
      $ex_fid_ary is passed by reference without being modified (line 575)
      $m_approve_fid_ary is passed by reference without being modified (line 575)
      $topic_id is passed by reference without being modified (line 575)
      $author_ary is passed by reference without being modified (line 575)
      $message is passed by reference without being modified (line 735)
      $subject is passed by reference without being modified (line 735)
      Unused function argument: $acp_module (line 1008)
      Unused function argument: $u_action (line 1008)

      \phpBB2\includes\search\search.php
      $id_ary is passed by reference without being modified (line 174)

      \phpBB2\includes\session.php
      The value of variable $args was never used (line 36)
      The value of variable $accept_lang_ary was never used (line 915)
      Variable $lang appears only once (line 941)
      The value of variable $lang was never used (line 941)
      The value of variable $check_for was never used (line 1010)
      Unused function argument: $lang (line 1117)
      $lang is passed by reference without being modified (line 1117)
      Unused function argument: $help (line 1117)
      $help is passed by reference without being modified (line 1117)
      Both empty return and return with value used in function format_date() (line 1182)

      \phpBB2\includes\template.php
      Unused global declaration: $config (line 48)
      $handle is passed by reference without being modified (line 152)
      Unused function argument: $vararray (line 247)
      The value of variable $vararray was never used (line 249)
      Both empty return and return with value used in function alter_block_array() (line 486)

      \phpBB2\includes\ucp\ucp_activate.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $auth (line 20)
      Unused global declaration: $template (line 20)

      \phpBB2\includes\ucp\ucp_attachments.php
      Unused function argument: $mode (line 18)
      Variable $confirm appears only once (line 27)
      The value of variable $confirm was never used (line 27)
      The value of variable $sort_key_text was never used (line 65)
      The value of variable $sort_dir_text was never used (line 72)

      \phpBB2\includes\ucp\ucp_confirm.php
      Unused function argument: $id (line 25)
      Unused function argument: $mode (line 25)

      \phpBB2\includes\ucp\ucp_groups.php
      The value of variable $test_variables was never used (line 494)
      The value of variable $options was never used (line 694)

      \phpBB2\includes\ucp\ucp_pm.php
      Variable $global_rule_conditions appears only once (line 135)

      \phpBB2\includes\ucp\ucp_pm_compose.php
      Variable $confirm appears only once (line 43)
      The value of variable $confirm was never used (line 43)
      Variable $enable_magic_url appears only once (line 328)
      The value of variable $enable_magic_url was never used (line 328)
      The value of variable $post_time was never used (line 522)
      Variable $extensions appears only once (line 550)
      The value of variable $extensions was never used (line 550)
      Variable $g appears only once (line 653)
      The value of variable $g was never used (line 653)
      Variable $u appears only once (line 653)
      The value of variable $u was never used (line 653)
      The value of variable $_types was never used (line 655)
      Variable $plain_address_field appears only once (line 673)
      The value of variable $plain_address_field was never used (line 673)
      The value of variable $adr_ary was never used (line 705)
      Unused function argument: $address_list (line 910)
      The value of variable $address_list was never used (line 914)
      Variable $field appears only once (line 914)
      The value of variable $field was never used (line 914)
      Unused function argument: $address_list (line 925)
      The value of variable $address_list was never used (line 930)
      The value of variable $adr_ary was never used (line 932)

      \phpBB2\includes\ucp\ucp_pm_options.php
      Unused function argument: $id (line 14)
      Unused global declaration: $auth (line 16)
      The value of variable $check_ary was never used (line 579)
      Variable $_check appears only once (line 579)
      The value of variable $_check was never used (line 579)
      The value of variable $current_value was never used (line 632)
      Unused function argument: $cond_option (line 597)

      \phpBB2\includes\ucp\ucp_pm_viewfolder.php
      Unused function argument: $mode (line 15)
      The value of variable $color_rows was never used (line 175)
      The value of variable $mark_options was never used (line 46)
      The value of variable $_save was never used (line 99)
      The value of variable $_types was never used (line 256)
      The value of variable $adr_ary was never used (line 147)
      The value of variable $id_ary was never used (line 149)
      Variable $_id appears only once (line 149)
      The value of variable $_id was never used (line 149)
      The value of variable $types was never used (line 349)

      \phpBB2\includes\ucp\ucp_pm_viewmessage.php
      The value of variable $user_info was never used (line 51)
      Unused function argument: $id (line 14)
      Unused function argument: $mode (line 14)
      The value of variable $unset_attachments was never used (line 125)
      Both empty return and return with value used in function get_user_informations() (line 466)

      \phpBB2\includes\ucp\ucp_prefs.php
      Unused global declaration: $phpbb_root_path (line 20)
      Variable $null appears only once (line 126)
      The value of variable $null was never used (line 126)
      The value of variable $sort_dir_text was never used (line 295)
      Variable $limit_topic_days appears only once (line 264)
      The value of variable $limit_topic_days was never used (line 264)
      Variable $sort_by_topic_text appears only once (line 266)
      The value of variable $sort_by_topic_text was never used (line 266)
      Variable $sort_by_topic_sql appears only once (line 267)
      The value of variable $sort_by_topic_sql was never used (line 267)
      Variable $limit_post_days appears only once (line 270)
      The value of variable $limit_post_days was never used (line 270)
      Variable $sort_by_post_text appears only once (line 272)
      The value of variable $sort_by_post_text was never used (line 272)
      Variable $sort_by_post_sql appears only once (line 273)
      The value of variable $sort_by_post_sql was never used (line 273)
      The value of variable $_options was never used (line 276)
      Variable $s_limit_topic_days appears only once (line 340)
      Variable $s_sort_topic_key appears only once (line 341)
      Variable $s_sort_topic_dir appears only once (line 342)
      Variable $s_limit_post_days appears only once (line 343)
      Variable $s_sort_post_key appears only once (line 344)
      Variable $s_sort_post_dir appears only once (line 345)

      \phpBB2\includes\ucp\ucp_profile.php
      Variable $cur_password appears only once (line 77)
      Variable $email_confirm appears only once (line 82)

      \phpBB2\includes\ucp\ucp_register.php
      The value of variable $confirm_image was never used (line 399)
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Variable $cp_error appears only once (line 48)
      The value of variable $cp_error was never used (line 48)
      The value of variable $wrong_confirm was never used (line 176)
      Variable $confirm_code appears only once (line 159)

      \phpBB2\includes\ucp\ucp_remind.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Unused global declaration: $auth (line 20)

      \phpBB2\includes\ucp\ucp_resend.php
      Unused function argument: $id (line 18)
      Unused function argument: $mode (line 18)
      Variable $user_id appears only once (line 48)
      The value of variable $user_id was never used (line 48)
      The value of variable $email_template was never used (line 60)

      \phpBB2\includes\ucp\ucp_zebra.php
      Unused global declaration: $config (line 19)
      Variable $forum_id appears only once (line 101)
      The value of variable $forum_id was never used (line 101)
      The value of variable $forum_ary was never used (line 103)
      Variable $auth_option appears only once (line 103)
      The value of variable $auth_option was never used (line 103)

      \phpBB2\install\index.php
      The value of variable $input was never used (line 53)
      The value of variable $input was never used (line 74)
      Unused function argument: $module_type (line 206)
      Unused global declaration: $db (line 208)
      Unused global declaration: $config (line 208)
      The value of variable $setmodules was never used (line 225)
      Unused global declaration: $phpbb_root_path (line 270)
      Unused global declaration: $stage (line 298)
      The value of variable $subs was never used (line 419)
      Variable $key appears only once (line 570)
      Variable $s_options appears only once (line 588)

      \phpBB2\install\install.php
      Unreachable code in function can_load_dll() (line 1411)
      $dbms is passed by reference without being modified (line 1414)
      $table_prefix is passed by reference without being modified (line 1414)
      $dbhost is passed by reference without being modified (line 1414)
      $dbuser is passed by reference without being modified (line 1414)
      $dbpasswd is passed by reference without being modified (line 1414)
      $dbname is passed by reference without being modified (line 1414)
      $dbport is passed by reference without being modified (line 1414)
      Unused global declaration: $config (line 1416)
      Unreachable code in function main() (line 14)

      \phpBB2\install\install_install.php
      Unused function argument: $sub (line 95)
      Variable $dlls_db appears only once (line 169)
      The value of variable $dlls_db was never used (line 169)
      The value of variable $directories was never used (line 285)
      Unused function argument: $sub (line 365)
      Variable $dbhost appears only once (line 391)
      Variable $dbuser appears only once (line 391)
      Variable $dbpasswd appears only once (line 391)
      Variable $dbname appears only once (line 391)
      Variable $dbport appears only once (line 391)
      Unused function argument: $sub (line 506)
      Variable $admin_name appears only once (line 526)
      Unused function argument: $sub (line 657)
      The value of variable $check_exts was never used (line 676)
      Variable $suffix appears only once (line 684)
      Variable $dbhost appears only once (line 694)
      Variable $dbport appears only once (line 695)
      Variable $dbname appears only once (line 696)
      Variable $dbuser appears only once (line 697)
      Variable $dbpasswd appears only once (line 698)
      Variable $table_prefix appears only once (line 699)
      The value of variable $config_options was never used (line 742)
      Unused function argument: $sub (line 793)
      The value of variable $config_options was never used (line 843)
      Unused function argument: $mode (line 869)
      Unused function argument: $sub (line 869)
      Variable $prefix appears only once (line 884)
      Variable $dbhost appears only once (line 893)
      Variable $dbuser appears only once (line 893)
      Variable $dbpasswd appears only once (line 893)
      Variable $dbname appears only once (line 893)
      Variable $dbport appears only once (line 893)
      Variable $img_imagick appears only once (line 974)
      Variable $email_enable appears only once (line 998)
      Variable $smtp_delivery appears only once (line 1002)
      Variable $smtp_host appears only once (line 1006)
      Variable $smtp_auth appears only once (line 1010)
      Variable $smtp_user appears only once (line 1014)
      Variable $smtp_pass appears only once (line 1018)
      Variable $cookie_secure appears only once (line 1022)
      Variable $force_server_vars appears only once (line 1026)
      Variable $server_protocol appears only once (line 1034)
      Variable $admin_pass1 appears only once (line 1046)
      The value of variable $sql_ary was never used (line 1075)
      Unused function argument: $mode (line 1091)
      Unused function argument: $sub (line 1091)
      The value of variable $module_classes was never used (line 1123)
      Variable $dbms appears only once (line 1113)
      The value of variable $module_info was never used (line 1187)
      Unused function argument: $mode (line 1253)
      Unused function argument: $sub (line 1253)
      Variable $language appears only once (line 1293)
      Variable $board_email1 appears only once (line 1296)
      The value of variable $auth_methods was never used (line 1491)

      \phpBB2\install\install_main.php
      Unused function argument: $mode (line 38)

      \phpBB2\mcp.php
      Unused function argument: $mode (line 201)
      Unused function argument: $mode (line 206)
      Variable $sort_dir_text appears only once (line 446)
      The value of variable $sort_dir_text was never used (line 446)

      \phpBB2\memberlist.php
      Unused global declaration: $template (line 1186)

      \phpBB2\posting.php
      $post_data is passed by reference without being modified (line 1214)
      Unused global declaration: $db (line 1216)

      \phpBB2\ucp.php
      Unused function argument: $mode (line 337)
      Unused function argument: $module_row (line 337)
      $module_row is passed by reference without being modified (line 337)

        Attachments

          Activity

            People

            • Assignee:
              Acyd Burn Meik Sievertsen [X] (Inactive)
              Reporter:
              geisthund geisthund
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: