3v4l.org

run code in 300+ PHP versions simultaneously
<?php $A = ""; $Ar = explode("µµ", substr($A, 2, -2)); print_r($Ar); $A = count($Ar) > 0 ? "µ".implode("µµ", $Ar)."µ" : ""; print_r($A); $Ar = explode("µµ", substr($A, 2, -2)); print_r($Ar); print_r(explode("~", $Ar[0])); $A = count($Arrr) > 0 ? "µ".implode("µµ", $Arrr)."µ" : ""; print_r($A);
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
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 62
Branch analysis from position: 54
1 jumps found. (Code = 42) Position 1 = 63
Branch analysis from position: 63
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 62
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 62
Branch analysis from position: 54
Branch analysis from position: 62
filename:       /in/NAseO
function name:  (null)
number of ops:  68
compiled vars:  !0 = $A, !1 = $Ar, !2 = $Arrr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%C2%B5%C2%B5'
          3        INIT_FCALL                                               'substr'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 2
          6        SEND_VAL                                                 -2
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    4    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    5    14        COUNT                                            ~8      !1
         15        IS_SMALLER                                               0, ~8
         16      > JMPZ                                                     ~9, ->25
         17    >   INIT_FCALL                                               'implode'
         18        SEND_VAL                                                 '%C2%B5%C2%B5'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                         $10     
         21        CONCAT                                           ~11     '%C2%B5', $10
         22        CONCAT                                           ~12     ~11, '%C2%B5'
         23        QM_ASSIGN                                        ~13     ~12
         24      > JMP                                                      ->26
         25    >   QM_ASSIGN                                        ~13     ''
         26    >   ASSIGN                                                   !0, ~13
    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                                                 2
         35        SEND_VAL                                                 -2
         36        DO_ICALL                                         $16     
         37        SEND_VAR                                                 $16
         38        DO_ICALL                                         $17     
         39        ASSIGN                                                   !1, $17
    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                                      ~20     !1, 0
         47        SEND_VAL                                                 ~20
         48        DO_ICALL                                         $21     
         49        SEND_VAR                                                 $21
         50        DO_ICALL                                                 
   10    51        COUNT                                            ~23     !2
         52        IS_SMALLER                                               0, ~23
         53      > JMPZ                                                     ~24, ->62
         54    >   INIT_FCALL                                               'implode'
         55        SEND_VAL                                                 '%C2%B5%C2%B5'
         56        SEND_VAR                                                 !2
         57        DO_ICALL                                         $25     
         58        CONCAT                                           ~26     '%C2%B5', $25
         59        CONCAT                                           ~27     ~26, '%C2%B5'
         60        QM_ASSIGN                                        ~28     ~27
         61      > JMP                                                      ->63
         62    >   QM_ASSIGN                                        ~28     ''
         63    >   ASSIGN                                                   !0, ~28
   11    64        INIT_FCALL                                               'print_r'
         65        SEND_VAR                                                 !0
         66        DO_ICALL                                                 
         67      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.22 ms | 1400 KiB | 21 Q