3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exception = ['will not'=>'will&nbs;pnot']; $string = 'I will not go'; $string = strtr($string, $exception); $array = explode(' ', $string); $array = array_combine(array_value($array), array_value($array)); var_dump($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ODgpB
function name:  (null)
number of ops:  27
compiled vars:  !0 = $exception, !1 = $string, !2 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 'I+will+not+go'
    5     2        INIT_FCALL                                               'strtr'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !1, $5
    6     7        INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '+'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    7    12        INIT_FCALL                                               'array_combine'
         13        INIT_FCALL_BY_NAME                                       'array_value'
         14        SEND_VAR_EX                                              !2
         15        DO_FCALL                                      0  $9      
         16        SEND_VAR                                                 $9
         17        INIT_FCALL_BY_NAME                                       'array_value'
         18        SEND_VAR_EX                                              !2
         19        DO_FCALL                                      0  $10     
         20        SEND_VAR                                                 $10
         21        DO_ICALL                                         $11     
         22        ASSIGN                                                   !2, $11
    8    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAR                                                 !2
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.46 ms | 1400 KiB | 21 Q