3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(round(152.77499999999998,2)); $newPrice = [ 'bagr' => 500, 'chleba' => 500, 'rizek' => 400 ]; $origPrice = [ 'bagr' => 500, 'chleba' => 400, 'rizek' => 500 ]; var_dump($newPrice < $origPrice);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K4RYF
function name:  (null)
number of ops:  14
compiled vars:  !0 = $newPrice, !1 = $origPrice
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'round'
          2        SEND_VAL                                                 152.775
          3        SEND_VAL                                                 2
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    5     7        ASSIGN                                                   !0, <array>
   10     8        ASSIGN                                                   !1, <array>
   15     9        INIT_FCALL                                               'var_dump'
         10        IS_SMALLER                                       ~6      !0, !1
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.71 ms | 1394 KiB | 17 Q