3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = ["0909900","09877888","09877"]; if(is_array($myarray)){ echo "yes array"; $arr = implode(",",$myarray); echo $arr; }else{ echo "No array"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ntrsl
function name:  (null)
number of ops:  13
compiled vars:  !0 = $myarray, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    8     1        TYPE_CHECK                                  128          !0
          2      > JMPZ                                                     ~3, ->11
    9     3    >   ECHO                                                     'yes+array'
   11     4        INIT_FCALL                                               'implode'
          5        SEND_VAL                                                 '%2C'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
   13     9        ECHO                                                     !1
         10      > JMP                                                      ->12
   19    11    >   ECHO                                                     'No+array'
   20    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.36 ms | 1394 KiB | 15 Q