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[] = 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/CLEDG
function name:  (null)
number of ops:  21
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        ASSIGN_DIM                                               !0
          4        OP_DATA                                                  $3
   17     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
   19     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'array_search'
         10        SEND_VAL                                                 'Patient+education'
         11        INIT_FCALL                                               'array_column'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 'name'
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                         $7      
         17        TYPE_CHECK                                    4  ~8      $7
         18        SEND_VAL                                                 ~8
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Class WP_Term: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.06 ms | 1395 KiB | 19 Q