3v4l.org

run code in 300+ PHP versions simultaneously
<?php function prepareForSearch(array $strings) { return trim(html_entity_decode(strip_tags($params['name'] . ' ' . $params['lead'] . ' ' . $params['content']))); } echo prepareForSearch(array('&copy;'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ETvIo
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'prepareforsearch'
          1        SEND_VAL                                                 <array>
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function prepareforsearch:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ETvIo
function name:  prepareForSearch
number of ops:  19
compiled vars:  !0 = $strings, !1 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'trim'
          2        INIT_FCALL                                               'html_entity_decode'
          3        INIT_FCALL                                               'strip_tags'
          4        FETCH_DIM_R                                      ~2      !1, 'name'
          5        CONCAT                                           ~3      ~2, '+'
          6        FETCH_DIM_R                                      ~4      !1, 'lead'
          7        CONCAT                                           ~5      ~3, ~4
          8        CONCAT                                           ~6      ~5, '+'
          9        FETCH_DIM_R                                      ~7      !1, 'content'
         10        CONCAT                                           ~8      ~6, ~7
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                         $9      
         13        SEND_VAR                                                 $9
         14        DO_ICALL                                         $10     
         15        SEND_VAR                                                 $10
         16        DO_ICALL                                         $11     
         17      > RETURN                                                   $11
    4    18*     > RETURN                                                   null

End of function prepareforsearch

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.05 ms | 1398 KiB | 20 Q