3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ram = "ram"; // other code // avoid overwriting $ram if( !isset( $ram ) ) { list($ram,$almacenamiento, $marca )= array_values(["ram" => "2,3", "almacenamiento" => "16,32", "marca" => "Huawey,Samsung" ]); } else { list($ram2,$almacenamiento, $marca )= array_values(["ram" => "2,3", "almacenamiento" => "16,32", "marca" => "Huawey,Samsung" ]); } if (isset($ram)) echo $ram,"\n"; if (isset($ram2)) echo $ram2;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 15
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 32
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
Branch analysis from position: 29
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
Branch analysis from position: 29
filename:       /in/8XkVH
function name:  (null)
number of ops:  33
compiled vars:  !0 = $ram, !1 = $almacenamiento, !2 = $marca, !3 = $ram2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'ram'
    8     1        ISSET_ISEMPTY_CV                                 ~5      !0
          2        BOOL_NOT                                         ~6      ~5
          3      > JMPZ                                                     ~6, ->15
    9     4    >   INIT_FCALL                                               'array_values'
          5        SEND_VAL                                                 <array>
          6        DO_ICALL                                         $7      
          7        FETCH_LIST_R                                     $8      $7, 0
          8        ASSIGN                                                   !0, $8
          9        FETCH_LIST_R                                     $10     $7, 1
         10        ASSIGN                                                   !1, $10
         11        FETCH_LIST_R                                     $12     $7, 2
         12        ASSIGN                                                   !2, $12
         13        FREE                                                     $7
    8    14      > JMP                                                      ->25
   16    15    >   INIT_FCALL                                               'array_values'
         16        SEND_VAL                                                 <array>
         17        DO_ICALL                                         $14     
         18        FETCH_LIST_R                                     $15     $14, 0
         19        ASSIGN                                                   !3, $15
         20        FETCH_LIST_R                                     $17     $14, 1
         21        ASSIGN                                                   !1, $17
         22        FETCH_LIST_R                                     $19     $14, 2
         23        ASSIGN                                                   !2, $19
         24        FREE                                                     $14
   22    25    >   ISSET_ISEMPTY_CV                                         !0
         26      > JMPZ                                                     ~21, ->29
         27    >   ECHO                                                     !0
         28        ECHO                                                     '%0A'
   23    29    >   ISSET_ISEMPTY_CV                                         !3
         30      > JMPZ                                                     ~22, ->32
         31    >   ECHO                                                     !3
         32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.65 ms | 1001 KiB | 14 Q