3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.9 ms | 1394 KiB | 15 Q