3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WP_Term { public $term_id = 826; public $name = 'Patient education'; public $slug = 'patient-education'; public $term_group = 0; public $term_taxonomy_id = 826; public $taxonomy = 'product_category'; public $description = ''; public $parent = 0; public $count = 3; public $filter = 'raw'; } $array = array(); $array[] = (array)new Wp_Term(); var_dump($array); var_dump(array_search('Patient education', array_column($array, 'name')) === false);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/glLQb
function name:  (null)
number of ops:  22
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   ASSIGN                                                   !0, <array>
   16     1        NEW                                              $3      'Wp_Term'
          2        DO_FCALL                                      0          
          3        CAST                                          7  ~5      $3
          4        ASSIGN_DIM                                               !0
          5        OP_DATA                                                  ~5
   17     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
   19     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'array_search'
         11        SEND_VAL                                                 'Patient+education'
         12        INIT_FCALL                                               'array_column'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 'name'
         15        DO_ICALL                                         $7      
         16        SEND_VAR                                                 $7
         17        DO_ICALL                                         $8      
         18        TYPE_CHECK                                    4  ~9      $8
         19        SEND_VAL                                                 ~9
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Class WP_Term: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.19 ms | 1395 KiB | 19 Q