3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = [ 'email' => 'email', 'uuid' => 'uuid', 'format' => 'format', 'adress' => 'adress', 'lastname' => 'lastname', 'firstname' => 'firstname', ]; $users[] = array( 'ckey' => strlen(trim($tmp['uuid'])) ? $tmp['uuid'] : 'test', 'language' => isset($tmp['language'])? trim($tmp['language']) : 'de', 'newsletter_format' => isset($tmp['format'])? trim(strtolower($tmp['format'])) : 'html', 'adress' => isset($tmp['adress'])? trim($tmp['adress']) : '', 'last_name' => isset($tmp['lastname'])? trim($tmp['lastname']) : '', 'first_name' => isset($tmp['firstname'])? trim($tmp['firstname']) : '', 'email' => trim($tmp['email']), 'mobile' => '0', ); var_dump($users);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 20
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 33
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 43
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 53
Branch analysis from position: 47
1 jumps found. (Code = 42) Position 1 = 54
Branch analysis from position: 54
2 jumps found. (Code = 43) Position 1 = 57, Position 2 = 63
Branch analysis from position: 57
1 jumps found. (Code = 42) Position 1 = 64
Branch analysis from position: 64
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 63
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 53
2 jumps found. (Code = 43) Position 1 = 57, Position 2 = 63
Branch analysis from position: 57
Branch analysis from position: 63
Branch analysis from position: 43
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 53
Branch analysis from position: 47
Branch analysis from position: 53
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 43
Branch analysis from position: 37
Branch analysis from position: 43
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 33
Branch analysis from position: 24
Branch analysis from position: 33
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 20
Branch analysis from position: 14
Branch analysis from position: 20
filename:       /in/T4tuV
function name:  (null)
number of ops:  77
compiled vars:  !0 = $tmp, !1 = $users
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   14     1        INIT_FCALL                                               'trim'
          2        FETCH_DIM_R                                      ~4      !0, 'uuid'
          3        SEND_VAL                                                 ~4
          4        DO_ICALL                                         $5      
          5        STRLEN                                           ~6      $5
          6      > JMPZ                                                     ~6, ->10
          7    >   FETCH_DIM_R                                      ~7      !0, 'uuid'
          8        QM_ASSIGN                                        ~8      ~7
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~8      'test'
         11    >   INIT_ARRAY                                       ~9      ~8, 'ckey'
   15    12        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'language'
         13      > JMPZ                                                     ~10, ->20
         14    >   INIT_FCALL                                               'trim'
         15        FETCH_DIM_R                                      ~11     !0, 'language'
         16        SEND_VAL                                                 ~11
         17        DO_ICALL                                         $12     
         18        QM_ASSIGN                                        ~13     $12
         19      > JMP                                                      ->21
         20    >   QM_ASSIGN                                        ~13     'de'
         21    >   ADD_ARRAY_ELEMENT                                ~9      ~13, 'language'
   16    22        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'format'
         23      > JMPZ                                                     ~14, ->33
         24    >   INIT_FCALL                                               'trim'
         25        INIT_FCALL                                               'strtolower'
         26        FETCH_DIM_R                                      ~15     !0, 'format'
         27        SEND_VAL                                                 ~15
         28        DO_ICALL                                         $16     
         29        SEND_VAR                                                 $16
         30        DO_ICALL                                         $17     
         31        QM_ASSIGN                                        ~18     $17
         32      > JMP                                                      ->34
         33    >   QM_ASSIGN                                        ~18     'html'
         34    >   ADD_ARRAY_ELEMENT                                ~9      ~18, 'newsletter_format'
   17    35        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'adress'
         36      > JMPZ                                                     ~19, ->43
         37    >   INIT_FCALL                                               'trim'
         38        FETCH_DIM_R                                      ~20     !0, 'adress'
         39        SEND_VAL                                                 ~20
         40        DO_ICALL                                         $21     
         41        QM_ASSIGN                                        ~22     $21
         42      > JMP                                                      ->44
         43    >   QM_ASSIGN                                        ~22     ''
         44    >   ADD_ARRAY_ELEMENT                                ~9      ~22, 'adress'
   18    45        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'lastname'
         46      > JMPZ                                                     ~23, ->53
         47    >   INIT_FCALL                                               'trim'
         48        FETCH_DIM_R                                      ~24     !0, 'lastname'
         49        SEND_VAL                                                 ~24
         50        DO_ICALL                                         $25     
         51        QM_ASSIGN                                        ~26     $25
         52      > JMP                                                      ->54
         53    >   QM_ASSIGN                                        ~26     ''
         54    >   ADD_ARRAY_ELEMENT                                ~9      ~26, 'last_name'
   19    55        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'firstname'
         56      > JMPZ                                                     ~27, ->63
         57    >   INIT_FCALL                                               'trim'
         58        FETCH_DIM_R                                      ~28     !0, 'firstname'
         59        SEND_VAL                                                 ~28
         60        DO_ICALL                                         $29     
         61        QM_ASSIGN                                        ~30     $29
         62      > JMP                                                      ->64
         63    >   QM_ASSIGN                                        ~30     ''
         64    >   ADD_ARRAY_ELEMENT                                ~9      ~30, 'first_name'
   20    65        INIT_FCALL                                               'trim'
         66        FETCH_DIM_R                                      ~31     !0, 'email'
         67        SEND_VAL                                                 ~31
         68        DO_ICALL                                         $32     
         69        ADD_ARRAY_ELEMENT                                ~9      $32, 'email'
   21    70        ADD_ARRAY_ELEMENT                                ~9      '0', 'mobile'
   13    71        ASSIGN_DIM                                               !1
   21    72        OP_DATA                                                  ~9
   25    73        INIT_FCALL                                               'var_dump'
         74        SEND_VAR                                                 !1
         75        DO_ICALL                                                 
         76      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.96 ms | 1404 KiB | 19 Q