3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 5; $n = 112; echo (ceil($n / 100 * 0.08) * 10 - 1) * 100;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bIcuF
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x, !1 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        ASSIGN                                                   !1, 112
    4     2        INIT_FCALL                                               'ceil'
          3        DIV                                              ~4      !1, 100
          4        MUL                                              ~5      ~4, 0.08
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                         $6      
          7        MUL                                              ~7      $6, 10
          8        SUB                                              ~8      ~7, 1
          9        MUL                                              ~9      ~8, 100
         10        ECHO                                                     ~9
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.42 ms | 1394 KiB | 15 Q