3v4l.org

run code in 300+ PHP versions simultaneously
<?php //todo: ceny bez tarifu $tariff_price = $product->getPriceByRelevantPriceSet(); $store_price = $product->getStorePriceByRelevantPriceSet(); $discount = $product->getProductDiscount(); var_dump($discount); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9iMbm
function name:  (null)
number of ops:  13
compiled vars:  !0 = $tariff_price, !1 = $product, !2 = $store_price, !3 = $discount
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_METHOD_CALL                                         !1, 'getPriceByRelevantPriceSet'
          1        DO_FCALL                                      0  $4      
          2        ASSIGN                                                   !0, $4
    4     3        INIT_METHOD_CALL                                         !1, 'getStorePriceByRelevantPriceSet'
          4        DO_FCALL                                      0  $6      
          5        ASSIGN                                                   !2, $6
    5     6        INIT_METHOD_CALL                                         !1, 'getProductDiscount'
          7        DO_FCALL                                      0  $8      
          8        ASSIGN                                                   !3, $8
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
    8    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.89 ms | 1394 KiB | 15 Q