3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 5; $n = 112; echo (ceil($n / 10) * 10 - 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2Ialr
function name:  (null)
number of ops:  10
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, 10
          4        SEND_VAL                                                 ~4
          5        DO_ICALL                                         $5      
          6        MUL                                              ~6      $5, 10
          7        SUB                                              ~7      ~6, 1
          8        ECHO                                                     ~7
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.22 ms | 1394 KiB | 15 Q