3v4l.org

run code in 500+ PHP versions simultaneously
<?php $v = 190*1.15; print("\$v = $v (190*1.15)\n"); print("round(\$v) = ".round($v)."\n"); print("round(218.5) = ".round(218.5)."\n");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UMTPf
function name:  (null)
number of ops:  18
compiled vars:  !0 = $v
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 218.5
    4     1        ROPE_INIT                                         3  ~3      '%24v+%3D+'
          2        ROPE_ADD                                          1  ~3      ~3, !0
          3        ROPE_END                                          2  ~2      ~3, '+%28190%2A1.15%29%0A'
          4        ECHO                                                         ~2
    5     5        INIT_FCALL                                                   'round'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $5      
          8        CONCAT                                               ~6      'round%28%24v%29+%3D+', $5
          9        CONCAT                                               ~7      ~6, '%0A'
         10        ECHO                                                         ~7
    6    11        INIT_FCALL                                                   'round'
         12        SEND_VAL                                                     218.5
         13        DO_ICALL                                             $8      
         14        CONCAT                                               ~9      'round%28218.5%29+%3D+', $8
         15        CONCAT                                               ~10     ~9, '%0A'
         16        ECHO                                                         ~10
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
128.16 ms | 488 KiB | 10 Q