3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prix = "55.00"; $prix2 = "55.01"; echo round($prix, 2); echo "<br />".round($prix2, 2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3ekrN
function name:  (null)
number of ops:  14
compiled vars:  !0 = $prix, !1 = $prix2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '55.00'
    4     1        ASSIGN                                                   !1, '55.01'
    5     2        INIT_FCALL                                               'round'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
    6     7        INIT_FCALL                                               'round'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 2
         10        DO_ICALL                                         $5      
         11        CONCAT                                           ~6      '%3Cbr+%2F%3E', $5
         12        ECHO                                                     ~6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.47 ms | 1394 KiB | 15 Q