3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s=<<<EOD bj-11_2008-06_2015(F01,F02,F03,F04) bj-11_2008-06_2015(F01) bj-11_2008-06_2015(01) bj-11_2008-06_2015(3B) bj-11_2008-06_2015 bj-11_2008 EOD; $trans = [ 'bj-' => '', '_' => '|', '-' => ' - ', '(' => ' (', ',' => ';' ]; echo strtr($s, $trans);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kaMqQ
function name:  (null)
number of ops:  8
compiled vars:  !0 = $s, !1 = $trans
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'bj-11_2008-06_2015%28F01%2CF02%2CF03%2CF04%29%0Abj-11_2008-06_2015%28F01%29%0Abj-11_2008-06_2015%2801%29%0Abj-11_2008-06_2015%283B%29%0Abj-11_2008-06_2015%0Abj-11_2008'
   11     1        ASSIGN                                                   !1, <array>
   13     2        INIT_FCALL                                               'strtr'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.45 ms | 1404 KiB | 15 Q