3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* Handystore child functions. */ function child_theme_enqueue_styles() { wp_enqueue_style('parent-style', get_template_directory_uri().'/style.css'); wp_enqueue_style('parent-style-woo', get_template_directory_uri().'/woo-styles.css'); wp_enqueue_style('child-style', get_stylesheet_directory_uri().'/style.css'); } add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_styles' ); /*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/ // BEGIN ENQUEUE PARENT ACTION // AUTO GENERATED - Do not modify or remove comment markers above or below: // END ENQUEUE PARENT ACTION register_sidebar( array( 'name' => __( 'Special Wall Page Sidebar', 'plumtree' ), 'id' => 'wall-special-sidebar', 'description' => __( 'Located at the bottom of the page (appears only when using Front Page Template)', 'plumtree' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s col-xs-12 col-sm-6 col-md-3 lazyload" data-expand="-100" >', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title" itemprop="name">', 'after_title' => '</h3>', ) ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l8QTA
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL_BY_NAME                                       'add_action'
          1        SEND_VAL_EX                                              'wp_enqueue_scripts'
          2        SEND_VAL_EX                                              'child_theme_enqueue_styles'
          3        DO_FCALL                                      0          
   21     4        INIT_FCALL_BY_NAME                                       'register_sidebar'
   22     5        INIT_FCALL_BY_NAME                                       '__'
          6        SEND_VAL_EX                                              'Special+Wall+Page+Sidebar'
          7        SEND_VAL_EX                                              'plumtree'
          8        DO_FCALL                                      0  $1      
          9        INIT_ARRAY                                       ~2      $1, 'name'
   23    10        ADD_ARRAY_ELEMENT                                ~2      'wall-special-sidebar', 'id'
   24    11        INIT_FCALL_BY_NAME                                       '__'
         12        SEND_VAL_EX                                              'Located+at+the+bottom+of+the+page+%28appears+only+when+using+Front+Page+Template%29'
         13        SEND_VAL_EX                                              'plumtree'
         14        DO_FCALL                                      0  $3      
         15        ADD_ARRAY_ELEMENT                                ~2      $3, 'description'
   25    16        ADD_ARRAY_ELEMENT                                ~2      '%3Caside+id%3D%22%251%24s%22+class%3D%22widget+%252%24s+col-xs-12+col-sm-6+col-md-3+lazyload%22+data-expand%3D%22-100%22+%3E', 'before_widget'
   26    17        ADD_ARRAY_ELEMENT                                ~2      '%3C%2Faside%3E', 'after_widget'
   27    18        ADD_ARRAY_ELEMENT                                ~2      '%3Ch3+class%3D%22widget-title%22+itemprop%3D%22name%22%3E', 'before_title'
   28    19        ADD_ARRAY_ELEMENT                                ~2      '%3C%2Fh3%3E', 'after_title'
         20        SEND_VAL_EX                                              ~2
         21        DO_FCALL                                      0          
   30    22      > RETURN                                                   1

Function child_theme_enqueue_styles:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l8QTA
function name:  child_theme_enqueue_styles
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL_BY_NAME                                       'wp_enqueue_style'
          1        SEND_VAL_EX                                              'parent-style'
          2        INIT_FCALL_BY_NAME                                       'get_template_directory_uri'
          3        DO_FCALL                                      0  $0      
          4        CONCAT                                           ~1      $0, '%2Fstyle.css'
          5        SEND_VAL_EX                                              ~1
          6        DO_FCALL                                      0          
    6     7        INIT_FCALL_BY_NAME                                       'wp_enqueue_style'
          8        SEND_VAL_EX                                              'parent-style-woo'
          9        INIT_FCALL_BY_NAME                                       'get_template_directory_uri'
         10        DO_FCALL                                      0  $3      
         11        CONCAT                                           ~4      $3, '%2Fwoo-styles.css'
         12        SEND_VAL_EX                                              ~4
         13        DO_FCALL                                      0          
    7    14        INIT_FCALL_BY_NAME                                       'wp_enqueue_style'
         15        SEND_VAL_EX                                              'child-style'
         16        INIT_FCALL_BY_NAME                                       'get_stylesheet_directory_uri'
         17        DO_FCALL                                      0  $6      
         18        CONCAT                                           ~7      $6, '%2Fstyle.css'
         19        SEND_VAL_EX                                              ~7
         20        DO_FCALL                                      0          
    8    21      > RETURN                                                   null

End of function child_theme_enqueue_styles

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.42 ms | 1399 KiB | 13 Q