3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getFullColumnList() { $x=array("aaa_type", "sss"); return preg_grep("/a/",$x); } $a=getFullColumnList(); echo ($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7kPVc
function name:  (null)
number of ops:  5
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'getfullcolumnlist'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
    9     3        ECHO                                                     !0
          4      > RETURN                                                   1

Function getfullcolumnlist:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7kPVc
function name:  getFullColumnList
number of ops:  7
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'preg_grep'
          2        SEND_VAL                                                 '%2Fa%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5      > RETURN                                                   $2
    6     6*     > RETURN                                                   null

End of function getfullcolumnlist

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.3 ms | 1397 KiB | 16 Q