3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (is_shop()) { $message = $product->get_price_html(); $price .= ' pre-order'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/JqjYL
function name:  (null)
number of ops:  8
compiled vars:  !0 = $message, !1 = $product, !2 = $price
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'is_shop'
          1        DO_FCALL                                      0  $3      
          2      > JMPZ                                                     $3, ->7
    3     3    >   INIT_METHOD_CALL                                         !1, 'get_price_html'
          4        DO_FCALL                                      0  $4      
          5        ASSIGN                                                   !0, $4
    4     6        ASSIGN_OP                                     8          !2, '+pre-order'
    5     7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.37 ms | 1392 KiB | 13 Q