3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Ślub|dekoracje ślubne, dekoracje kościoła'; $explode = explode('|', $str, 2); if ($explode.lenght <= 1) { print_r('dupa'); } else { print_r($explode); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZQ4ch
function name:  (null)
number of ops:  19
compiled vars:  !0 = $str, !1 = $explode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%C5%9Alub%7Cdekoracje+%C5%9Blubne%2C+dekoracje+ko%C5%9Bcio%C5%82a'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%7C'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    4     7        FETCH_CONSTANT                                   ~5      'lenght'
          8        CONCAT                                           ~6      !1, ~5
          9        IS_SMALLER_OR_EQUAL                                      ~6, 1
         10      > JMPZ                                                     ~7, ->15
    5    11    >   INIT_FCALL                                               'print_r'
         12        SEND_VAL                                                 'dupa'
         13        DO_ICALL                                                 
         14      > JMP                                                      ->18
    7    15    >   INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
   10    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.17 ms | 1395 KiB | 17 Q