3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "1,2,3,4,7,8,9,10,11,12,13,14,15"; if (preg_match('/6/',$a)==false) echo 'false'; $arrayzns=explode(",",$a); print_r($arrayzns); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/NF1rE
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $arrayzns
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1%2C2%2C3%2C4%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F6%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        BOOL_NOT                                         ~4      $3
          6      > JMPZ                                                     ~4, ->8
    4     7    >   ECHO                                                     'false'
    5     8    >   INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%2C'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !1, $5
    6    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
    7    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.21 ms | 1399 KiB | 19 Q