3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = [ 'description' => 'Domain name available', ]; $y = isset($x['description']) && strpos($x['description'], 'Domain name available') !== false; var_dump($y);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/9lBr9
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      !0, 'description'
          2      > JMPZ_EX                                          ~3      ~3, ->10
    8     3    >   INIT_FCALL                                               'strpos'
          4        FETCH_DIM_R                                      ~4      !0, 'description'
          5        SEND_VAL                                                 ~4
          6        SEND_VAL                                                 'Domain+name+available'
          7        DO_ICALL                                         $5      
          8        TYPE_CHECK                                  1018  ~6      $5
          9        BOOL                                             ~3      ~6
    7    10    >   ASSIGN                                                   !1, ~3
   10    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.68 ms | 1398 KiB | 18 Q