3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.14 ms | 1392 KiB | 21 Q