3v4l.org

run code in 300+ PHP versions simultaneously
<?php $new_post = array( 'post_title' => $post_title, 'post_content' => $post_content, 'post_status' => 'pending', 'post_author' => $user_ID, 'post_type' => 'post', 'tags_input' => $keywords, 'post_category' => array('3'), //'tax_input' => array( 'helpful-articles' => $term_id ) //'tax_input' => 'helpful-articles', //'post_category' => array(0) ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/boUcg
function name:  (null)
number of ops:  9
compiled vars:  !0 = $new_post, !1 = $post_title, !2 = $post_content, !3 = $user_ID, !4 = $keywords
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_ARRAY                                       ~5      !1, 'post_title'
    3     1        ADD_ARRAY_ELEMENT                                ~5      !2, 'post_content'
    4     2        ADD_ARRAY_ELEMENT                                ~5      'pending', 'post_status'
    6     3        ADD_ARRAY_ELEMENT                                ~5      !3, 'post_author'
    7     4        ADD_ARRAY_ELEMENT                                ~5      'post', 'post_type'
    8     5        ADD_ARRAY_ELEMENT                                ~5      !4, 'tags_input'
    2     6        ADD_ARRAY_ELEMENT                                ~5      <array>, 'post_category'
    1     7        ASSIGN                                                   !0, ~5
   16     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.9 ms | 1393 KiB | 13 Q