3v4l.org

run code in 300+ PHP versions simultaneously
<?php $compassStatoCivileMap = [ null => 0, "" => 0, "Celibe/Nubile" => 7, "Coniugato/a in Comunione Beni" => 1, "Coniugato/a Separazione Beni" => 1, "Convivente" => 4, "Divorziato/a" => 5, "Informazione Mancante" => 9, "Separato/a" => 6, "Vedovo/a" => 8, ]; if (!array_key_exists(null, $this->compassStatoCivileMap)) { throw new \InvalidArgumentException("Stato civile [{$data['stato_civile']}] is not allowed"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nlDfj
function name:  (null)
number of ops:  15
compiled vars:  !0 = $compassStatoCivileMap, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   16     1        FETCH_THIS                                       $3      
          2        FETCH_OBJ_R                                      ~4      $3, 'compassStatoCivileMap'
          3        ARRAY_KEY_EXISTS                                 ~5      null, ~4
          4        BOOL_NOT                                         ~6      ~5
          5      > JMPZ                                                     ~6, ->14
   17     6    >   NEW                                              $7      'InvalidArgumentException'
          7        ROPE_INIT                                     3  ~10     'Stato+civile+%5B'
          8        FETCH_DIM_R                                      ~8      !1, 'stato_civile'
          9        ROPE_ADD                                      1  ~10     ~10, ~8
         10        ROPE_END                                      2  ~9      ~10, '%5D+is+not+allowed'
         11        SEND_VAL_EX                                              ~9
         12        DO_FCALL                                      0          
         13      > THROW                                         0          $7
   18    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.8 ms | 1393 KiB | 13 Q