3v4l.org

run code in 300+ PHP versions simultaneously
<?php $customPrice = [ 'x' => 'y' ]; if (! empty($customPrice) && is_numeric($customPrice['min'])) { echo 'oi'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 9
filename:       /in/dJ5bn
function name:  (null)
number of ops:  12
compiled vars:  !0 = $customPrice
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ISSET_ISEMPTY_CV                                 ~2      !0
          2        BOOL_NOT                                         ~3      ~2
          3      > JMPZ_EX                                          ~3      ~3, ->9
          4    >   INIT_FCALL                                               'is_numeric'
          5        FETCH_DIM_R                                      ~4      !0, 'min'
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
          8        BOOL                                             ~3      $5
          9    > > JMPZ                                                     ~3, ->11
    8    10    >   ECHO                                                     'oi'
    9    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.02 ms | 1394 KiB | 15 Q