3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = [ '<b>text</b>' ]; var_dump(array_map(strip_tags(...), $a)); var_dump(array_map(function(...$args) { return strip_tags(...$args); }, $a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cra8s
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    7     1        INIT_FCALL                                                   'var_dump'
          2        INIT_FCALL                                                   'array_map'
          3        INIT_FCALL                                                   'strip_tags'
          4        CALLABLE_CONVERT                                     ~2      
          5        SEND_VAL                                                     ~2
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $3      
          8        SEND_VAR                                                     $3
          9        DO_ICALL                                                     
    9    10        INIT_FCALL                                                   'var_dump'
         11        INIT_FCALL                                                   'array_map'
         12        DECLARE_LAMBDA_FUNCTION                              ~5      [0]
   11    13        SEND_VAL                                                     ~5
         14        SEND_VAR                                                     !0
    9    15        DO_ICALL                                             $6      
   11    16        SEND_VAR                                                     $6
    9    17        DO_ICALL                                                     
   11    18      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cra8s
function name:  {closure:/in/cra8s:9}
number of ops:  7
compiled vars:  !0 = $args
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   RECV_VARIADIC                                        !0      
   10     1        INIT_FCALL                                                   'strip_tags'
          2        SEND_UNPACK                                                  !0
          3        CHECK_UNDEF_ARGS                                             
          4        DO_ICALL                                             $1      
          5      > RETURN                                                       $1
   11     6*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.25 ms | 3350 KiB | 15 Q