3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cs = null; $company = 'Orion Pharma AB'; $_t = explode(' ',$company); $company = array_shift($_t); $company = !empty($cs) ? $cs : $company; var_dump($company); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IffTG
function name:  (null)
number of ops:  22
compiled vars:  !0 = $cs, !1 = $company, !2 = $_t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        ASSIGN                                                   !1, 'Orion+Pharma+AB'
    4     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '+'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    5     7        INIT_FCALL                                               'array_shift'
          8        SEND_REF                                                 !2
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !1, $7
    6    11        ISSET_ISEMPTY_CV                                 ~9      !0
         12        BOOL_NOT                                         ~10     ~9
         13      > JMPZ                                                     ~10, ->16
         14    >   QM_ASSIGN                                        ~11     !0
         15      > JMP                                                      ->17
         16    >   QM_ASSIGN                                        ~11     !1
         17    >   ASSIGN                                                   !1, ~11
    7    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
    8    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.93 ms | 1395 KiB | 19 Q