3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array('1/', '2/', '3/'); var_dump(array_map('trim', $array, '/'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2Eeo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_DYNAMIC_CALL                                        !0
          1        SEND_VAL_EX                                              '1%2F'
          2        SEND_VAL_EX                                              '2%2F'
          3        SEND_VAL_EX                                              '3%2F'
          4        DO_FCALL                                      0          
    4     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'array_map'
          7        SEND_VAL                                                 'trim'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 '%2F'
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.9 ms | 1394 KiB | 17 Q