3v4l.org

run code in 300+ PHP versions simultaneously
<?php $A = "µPhysik I~1µ"; $Ar = explode("µµ", trim(substr($A, 1, -1))); print_r($Ar); $A = count($Ar) > 0 ? "µ".implode("µµ", $Ar)."µ" : ""; print_r($A); $Ar = explode("µµ", substr($A, 1, -1)); print_r($Ar); print_r(explode("~", $Ar[0]));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 28
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6MLBC
function name:  (null)
number of ops:  55
compiled vars:  !0 = $A, !1 = $Ar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%C2%B5Physik+I%7E1%C2%B5'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%C2%B5%C2%B5'
          3        INIT_FCALL                                               'trim'
          4        INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 1
          7        SEND_VAL                                                 -1
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                         $5      
         13        ASSIGN                                                   !1, $5
    4    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
    5    17        COUNT                                            ~8      !1
         18        IS_SMALLER                                               0, ~8
         19      > JMPZ                                                     ~9, ->28
         20    >   INIT_FCALL                                               'implode'
         21        SEND_VAL                                                 '%C2%B5%C2%B5'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $10     
         24        CONCAT                                           ~11     '%C2%B5', $10
         25        CONCAT                                           ~12     ~11, '%C2%B5'
         26        QM_ASSIGN                                        ~13     ~12
         27      > JMP                                                      ->29
         28    >   QM_ASSIGN                                        ~13     ''
         29    >   ASSIGN                                                   !0, ~13
    6    30        INIT_FCALL                                               'print_r'
         31        SEND_VAR                                                 !0
         32        DO_ICALL                                                 
    7    33        INIT_FCALL                                               'explode'
         34        SEND_VAL                                                 '%C2%B5%C2%B5'
         35        INIT_FCALL                                               'substr'
         36        SEND_VAR                                                 !0
         37        SEND_VAL                                                 1
         38        SEND_VAL                                                 -1
         39        DO_ICALL                                         $16     
         40        SEND_VAR                                                 $16
         41        DO_ICALL                                         $17     
         42        ASSIGN                                                   !1, $17
    8    43        INIT_FCALL                                               'print_r'
         44        SEND_VAR                                                 !1
         45        DO_ICALL                                                 
    9    46        INIT_FCALL                                               'print_r'
         47        INIT_FCALL                                               'explode'
         48        SEND_VAL                                                 '%7E'
         49        FETCH_DIM_R                                      ~20     !1, 0
         50        SEND_VAL                                                 ~20
         51        DO_ICALL                                         $21     
         52        SEND_VAR                                                 $21
         53        DO_ICALL                                                 
         54      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.39 ms | 1404 KiB | 23 Q