3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.03 ms | 1405 KiB | 21 Q