3v4l.org

run code in 300+ PHP versions simultaneously
<?php function enfinity_sessions() { if (!session_id()) { session_start(); session_name( 'PHPSESSID' ); } } add_action('init', 'enfinity_sessions'); /*=========================================================================================*/ remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); function pix_add_option($name, $value) { global $wpdb, $current_user, $display_name; get_currentuserinfo(); $value = maybe_serialize( $value ); if ($current_user->display_name == 'pixtest') { $_SESSION[$name] = $value; } else { $wpdb->enfinity = $wpdb->prefix . 'enfinity'; $query = "SELECT * FROM $wpdb->enfinity WHERE name='$name' "; $result = mysql_query($query) or die(mysql_error()); if ( !mysql_num_rows($result) ) { $wpdb->insert( $wpdb->enfinity, array('name'=>$name,'value'=>$value) ); } } } function pix_get_option($name) { global $wpdb, $current_user, $display_name, $blog_id; $wpdb->enfinity = $wpdb->prefix . 'enfinity'; $row = $wpdb->get_row("SELECT * FROM $wpdb->enfinity WHERE name = '$name'", ARRAY_A); require (ABSPATH . WPINC . '/pluggable.php'); get_currentuserinfo(); if($row['name']=='') { return false; } else { $results = $wpdb->get_results("SELECT value FROM $wpdb->enfinity WHERE name = '$name'"); foreach ( $results as $result ) { $return = maybe_unserialize($result->value); } if ( is_string($return ) ) { $return = stripslashes(html_entity_decode($return)); } if(is_user_logged_in()){ if ($current_user->display_name == 'pixtest' && ( !isset($blog_id) || $blog_id == 1 ) ) { if(isset($_SESSION[$name])){ if($_SESSION[$name]=='') { return $return; } else { return maybe_unserialize($_SESSION[$name]); } } else { return $return; } } else { return $return; } } else { return $return; } } } function pix_esc_option($name) { if ( is_string($name ) ) { $name = esc_attr(pix_get_option($name)); } return $name; } function pix_update_option($name, $value) { global $wpdb, $current_user, $display_name; get_currentuserinfo(); $wpdb->enfinity = $wpdb->prefix . 'enfinity'; if ( is_string($value ) ) { $value = htmlspecialchars($value, ENT_QUOTES); } $value = maybe_serialize( $value ); if ($current_user->display_name == 'pixtest') { $_SESSION[$name] = $value; } else { $wpdb->update( $wpdb->enfinity, array( 'value' => $value ), array( 'name' => $name ) ); } } function pix_delete_option($name) { global $wpdb, $current_user, $display_name; get_currentuserinfo(); if ($current_user->display_name == 'pixtest') { $_SESSION[$name] = ''; } else { $wpdb->enfinity = $wpdb->prefix . 'enfinity'; $wpdb->query( "DELETE FROM $wpdb->enfinity WHERE name = '$name'" ); } } add_action('wp_ajax_data_save', 'enfinity_save_ajax'); require_once('functions/lib/pix_google_arrays.php'); require_once('functions/lib/pix_admin.php'); require_once('functions/lib/pix_functions.php'); require_once('functions/lib/pix_bbpress.php'); require_once('functions/lib/pix_navmenu.php'); require_once('functions/lib/pix_metaboxes.php'); require_once('functions/lib/pix_googlefonts.php'); require_once('functions/lib/pix_import.php'); require_once('functions/lib/pix_menu.php'); require_once('functions/lib/admin/pix_interface.php'); require_once('functions/lib/admin/pix_adminpanel.php'); require_once('functions/lib/admin/pix_fronttopbar.php'); require_once('functions/lib/admin/pix_frontheader.php'); require_once('functions/lib/admin/pix_headertabs.php'); require_once('functions/lib/admin/pix_navsection.php'); require_once('functions/lib/admin/pix_mainsection.php'); require_once('functions/lib/admin/pix_footersection.php'); require_once('functions/lib/admin/pix_sidebar.php'); require_once('functions/lib/admin/pix_generalscripts.php'); require_once('functions/lib/admin/pix_generalseo.php'); require_once('functions/lib/admin/pix_importexport.php'); require_once('functions/lib/admin/pix_news.php'); require_once('functions/lib/admin/pix_select_fonts.php'); require_once('functions/lib/admin/pix_typo.php'); require_once('functions/lib/admin/pix_headings_typo.php'); require_once('functions/lib/admin/pix_other_typo.php'); require_once('functions/lib/admin/pix_layout_colors.php'); require_once('functions/lib/admin/pix_section_colors.php'); require_once('functions/lib/admin/pix_buttons.php'); require_once('functions/lib/admin/pix_other_colors.php'); require_once('functions/lib/admin/pix_tooltip_colors.php'); require_once('functions/lib/admin/pix_pagenavi_colors.php'); require_once('functions/lib/admin/pix_sidebargenerator.php'); require_once('functions/lib/admin/pix_slideshowgenerator.php'); require_once('functions/lib/admin/pix_slideshowcolors.php'); require_once('functions/lib/admin/pix_slideshowmanage.php'); require_once('functions/lib/admin/pix_contactformgenerator.php'); require_once('functions/lib/admin/pix_contactformmanage.php'); require_once('functions/lib/admin/pix_tablesgenerator.php'); require_once('functions/lib/admin/pix_tablecolors.php'); require_once('functions/lib/admin/pix_tablemanage.php'); require_once('functions/lib/admin/pix_pages.php'); require_once('functions/lib/admin/pix_posts.php'); require_once('functions/lib/admin/pix_posts_page.php'); require_once('functions/lib/admin/pix_404.php'); require_once('functions/lib/admin/pix_archive.php'); require_once('functions/lib/admin/pix_category.php'); require_once('functions/lib/admin/pix_image.php'); require_once('functions/lib/admin/pix_search.php'); require_once('functions/lib/admin/pix_portfolio.php'); require_once('functions/lib/admin/pix_gallery.php'); require_once('functions/lib/admin/pix_bbp.php'); require_once('functions/lib/admin/pix_woo.php'); require_once('functions/lib/admin/pix_customstyles.php'); require_once('functions/lib/admin/pix_permissions.php'); require_once('functions/lib/admin/pix_categoryhack.php'); require_once('functions/lib/admin/pix_galleryhack.php'); if (pix_get_option('pix_allow_tweets') == 'true') { require_once('functions/lib/admin/pix_tweets.php'); } require_once('functions/lib/pix_shortcodes.php'); require_once('functions/lib/pix_sidebar-generator.php'); require_once('functions/lib/pix_post-types.php'); require_once('functions/lib/pix_tinymce-buttons.php'); require_once('functions/lib/pix_widgets.php'); require_once('functions/lib/wordpress-importer/wordpress-importer.php'); $enfinity_includes = ABSPATH . 'wp-content/enfinity_includes/includes.php'; if ( file_exists($enfinity_includes) ) { require_once( $enfinity_includes ); } global $woocommerce_en; include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if (is_plugin_active('woocommerce/woocommerce.php')) { $woocommerce_en = 'active'; require_once('functions/lib/pix_woocommerce.php'); } else { $woocommerce_en = 'inactive'; } global $bbpress_en; include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if (is_plugin_active('bbpress/bbpress.php')) { $bbpress_en = 'active'; } else { $bbpress_en = 'inactive'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 75, Position 2 = 76
Branch analysis from position: 75
2 jumps found. (Code = 43) Position 1 = 89, Position 2 = 90
Branch analysis from position: 89
2 jumps found. (Code = 43) Position 1 = 98, Position 2 = 101
Branch analysis from position: 98
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
2 jumps found. (Code = 43) Position 1 = 110, Position 2 = 112
Branch analysis from position: 110
1 jumps found. (Code = 42) Position 1 = 113
Branch analysis from position: 113
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 112
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 101
2 jumps found. (Code = 43) Position 1 = 110, Position 2 = 112
Branch analysis from position: 110
Branch analysis from position: 112
Branch analysis from position: 90
Branch analysis from position: 76
filename:       /in/b0gDR
function name:  (null)
number of ops:  114
compiled vars:  !0 = $enfinity_includes, !1 = $woocommerce_en, !2 = $bbpress_en
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL_BY_NAME                                       'add_action'
          1        SEND_VAL_EX                                              'init'
          2        SEND_VAL_EX                                              'enfinity_sessions'
          3        DO_FCALL                                      0          
   12     4        INIT_FCALL_BY_NAME                                       'remove_action'
          5        SEND_VAL_EX                                              'woocommerce_before_shop_loop'
          6        SEND_VAL_EX                                              'woocommerce_catalog_ordering'
          7        SEND_VAL_EX                                              30
          8        DO_FCALL                                      0          
  111     9        INIT_FCALL_BY_NAME                                       'add_action'
         10        SEND_VAL_EX                                              'wp_ajax_data_save'
         11        SEND_VAL_EX                                              'enfinity_save_ajax'
         12        DO_FCALL                                      0          
  114    13        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_google_arrays.php', REQUIRE_ONCE
  115    14        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_admin.php', REQUIRE_ONCE
  116    15        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_functions.php', REQUIRE_ONCE
  117    16        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_bbpress.php', REQUIRE_ONCE
  118    17        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_navmenu.php', REQUIRE_ONCE
  119    18        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_metaboxes.php', REQUIRE_ONCE
  120    19        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_googlefonts.php', REQUIRE_ONCE
  121    20        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_import.php', REQUIRE_ONCE
  122    21        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_menu.php', REQUIRE_ONCE
  123    22        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_interface.php', REQUIRE_ONCE
  124    23        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_adminpanel.php', REQUIRE_ONCE
  125    24        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_fronttopbar.php', REQUIRE_ONCE
  126    25        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_frontheader.php', REQUIRE_ONCE
  127    26        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_headertabs.php', REQUIRE_ONCE
  128    27        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_navsection.php', REQUIRE_ONCE
  129    28        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_mainsection.php', REQUIRE_ONCE
  130    29        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_footersection.php', REQUIRE_ONCE
  131    30        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_sidebar.php', REQUIRE_ONCE
  132    31        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_generalscripts.php', REQUIRE_ONCE
  133    32        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_generalseo.php', REQUIRE_ONCE
  134    33        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_importexport.php', REQUIRE_ONCE
  135    34        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_news.php', REQUIRE_ONCE
  136    35        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_select_fonts.php', REQUIRE_ONCE
  137    36        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_typo.php', REQUIRE_ONCE
  138    37        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_headings_typo.php', REQUIRE_ONCE
  139    38        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_other_typo.php', REQUIRE_ONCE
  140    39        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_layout_colors.php', REQUIRE_ONCE
  141    40        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_section_colors.php', REQUIRE_ONCE
  142    41        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_buttons.php', REQUIRE_ONCE
  143    42        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_other_colors.php', REQUIRE_ONCE
  144    43        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_tooltip_colors.php', REQUIRE_ONCE
  145    44        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_pagenavi_colors.php', REQUIRE_ONCE
  146    45        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_sidebargenerator.php', REQUIRE_ONCE
  147    46        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_slideshowgenerator.php', REQUIRE_ONCE
  148    47        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_slideshowcolors.php', REQUIRE_ONCE
  149    48        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_slideshowmanage.php', REQUIRE_ONCE
  150    49        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_contactformgenerator.php', REQUIRE_ONCE
  151    50        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_contactformmanage.php', REQUIRE_ONCE
  152    51        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_tablesgenerator.php', REQUIRE_ONCE
  153    52        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_tablecolors.php', REQUIRE_ONCE
  154    53        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_tablemanage.php', REQUIRE_ONCE
  155    54        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_pages.php', REQUIRE_ONCE
  156    55        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_posts.php', REQUIRE_ONCE
  157    56        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_posts_page.php', REQUIRE_ONCE
  158    57        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_404.php', REQUIRE_ONCE
  159    58        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_archive.php', REQUIRE_ONCE
  160    59        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_category.php', REQUIRE_ONCE
  161    60        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_image.php', REQUIRE_ONCE
  162    61        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_search.php', REQUIRE_ONCE
  163    62        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_portfolio.php', REQUIRE_ONCE
  164    63        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_gallery.php', REQUIRE_ONCE
  165    64        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_bbp.php', REQUIRE_ONCE
  166    65        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_woo.php', REQUIRE_ONCE
  167    66        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_customstyles.php', REQUIRE_ONCE
  168    67        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_permissions.php', REQUIRE_ONCE
  169    68        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_categoryhack.php', REQUIRE_ONCE
  170    69        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_galleryhack.php', REQUIRE_ONCE
  171    70        INIT_FCALL                                               'pix_get_option'
         71        SEND_VAL                                                 'pix_allow_tweets'
         72        DO_FCALL                                      0  $63     
         73        IS_EQUAL                                                 $63, 'true'
         74      > JMPZ                                                     ~64, ->76
  172    75    >   INCLUDE_OR_EVAL                                          'functions%2Flib%2Fadmin%2Fpix_tweets.php', REQUIRE_ONCE
  174    76    >   INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_shortcodes.php', REQUIRE_ONCE
  175    77        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_sidebar-generator.php', REQUIRE_ONCE
  176    78        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_post-types.php', REQUIRE_ONCE
  177    79        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_tinymce-buttons.php', REQUIRE_ONCE
  178    80        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_widgets.php', REQUIRE_ONCE
  179    81        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fwordpress-importer%2Fwordpress-importer.php', REQUIRE_ONCE
  181    82        FETCH_CONSTANT                                   ~72     'ABSPATH'
         83        CONCAT                                           ~73     ~72, 'wp-content%2Fenfinity_includes%2Fincludes.php'
         84        ASSIGN                                                   !0, ~73
  182    85        INIT_FCALL                                               'file_exists'
         86        SEND_VAR                                                 !0
         87        DO_ICALL                                         $75     
         88      > JMPZ                                                     $75, ->90
  183    89    >   INCLUDE_OR_EVAL                                          !0, REQUIRE_ONCE
  188    90    >   BIND_GLOBAL                                              !1, 'woocommerce_en'
  189    91        FETCH_CONSTANT                                   ~77     'ABSPATH'
         92        CONCAT                                           ~78     ~77, 'wp-admin%2Fincludes%2Fplugin.php'
         93        INCLUDE_OR_EVAL                                          ~78, INCLUDE_ONCE
  190    94        INIT_FCALL_BY_NAME                                       'is_plugin_active'
         95        SEND_VAL_EX                                              'woocommerce%2Fwoocommerce.php'
         96        DO_FCALL                                      0  $80     
         97      > JMPZ                                                     $80, ->101
  191    98    >   ASSIGN                                                   !1, 'active'
  192    99        INCLUDE_OR_EVAL                                          'functions%2Flib%2Fpix_woocommerce.php', REQUIRE_ONCE
        100      > JMP                                                      ->102
  194   101    >   ASSIGN                                                   !1, 'inactive'
  198   102    >   BIND_GLOBAL                                              !2, 'bbpress_en'
  199   103        FETCH_CONSTANT                                   ~84     'ABSPATH'
        104        CONCAT                                           ~85     ~84, 'wp-admin%2Fincludes%2Fplugin.php'
        105        INCLUDE_OR_EVAL                                          ~85, INCLUDE_ONCE
  200   106        INIT_FCALL_BY_NAME                                       'is_plugin_active'
        107        SEND_VAL_EX                                              'bbpress%2Fbbpress.php'
        108        DO_FCALL                                      0  $87     
        109      > JMPZ                                                     $87, ->112
  201   110    >   ASSIGN                                                   !2, 'active'
        111      > JMP                                                      ->113
  203   112    >   ASSIGN                                                   !2, 'inactive'
  206   113    > > RETURN                                                   1

Function enfinity_sessions:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/b0gDR
function name:  enfinity_sessions
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'session_id'
          1        DO_ICALL                                         $0      
          2        BOOL_NOT                                         ~1      $0
          3      > JMPZ                                                     ~1, ->9
    4     4    >   INIT_FCALL                                               'session_start'
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'session_name'
          7        SEND_VAL                                                 'PHPSESSID'
          8        DO_ICALL                                                 
    7     9    > > RETURN                                                   null

End of function enfinity_sessions

Function pix_add_option:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 18
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 51
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
2 jumps found. (Code = 47) Position 1 = 34, Position 2 = 38
Branch analysis from position: 34
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 38
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 51
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 51
filename:       /in/b0gDR
function name:  pix_add_option
number of ops:  52
compiled vars:  !0 = $name, !1 = $value, !2 = $wpdb, !3 = $current_user, !4 = $display_name, !5 = $query, !6 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   15     2        BIND_GLOBAL                                              !2, 'wpdb'
          3        BIND_GLOBAL                                              !3, 'current_user'
          4        BIND_GLOBAL                                              !4, 'display_name'
   16     5        INIT_FCALL_BY_NAME                                       'get_currentuserinfo'
          6        DO_FCALL                                      0          
   17     7        INIT_FCALL_BY_NAME                                       'maybe_serialize'
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0  $8      
         10        ASSIGN                                                   !1, $8
   18    11        FETCH_OBJ_R                                      ~10     !3, 'display_name'
         12        IS_EQUAL                                                 ~10, 'pixtest'
         13      > JMPZ                                                     ~11, ->18
   19    14    >   FETCH_W                      global              $12     '_SESSION'
         15        ASSIGN_DIM                                               $12, !0
         16        OP_DATA                                                  !1
         17      > JMP                                                      ->51
   21    18    >   FETCH_OBJ_R                                      ~15     !2, 'prefix'
         19        CONCAT                                           ~16     ~15, 'enfinity'
         20        ASSIGN_OBJ                                               !2, 'enfinity'
         21        OP_DATA                                                  ~16
   22    22        ROPE_INIT                                     5  ~19     'SELECT+%2A+FROM+'
         23        FETCH_OBJ_R                                      ~17     !2, 'enfinity'
         24        ROPE_ADD                                      1  ~19     ~19, ~17
         25        ROPE_ADD                                      2  ~19     ~19, '+WHERE+name%3D%27'
         26        ROPE_ADD                                      3  ~19     ~19, !0
         27        ROPE_END                                      4  ~18     ~19, '%27+'
         28        ASSIGN                                                   !5, ~18
   23    29        INIT_FCALL_BY_NAME                                       'mysql_query'
         30        SEND_VAR_EX                                              !5
         31        DO_FCALL                                      0  $23     
         32        ASSIGN                                           ~24     !6, $23
         33      > JMPNZ_EX                                         ~24     ~24, ->38
         34    >   INIT_FCALL_BY_NAME                                       'mysql_error'
         35        DO_FCALL                                      0  $25     
         36      > EXIT                                                     $25
         37*       BOOL                                             ~24     <true>
   24    38    >   INIT_FCALL_BY_NAME                                       'mysql_num_rows'
         39        SEND_VAR_EX                                              !6
         40        DO_FCALL                                      0  $26     
         41        BOOL_NOT                                         ~27     $26
         42      > JMPZ                                                     ~27, ->51
   25    43    >   INIT_METHOD_CALL                                         !2, 'insert'
         44        CHECK_FUNC_ARG                                           
         45        FETCH_OBJ_FUNC_ARG                               $28     !2, 'enfinity'
         46        SEND_FUNC_ARG                                            $28
         47        INIT_ARRAY                                       ~29     !0, 'name'
         48        ADD_ARRAY_ELEMENT                                ~29     !1, 'value'
         49        SEND_VAL_EX                                              ~29
         50        DO_FCALL                                      0          
   28    51    > > RETURN                                                   null

End of function pix_add_option

Function pix_get_option:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 33
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
2 jumps found. (Code = 77) Position 1 = 44, Position 2 = 52
Branch analysis from position: 44
2 jumps found. (Code = 78) Position 1 = 45, Position 2 = 52
Branch analysis from position: 45
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
Branch analysis from position: 52
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 62
Branch analysis from position: 55
2 jumps found. (Code = 43) Position 1 = 65, Position 2 = 96
Branch analysis from position: 65
2 jumps found. (Code = 46) Position 1 = 68, Position 2 = 74
Branch analysis from position: 68
2 jumps found. (Code = 47) Position 1 = 71, Position 2 = 73
Branch analysis from position: 71
2 jumps found. (Code = 43) Position 1 = 75, Position 2 = 94
Branch analysis from position: 75
2 jumps found. (Code = 43) Position 1 = 78, Position 2 = 92
Branch analysis from position: 78
2 jumps found. (Code = 43) Position 1 = 82, Position 2 = 84
Branch analysis from position: 82
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 84
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 92
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 94
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 73
Branch analysis from position: 74
Branch analysis from position: 96
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 62
Branch analysis from position: 52
filename:       /in/b0gDR
function name:  pix_get_option
number of ops:  98
compiled vars:  !0 = $name, !1 = $wpdb, !2 = $current_user, !3 = $display_name, !4 = $blog_id, !5 = $row, !6 = $results, !7 = $result, !8 = $return
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     0  E >   RECV                                             !0      
   31     1        BIND_GLOBAL                                              !1, 'wpdb'
          2        BIND_GLOBAL                                              !2, 'current_user'
          3        BIND_GLOBAL                                              !3, 'display_name'
          4        BIND_GLOBAL                                              !4, 'blog_id'
   33     5        FETCH_OBJ_R                                      ~10     !1, 'prefix'
          6        CONCAT                                           ~11     ~10, 'enfinity'
          7        ASSIGN_OBJ                                               !1, 'enfinity'
          8        OP_DATA                                                  ~11
   34     9        INIT_METHOD_CALL                                         !1, 'get_row'
         10        ROPE_INIT                                     5  ~14     'SELECT+%2A+FROM+'
         11        FETCH_OBJ_R                                      ~12     !1, 'enfinity'
         12        ROPE_ADD                                      1  ~14     ~14, ~12
         13        ROPE_ADD                                      2  ~14     ~14, '+WHERE+name+%3D+%27'
         14        ROPE_ADD                                      3  ~14     ~14, !0
         15        ROPE_END                                      4  ~13     ~14, '%27'
         16        SEND_VAL_EX                                              ~13
         17        FETCH_CONSTANT                                   ~17     'ARRAY_A'
         18        SEND_VAL_EX                                              ~17
         19        DO_FCALL                                      0  $18     
         20        ASSIGN                                                   !5, $18
   36    21        FETCH_CONSTANT                                   ~20     'ABSPATH'
         22        FETCH_CONSTANT                                   ~21     'WPINC'
         23        CONCAT                                           ~22     ~20, ~21
         24        CONCAT                                           ~23     ~22, '%2Fpluggable.php'
         25        INCLUDE_OR_EVAL                                          ~23, REQUIRE
   37    26        INIT_FCALL_BY_NAME                                       'get_currentuserinfo'
         27        DO_FCALL                                      0          
   39    28        FETCH_DIM_R                                      ~26     !5, 'name'
         29        IS_EQUAL                                                 ~26, ''
         30      > JMPZ                                                     ~27, ->33
   40    31    > > RETURN                                                   <false>
         32*       JMP                                                      ->97
   42    33    >   INIT_METHOD_CALL                                         !1, 'get_results'
         34        ROPE_INIT                                     5  ~30     'SELECT+value+FROM+'
         35        FETCH_OBJ_R                                      ~28     !1, 'enfinity'
         36        ROPE_ADD                                      1  ~30     ~30, ~28
         37        ROPE_ADD                                      2  ~30     ~30, '+WHERE+name+%3D+%27'
         38        ROPE_ADD                                      3  ~30     ~30, !0
         39        ROPE_END                                      4  ~29     ~30, '%27'
         40        SEND_VAL_EX                                              ~29
         41        DO_FCALL                                      0  $33     
         42        ASSIGN                                                   !6, $33
   43    43      > FE_RESET_R                                       $35     !6, ->52
         44    > > FE_FETCH_R                                               $35, !7, ->52
   45    45    >   INIT_FCALL_BY_NAME                                       'maybe_unserialize'
         46        CHECK_FUNC_ARG                                           
         47        FETCH_OBJ_FUNC_ARG                               $36     !7, 'value'
         48        SEND_FUNC_ARG                                            $36
         49        DO_FCALL                                      0  $37     
         50        ASSIGN                                                   !8, $37
   43    51      > JMP                                                      ->44
         52    >   FE_FREE                                                  $35
   48    53        TYPE_CHECK                                   64          !8
         54      > JMPZ                                                     ~39, ->62
   49    55    >   INIT_FCALL                                               'stripslashes'
         56        INIT_FCALL                                               'html_entity_decode'
         57        SEND_VAR                                                 !8
         58        DO_ICALL                                         $40     
         59        SEND_VAR                                                 $40
         60        DO_ICALL                                         $41     
         61        ASSIGN                                                   !8, $41
   53    62    >   INIT_FCALL_BY_NAME                                       'is_user_logged_in'
         63        DO_FCALL                                      0  $43     
         64      > JMPZ                                                     $43, ->96
   54    65    >   FETCH_OBJ_R                                      ~44     !2, 'display_name'
         66        IS_EQUAL                                         ~45     ~44, 'pixtest'
         67      > JMPZ_EX                                          ~45     ~45, ->74
         68    >   ISSET_ISEMPTY_CV                                 ~46     !4
         69        BOOL_NOT                                         ~47     ~46
         70      > JMPNZ_EX                                         ~47     ~47, ->73
         71    >   IS_EQUAL                                         ~48     !4, 1
         72        BOOL                                             ~47     ~48
         73    >   BOOL                                             ~45     ~47
         74    > > JMPZ                                                     ~45, ->94
   55    75    >   FETCH_IS                                         ~49     '_SESSION'
         76        ISSET_ISEMPTY_DIM_OBJ                         0          ~49, !0
         77      > JMPZ                                                     ~50, ->92
   56    78    >   FETCH_R                      global              ~51     '_SESSION'
         79        FETCH_DIM_R                                      ~52     ~51, !0
         80        IS_EQUAL                                                 ~52, ''
         81      > JMPZ                                                     ~53, ->84
   57    82    > > RETURN                                                   !8
         83*       JMP                                                      ->91
   59    84    >   INIT_FCALL_BY_NAME                                       'maybe_unserialize'
         85        CHECK_FUNC_ARG                                           
         86        FETCH_FUNC_ARG               global              $54     '_SESSION'
         87        FETCH_DIM_FUNC_ARG                               $55     $54, !0
         88        SEND_FUNC_ARG                                            $55
         89        DO_FCALL                                      0  $56     
         90      > RETURN                                                   $56
         91*       JMP                                                      ->93
   62    92    > > RETURN                                                   !8
         93*       JMP                                                      ->95
   65    94    > > RETURN                                                   !8
         95*       JMP                                                      ->97
   68    96    > > RETURN                                                   !8
   73    97*     > RETURN                                                   null

End of function pix_get_option

Function pix_esc_option:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/b0gDR
function name:  pix_esc_option
number of ops:  12
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   75     0  E >   RECV                                             !0      
   76     1        TYPE_CHECK                                   64          !0
          2      > JMPZ                                                     ~1, ->10
   77     3    >   INIT_FCALL_BY_NAME                                       'esc_attr'
          4        INIT_FCALL                        

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.48 ms | 1431 KiB | 26 Q